Format generated code.

This commit is contained in:
Jeffrey Regan
2019-05-21 11:35:41 -07:00
parent 812ae77257
commit 9b6f8f0c74
8 changed files with 9 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ type AnnotationsTransformerPlugin struct {
}
func NewAnnotationsTransformerPlugin() *AnnotationsTransformerPlugin {
return &AnnotationsTransformerPlugin{}
return &AnnotationsTransformerPlugin{}
}
func (p *AnnotationsTransformerPlugin) Config(

View File

@@ -16,7 +16,7 @@ type ConfigMapGeneratorPlugin struct {
}
func NewConfigMapGeneratorPlugin() *ConfigMapGeneratorPlugin {
return &ConfigMapGeneratorPlugin{}
return &ConfigMapGeneratorPlugin{}
}
func (p *ConfigMapGeneratorPlugin) Config(

View File

@@ -18,7 +18,7 @@ type ImageTagTransformerPlugin struct {
}
func NewImageTagTransformerPlugin() *ImageTagTransformerPlugin {
return &ImageTagTransformerPlugin{}
return &ImageTagTransformerPlugin{}
}
func (p *ImageTagTransformerPlugin) Config(

View File

@@ -16,7 +16,7 @@ type LabelTransformerPlugin struct {
}
func NewLabelTransformerPlugin() *LabelTransformerPlugin {
return &LabelTransformerPlugin{}
return &LabelTransformerPlugin{}
}
func (p *LabelTransformerPlugin) Config(

View File

@@ -17,7 +17,7 @@ type NameTransformerPlugin struct {
}
func NewNameTransformerPlugin() *NameTransformerPlugin {
return &NameTransformerPlugin{}
return &NameTransformerPlugin{}
}
func (p *NameTransformerPlugin) Config(

View File

@@ -15,7 +15,7 @@ type PatchJson6902TransformerPlugin struct {
}
func NewPatchJson6902TransformerPlugin() *PatchJson6902TransformerPlugin {
return &PatchJson6902TransformerPlugin{}
return &PatchJson6902TransformerPlugin{}
}
func (p *PatchJson6902TransformerPlugin) Config(

View File

@@ -16,7 +16,7 @@ type SecretGeneratorPlugin struct {
}
func NewSecretGeneratorPlugin() *SecretGeneratorPlugin {
return &SecretGeneratorPlugin{}
return &SecretGeneratorPlugin{}
}
func (p *SecretGeneratorPlugin) Config(

View File

@@ -31,6 +31,8 @@ pushd $dir >& /dev/null
GOPATH=$myGoPath go generate \
sigs.k8s.io/kustomize/plugin/builtin/...
GOPATH=$myGoPath go fmt \
sigs.k8s.io/kustomize/plugin/builtin
popd >& /dev/null