mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Format generated code.
This commit is contained in:
@@ -16,7 +16,7 @@ type AnnotationsTransformerPlugin struct {
|
||||
}
|
||||
|
||||
func NewAnnotationsTransformerPlugin() *AnnotationsTransformerPlugin {
|
||||
return &AnnotationsTransformerPlugin{}
|
||||
return &AnnotationsTransformerPlugin{}
|
||||
}
|
||||
|
||||
func (p *AnnotationsTransformerPlugin) Config(
|
||||
|
||||
@@ -16,7 +16,7 @@ type ConfigMapGeneratorPlugin struct {
|
||||
}
|
||||
|
||||
func NewConfigMapGeneratorPlugin() *ConfigMapGeneratorPlugin {
|
||||
return &ConfigMapGeneratorPlugin{}
|
||||
return &ConfigMapGeneratorPlugin{}
|
||||
}
|
||||
|
||||
func (p *ConfigMapGeneratorPlugin) Config(
|
||||
|
||||
@@ -18,7 +18,7 @@ type ImageTagTransformerPlugin struct {
|
||||
}
|
||||
|
||||
func NewImageTagTransformerPlugin() *ImageTagTransformerPlugin {
|
||||
return &ImageTagTransformerPlugin{}
|
||||
return &ImageTagTransformerPlugin{}
|
||||
}
|
||||
|
||||
func (p *ImageTagTransformerPlugin) Config(
|
||||
|
||||
@@ -16,7 +16,7 @@ type LabelTransformerPlugin struct {
|
||||
}
|
||||
|
||||
func NewLabelTransformerPlugin() *LabelTransformerPlugin {
|
||||
return &LabelTransformerPlugin{}
|
||||
return &LabelTransformerPlugin{}
|
||||
}
|
||||
|
||||
func (p *LabelTransformerPlugin) Config(
|
||||
|
||||
@@ -17,7 +17,7 @@ type NameTransformerPlugin struct {
|
||||
}
|
||||
|
||||
func NewNameTransformerPlugin() *NameTransformerPlugin {
|
||||
return &NameTransformerPlugin{}
|
||||
return &NameTransformerPlugin{}
|
||||
}
|
||||
|
||||
func (p *NameTransformerPlugin) Config(
|
||||
|
||||
@@ -15,7 +15,7 @@ type PatchJson6902TransformerPlugin struct {
|
||||
}
|
||||
|
||||
func NewPatchJson6902TransformerPlugin() *PatchJson6902TransformerPlugin {
|
||||
return &PatchJson6902TransformerPlugin{}
|
||||
return &PatchJson6902TransformerPlugin{}
|
||||
}
|
||||
|
||||
func (p *PatchJson6902TransformerPlugin) Config(
|
||||
|
||||
@@ -16,7 +16,7 @@ type SecretGeneratorPlugin struct {
|
||||
}
|
||||
|
||||
func NewSecretGeneratorPlugin() *SecretGeneratorPlugin {
|
||||
return &SecretGeneratorPlugin{}
|
||||
return &SecretGeneratorPlugin{}
|
||||
}
|
||||
|
||||
func (p *SecretGeneratorPlugin) Config(
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user