applyconfiguration-gen: drop yamlUnmarshal

It's unused.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt 2024-10-07 14:49:10 +02:00
parent a7fcc89ac0
commit aca3214a70
No known key found for this signature in database
GPG Key ID: 1CC5FA453662A71D
2 changed files with 6 additions and 8 deletions

View File

@ -77,7 +77,6 @@ func (g *internalGenerator) GenerateType(c *generator.Context, _ *types.Type, w
"fmtSprintf": fmtSprintf,
"syncOnce": syncOnce,
"yamlObject": yamlObject,
"yamlUnmarshal": yamlUnmarshal,
})
return sw.Error()

View File

@ -33,5 +33,4 @@ var (
smdParser = types.Ref("sigs.k8s.io/structured-merge-diff/v4/typed", "Parser")
testingTypeConverter = types.Ref("k8s.io/client-go/testing", "TypeConverter")
yamlObject = types.Ref("sigs.k8s.io/structured-merge-diff/v4/typed", "YAMLObject")
yamlUnmarshal = types.Ref("gopkg.in/yaml.v2", "Unmarshal")
)