mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Format generated code.
This commit is contained in:
@@ -16,7 +16,7 @@ type AnnotationsTransformerPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewAnnotationsTransformerPlugin() *AnnotationsTransformerPlugin {
|
func NewAnnotationsTransformerPlugin() *AnnotationsTransformerPlugin {
|
||||||
return &AnnotationsTransformerPlugin{}
|
return &AnnotationsTransformerPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *AnnotationsTransformerPlugin) Config(
|
func (p *AnnotationsTransformerPlugin) Config(
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ type ConfigMapGeneratorPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewConfigMapGeneratorPlugin() *ConfigMapGeneratorPlugin {
|
func NewConfigMapGeneratorPlugin() *ConfigMapGeneratorPlugin {
|
||||||
return &ConfigMapGeneratorPlugin{}
|
return &ConfigMapGeneratorPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *ConfigMapGeneratorPlugin) Config(
|
func (p *ConfigMapGeneratorPlugin) Config(
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ type ImageTagTransformerPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewImageTagTransformerPlugin() *ImageTagTransformerPlugin {
|
func NewImageTagTransformerPlugin() *ImageTagTransformerPlugin {
|
||||||
return &ImageTagTransformerPlugin{}
|
return &ImageTagTransformerPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *ImageTagTransformerPlugin) Config(
|
func (p *ImageTagTransformerPlugin) Config(
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ type LabelTransformerPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewLabelTransformerPlugin() *LabelTransformerPlugin {
|
func NewLabelTransformerPlugin() *LabelTransformerPlugin {
|
||||||
return &LabelTransformerPlugin{}
|
return &LabelTransformerPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *LabelTransformerPlugin) Config(
|
func (p *LabelTransformerPlugin) Config(
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ type NameTransformerPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewNameTransformerPlugin() *NameTransformerPlugin {
|
func NewNameTransformerPlugin() *NameTransformerPlugin {
|
||||||
return &NameTransformerPlugin{}
|
return &NameTransformerPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *NameTransformerPlugin) Config(
|
func (p *NameTransformerPlugin) Config(
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ type PatchJson6902TransformerPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewPatchJson6902TransformerPlugin() *PatchJson6902TransformerPlugin {
|
func NewPatchJson6902TransformerPlugin() *PatchJson6902TransformerPlugin {
|
||||||
return &PatchJson6902TransformerPlugin{}
|
return &PatchJson6902TransformerPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *PatchJson6902TransformerPlugin) Config(
|
func (p *PatchJson6902TransformerPlugin) Config(
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ type SecretGeneratorPlugin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func NewSecretGeneratorPlugin() *SecretGeneratorPlugin {
|
func NewSecretGeneratorPlugin() *SecretGeneratorPlugin {
|
||||||
return &SecretGeneratorPlugin{}
|
return &SecretGeneratorPlugin{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *SecretGeneratorPlugin) Config(
|
func (p *SecretGeneratorPlugin) Config(
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ pushd $dir >& /dev/null
|
|||||||
|
|
||||||
GOPATH=$myGoPath go generate \
|
GOPATH=$myGoPath go generate \
|
||||||
sigs.k8s.io/kustomize/plugin/builtin/...
|
sigs.k8s.io/kustomize/plugin/builtin/...
|
||||||
|
GOPATH=$myGoPath go fmt \
|
||||||
|
sigs.k8s.io/kustomize/plugin/builtin
|
||||||
|
|
||||||
popd >& /dev/null
|
popd >& /dev/null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user