mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-16 17:33:14 +00:00
Fix some minor naming mistakes. (#434)
* Fix some minor naming mistakes. * Fix some minor naming mistakes.
This commit is contained in:
@@ -64,7 +64,7 @@ Use different transformer configurations by passing files to kustomize
|
||||
func NewCmdBuild(
|
||||
out io.Writer, fs fs.FileSystem,
|
||||
kf ifc.KunstructuredFactory,
|
||||
ptf patch.PatchTransformerFactory,
|
||||
ptf patch.TransformerFactory,
|
||||
decoder ifc.Decoder, hash ifc.Hash) *cobra.Command {
|
||||
var o buildOptions
|
||||
var p string
|
||||
@@ -125,7 +125,7 @@ func (o *buildOptions) Validate(args []string, p string, fs fs.FileSystem) error
|
||||
func (o *buildOptions) RunBuild(
|
||||
out io.Writer, fSys fs.FileSystem,
|
||||
kf ifc.KunstructuredFactory,
|
||||
ptf patch.PatchTransformerFactory,
|
||||
ptf patch.TransformerFactory,
|
||||
decoder ifc.Decoder, hash ifc.Hash) error {
|
||||
rootLoader, err := loader.NewLoader(o.kustomizationPath, "", fSys)
|
||||
if err != nil {
|
||||
|
||||
@@ -131,7 +131,7 @@ func runBuildTestCase(t *testing.T, testcaseName string, updateKustomizeExpected
|
||||
buf := bytes.NewBuffer([]byte{})
|
||||
err = ops.RunBuild(
|
||||
buf, fSys,
|
||||
k8sdeps.NewKustKunstructuredFactory(k8sdeps.NewKustDecoder()),
|
||||
k8sdeps.NewKunstructuredFactoryImpl(k8sdeps.NewKustDecoder()),
|
||||
patch.NewPatchTransformerFactory(),
|
||||
k8sdeps.NewKustDecoder(), k8sdeps.NewKustHash())
|
||||
switch {
|
||||
|
||||
@@ -32,7 +32,7 @@ import (
|
||||
|
||||
// NewDefaultCommand returns the default (aka root) command for kustomize command.
|
||||
func NewDefaultCommand(
|
||||
kf ifc.KunstructuredFactory, ptf patch.PatchTransformerFactory,
|
||||
kf ifc.KunstructuredFactory, ptf patch.TransformerFactory,
|
||||
decoder ifc.Decoder,
|
||||
validator ifc.Validator, hash ifc.Hash) *cobra.Command {
|
||||
fsys := fs.MakeRealFS()
|
||||
|
||||
Reference in New Issue
Block a user