Cleanup explicitly registered functions

This commit is contained in:
wojtekt
2019-10-24 13:18:31 +02:00
parent 9acb04a8e5
commit d7011f1bdb
41 changed files with 28 additions and 459 deletions

View File

@@ -28,15 +28,6 @@ import (
)
func addConversionFuncs(scheme *runtime.Scheme) error {
// Add non-generated conversion functions
err := scheme.AddConversionFuncs(
Convert_batch_JobSpec_To_v1_JobSpec,
Convert_v1_JobSpec_To_batch_JobSpec,
)
if err != nil {
return err
}
return scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.WithKind("Job"),
func(label, value string) (string, string, error) {
switch label {