From f7eb9c17f5f14430be712abccc5ea73ce81fc291 Mon Sep 17 00:00:00 2001 From: Matt Richerson Date: Thu, 7 Nov 2024 10:20:57 -0600 Subject: [PATCH] CRDBUMPER-auto-gens Make the auto-generated files. Update the SRC_DIRS spoke list in the Makefile. make manifests & make generate & make generate-go-conversions make fmt ACTION: If any of the code in this repo was referencing non-local APIs, the references to them may have been inadvertently modified. Verify that any non-local APIs are being referenced by their correct versions. ACTION: Begin by running "make vet". Repair any issues that it finds. Then run "make test" and continue repairing issues until the tests pass. Signed-off-by: Matt Richerson --- Makefile | 2 +- api/v1alpha1/zz_generated.conversion.go | 1594 ++++++------ api/v1alpha2/zz_generated.conversion.go | 2227 +++++++++++++++++ api/v1alpha2/zz_generated.deepcopy.go | 2 +- api/v1alpha3/zz_generated.deepcopy.go | 747 +++++- ...rkflowservices.github.io_clientmounts.yaml | 295 +++ ...taworkflowservices.github.io_computes.yaml | 37 + ...ervices.github.io_directivebreakdowns.yaml | 337 +++ ...owservices.github.io_dwdirectiverules.yaml | 80 + ....github.io_persistentstorageinstances.yaml | 225 ++ ...ataworkflowservices.github.io_servers.yaml | 156 ++ ...taworkflowservices.github.io_storages.yaml | 214 ++ ...rvices.github.io_systemconfigurations.yaml | 156 ++ ...aworkflowservices.github.io_workflows.yaml | 371 +++ 14 files changed, 5569 insertions(+), 874 deletions(-) create mode 100644 api/v1alpha2/zz_generated.conversion.go diff --git a/Makefile b/Makefile index 950e2f1d..aba553bf 100644 --- a/Makefile +++ b/Makefile @@ -264,7 +264,7 @@ $(CONVERSION_GEN): $(LOCALBIN) # Build conversion-gen from tools folder. # The SRC_DIRS value is a space-separated list of paths to old versions. # The --input-dirs value is a single path item; specify multiple --input-dirs # parameters if you have multiple old versions. -SRC_DIRS=./api/v1alpha1 +SRC_DIRS=./api/v1alpha1 ./api/v1alpha2 generate-go-conversions: $(CONVERSION_GEN) ## Generate conversions go code $(MAKE) clean-generated-conversions SRC_DIRS="$(SRC_DIRS)" $(CONVERSION_GEN) \ diff --git a/api/v1alpha1/zz_generated.conversion.go b/api/v1alpha1/zz_generated.conversion.go index 42979e57..68da739c 100644 --- a/api/v1alpha1/zz_generated.conversion.go +++ b/api/v1alpha1/zz_generated.conversion.go @@ -27,7 +27,7 @@ package v1alpha1 import ( unsafe "unsafe" - v1alpha2 "github.com/DataWorkflowServices/dws/api/v1alpha2" + v1alpha3 "github.com/DataWorkflowServices/dws/api/v1alpha3" dwdparse "github.com/DataWorkflowServices/dws/utils/dwdparse" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -43,645 +43,645 @@ func init() { // RegisterConversions adds conversion functions to the given scheme. // Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*AllocationSetColocationConstraint)(nil), (*v1alpha2.AllocationSetColocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(a.(*AllocationSetColocationConstraint), b.(*v1alpha2.AllocationSetColocationConstraint), scope) + if err := s.AddGeneratedConversionFunc((*AllocationSetColocationConstraint)(nil), (*v1alpha3.AllocationSetColocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(a.(*AllocationSetColocationConstraint), b.(*v1alpha3.AllocationSetColocationConstraint), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.AllocationSetColocationConstraint)(nil), (*AllocationSetColocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(a.(*v1alpha2.AllocationSetColocationConstraint), b.(*AllocationSetColocationConstraint), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.AllocationSetColocationConstraint)(nil), (*AllocationSetColocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(a.(*v1alpha3.AllocationSetColocationConstraint), b.(*AllocationSetColocationConstraint), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*AllocationSetConstraints)(nil), (*v1alpha2.AllocationSetConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(a.(*AllocationSetConstraints), b.(*v1alpha2.AllocationSetConstraints), scope) + if err := s.AddGeneratedConversionFunc((*AllocationSetConstraints)(nil), (*v1alpha3.AllocationSetConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(a.(*AllocationSetConstraints), b.(*v1alpha3.AllocationSetConstraints), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.AllocationSetConstraints)(nil), (*AllocationSetConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(a.(*v1alpha2.AllocationSetConstraints), b.(*AllocationSetConstraints), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.AllocationSetConstraints)(nil), (*AllocationSetConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(a.(*v1alpha3.AllocationSetConstraints), b.(*AllocationSetConstraints), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMount)(nil), (*v1alpha2.ClientMount)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMount_To_v1alpha2_ClientMount(a.(*ClientMount), b.(*v1alpha2.ClientMount), scope) + if err := s.AddGeneratedConversionFunc((*ClientMount)(nil), (*v1alpha3.ClientMount)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMount_To_v1alpha3_ClientMount(a.(*ClientMount), b.(*v1alpha3.ClientMount), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMount)(nil), (*ClientMount)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMount_To_v1alpha1_ClientMount(a.(*v1alpha2.ClientMount), b.(*ClientMount), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMount)(nil), (*ClientMount)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMount_To_v1alpha1_ClientMount(a.(*v1alpha3.ClientMount), b.(*ClientMount), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountDevice)(nil), (*v1alpha2.ClientMountDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountDevice_To_v1alpha2_ClientMountDevice(a.(*ClientMountDevice), b.(*v1alpha2.ClientMountDevice), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountDevice)(nil), (*v1alpha3.ClientMountDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountDevice_To_v1alpha3_ClientMountDevice(a.(*ClientMountDevice), b.(*v1alpha3.ClientMountDevice), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountDevice)(nil), (*ClientMountDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice(a.(*v1alpha2.ClientMountDevice), b.(*ClientMountDevice), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDevice)(nil), (*ClientMountDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDevice_To_v1alpha1_ClientMountDevice(a.(*v1alpha3.ClientMountDevice), b.(*ClientMountDevice), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountDeviceLVM)(nil), (*v1alpha2.ClientMountDeviceLVM)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(a.(*ClientMountDeviceLVM), b.(*v1alpha2.ClientMountDeviceLVM), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountDeviceLVM)(nil), (*v1alpha3.ClientMountDeviceLVM)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(a.(*ClientMountDeviceLVM), b.(*v1alpha3.ClientMountDeviceLVM), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountDeviceLVM)(nil), (*ClientMountDeviceLVM)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(a.(*v1alpha2.ClientMountDeviceLVM), b.(*ClientMountDeviceLVM), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDeviceLVM)(nil), (*ClientMountDeviceLVM)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(a.(*v1alpha3.ClientMountDeviceLVM), b.(*ClientMountDeviceLVM), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountDeviceLustre)(nil), (*v1alpha2.ClientMountDeviceLustre)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(a.(*ClientMountDeviceLustre), b.(*v1alpha2.ClientMountDeviceLustre), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountDeviceLustre)(nil), (*v1alpha3.ClientMountDeviceLustre)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(a.(*ClientMountDeviceLustre), b.(*v1alpha3.ClientMountDeviceLustre), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountDeviceLustre)(nil), (*ClientMountDeviceLustre)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(a.(*v1alpha2.ClientMountDeviceLustre), b.(*ClientMountDeviceLustre), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDeviceLustre)(nil), (*ClientMountDeviceLustre)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(a.(*v1alpha3.ClientMountDeviceLustre), b.(*ClientMountDeviceLustre), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountDeviceReference)(nil), (*v1alpha2.ClientMountDeviceReference)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(a.(*ClientMountDeviceReference), b.(*v1alpha2.ClientMountDeviceReference), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountDeviceReference)(nil), (*v1alpha3.ClientMountDeviceReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(a.(*ClientMountDeviceReference), b.(*v1alpha3.ClientMountDeviceReference), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountDeviceReference)(nil), (*ClientMountDeviceReference)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(a.(*v1alpha2.ClientMountDeviceReference), b.(*ClientMountDeviceReference), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDeviceReference)(nil), (*ClientMountDeviceReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(a.(*v1alpha3.ClientMountDeviceReference), b.(*ClientMountDeviceReference), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountInfo)(nil), (*v1alpha2.ClientMountInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountInfo_To_v1alpha2_ClientMountInfo(a.(*ClientMountInfo), b.(*v1alpha2.ClientMountInfo), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountInfo)(nil), (*v1alpha3.ClientMountInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountInfo_To_v1alpha3_ClientMountInfo(a.(*ClientMountInfo), b.(*v1alpha3.ClientMountInfo), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountInfo)(nil), (*ClientMountInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountInfo_To_v1alpha1_ClientMountInfo(a.(*v1alpha2.ClientMountInfo), b.(*ClientMountInfo), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountInfo)(nil), (*ClientMountInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountInfo_To_v1alpha1_ClientMountInfo(a.(*v1alpha3.ClientMountInfo), b.(*ClientMountInfo), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountInfoStatus)(nil), (*v1alpha2.ClientMountInfoStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(a.(*ClientMountInfoStatus), b.(*v1alpha2.ClientMountInfoStatus), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountInfoStatus)(nil), (*v1alpha3.ClientMountInfoStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(a.(*ClientMountInfoStatus), b.(*v1alpha3.ClientMountInfoStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountInfoStatus)(nil), (*ClientMountInfoStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(a.(*v1alpha2.ClientMountInfoStatus), b.(*ClientMountInfoStatus), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountInfoStatus)(nil), (*ClientMountInfoStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(a.(*v1alpha3.ClientMountInfoStatus), b.(*ClientMountInfoStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountList)(nil), (*v1alpha2.ClientMountList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountList_To_v1alpha2_ClientMountList(a.(*ClientMountList), b.(*v1alpha2.ClientMountList), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountList)(nil), (*v1alpha3.ClientMountList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountList_To_v1alpha3_ClientMountList(a.(*ClientMountList), b.(*v1alpha3.ClientMountList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountList)(nil), (*ClientMountList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountList_To_v1alpha1_ClientMountList(a.(*v1alpha2.ClientMountList), b.(*ClientMountList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountList)(nil), (*ClientMountList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountList_To_v1alpha1_ClientMountList(a.(*v1alpha3.ClientMountList), b.(*ClientMountList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountNVMeDesc)(nil), (*v1alpha2.ClientMountNVMeDesc)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(a.(*ClientMountNVMeDesc), b.(*v1alpha2.ClientMountNVMeDesc), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountNVMeDesc)(nil), (*v1alpha3.ClientMountNVMeDesc)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(a.(*ClientMountNVMeDesc), b.(*v1alpha3.ClientMountNVMeDesc), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountNVMeDesc)(nil), (*ClientMountNVMeDesc)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(a.(*v1alpha2.ClientMountNVMeDesc), b.(*ClientMountNVMeDesc), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountNVMeDesc)(nil), (*ClientMountNVMeDesc)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(a.(*v1alpha3.ClientMountNVMeDesc), b.(*ClientMountNVMeDesc), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountSpec)(nil), (*v1alpha2.ClientMountSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountSpec_To_v1alpha2_ClientMountSpec(a.(*ClientMountSpec), b.(*v1alpha2.ClientMountSpec), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountSpec)(nil), (*v1alpha3.ClientMountSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountSpec_To_v1alpha3_ClientMountSpec(a.(*ClientMountSpec), b.(*v1alpha3.ClientMountSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ClientMountSpec)(nil), (*ClientMountSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountSpec_To_v1alpha1_ClientMountSpec(a.(*v1alpha2.ClientMountSpec), b.(*ClientMountSpec), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountSpec)(nil), (*ClientMountSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountSpec_To_v1alpha1_ClientMountSpec(a.(*v1alpha3.ClientMountSpec), b.(*ClientMountSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ClientMountStatus)(nil), (*v1alpha2.ClientMountStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ClientMountStatus_To_v1alpha2_ClientMountStatus(a.(*ClientMountStatus), b.(*v1alpha2.ClientMountStatus), scope) + if err := s.AddGeneratedConversionFunc((*ClientMountStatus)(nil), (*v1alpha3.ClientMountStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ClientMountStatus_To_v1alpha3_ClientMountStatus(a.(*ClientMountStatus), b.(*v1alpha3.ClientMountStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ComputeBreakdown)(nil), (*v1alpha2.ComputeBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(a.(*ComputeBreakdown), b.(*v1alpha2.ComputeBreakdown), scope) + if err := s.AddGeneratedConversionFunc((*ComputeBreakdown)(nil), (*v1alpha3.ComputeBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(a.(*ComputeBreakdown), b.(*v1alpha3.ComputeBreakdown), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ComputeBreakdown)(nil), (*ComputeBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(a.(*v1alpha2.ComputeBreakdown), b.(*ComputeBreakdown), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeBreakdown)(nil), (*ComputeBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(a.(*v1alpha3.ComputeBreakdown), b.(*ComputeBreakdown), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ComputeConstraints)(nil), (*v1alpha2.ComputeConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ComputeConstraints_To_v1alpha2_ComputeConstraints(a.(*ComputeConstraints), b.(*v1alpha2.ComputeConstraints), scope) + if err := s.AddGeneratedConversionFunc((*ComputeConstraints)(nil), (*v1alpha3.ComputeConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ComputeConstraints_To_v1alpha3_ComputeConstraints(a.(*ComputeConstraints), b.(*v1alpha3.ComputeConstraints), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ComputeConstraints)(nil), (*ComputeConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ComputeConstraints_To_v1alpha1_ComputeConstraints(a.(*v1alpha2.ComputeConstraints), b.(*ComputeConstraints), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeConstraints)(nil), (*ComputeConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeConstraints_To_v1alpha1_ComputeConstraints(a.(*v1alpha3.ComputeConstraints), b.(*ComputeConstraints), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ComputeLocationAccess)(nil), (*v1alpha2.ComputeLocationAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(a.(*ComputeLocationAccess), b.(*v1alpha2.ComputeLocationAccess), scope) + if err := s.AddGeneratedConversionFunc((*ComputeLocationAccess)(nil), (*v1alpha3.ComputeLocationAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(a.(*ComputeLocationAccess), b.(*v1alpha3.ComputeLocationAccess), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ComputeLocationAccess)(nil), (*ComputeLocationAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(a.(*v1alpha2.ComputeLocationAccess), b.(*ComputeLocationAccess), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeLocationAccess)(nil), (*ComputeLocationAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(a.(*v1alpha3.ComputeLocationAccess), b.(*ComputeLocationAccess), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ComputeLocationConstraint)(nil), (*v1alpha2.ComputeLocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(a.(*ComputeLocationConstraint), b.(*v1alpha2.ComputeLocationConstraint), scope) + if err := s.AddGeneratedConversionFunc((*ComputeLocationConstraint)(nil), (*v1alpha3.ComputeLocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(a.(*ComputeLocationConstraint), b.(*v1alpha3.ComputeLocationConstraint), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ComputeLocationConstraint)(nil), (*ComputeLocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(a.(*v1alpha2.ComputeLocationConstraint), b.(*ComputeLocationConstraint), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeLocationConstraint)(nil), (*ComputeLocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(a.(*v1alpha3.ComputeLocationConstraint), b.(*ComputeLocationConstraint), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*Computes)(nil), (*v1alpha2.Computes)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Computes_To_v1alpha2_Computes(a.(*Computes), b.(*v1alpha2.Computes), scope) + if err := s.AddGeneratedConversionFunc((*Computes)(nil), (*v1alpha3.Computes)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Computes_To_v1alpha3_Computes(a.(*Computes), b.(*v1alpha3.Computes), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.Computes)(nil), (*Computes)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_Computes_To_v1alpha1_Computes(a.(*v1alpha2.Computes), b.(*Computes), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.Computes)(nil), (*Computes)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Computes_To_v1alpha1_Computes(a.(*v1alpha3.Computes), b.(*Computes), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ComputesData)(nil), (*v1alpha2.ComputesData)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ComputesData_To_v1alpha2_ComputesData(a.(*ComputesData), b.(*v1alpha2.ComputesData), scope) + if err := s.AddGeneratedConversionFunc((*ComputesData)(nil), (*v1alpha3.ComputesData)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ComputesData_To_v1alpha3_ComputesData(a.(*ComputesData), b.(*v1alpha3.ComputesData), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ComputesData)(nil), (*ComputesData)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ComputesData_To_v1alpha1_ComputesData(a.(*v1alpha2.ComputesData), b.(*ComputesData), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputesData)(nil), (*ComputesData)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputesData_To_v1alpha1_ComputesData(a.(*v1alpha3.ComputesData), b.(*ComputesData), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ComputesList)(nil), (*v1alpha2.ComputesList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ComputesList_To_v1alpha2_ComputesList(a.(*ComputesList), b.(*v1alpha2.ComputesList), scope) + if err := s.AddGeneratedConversionFunc((*ComputesList)(nil), (*v1alpha3.ComputesList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ComputesList_To_v1alpha3_ComputesList(a.(*ComputesList), b.(*v1alpha3.ComputesList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ComputesList)(nil), (*ComputesList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ComputesList_To_v1alpha1_ComputesList(a.(*v1alpha2.ComputesList), b.(*ComputesList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputesList)(nil), (*ComputesList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputesList_To_v1alpha1_ComputesList(a.(*v1alpha3.ComputesList), b.(*ComputesList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*DWDirectiveRule)(nil), (*v1alpha2.DWDirectiveRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(a.(*DWDirectiveRule), b.(*v1alpha2.DWDirectiveRule), scope) + if err := s.AddGeneratedConversionFunc((*DWDirectiveRule)(nil), (*v1alpha3.DWDirectiveRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(a.(*DWDirectiveRule), b.(*v1alpha3.DWDirectiveRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.DWDirectiveRule)(nil), (*DWDirectiveRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(a.(*v1alpha2.DWDirectiveRule), b.(*DWDirectiveRule), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.DWDirectiveRule)(nil), (*DWDirectiveRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(a.(*v1alpha3.DWDirectiveRule), b.(*DWDirectiveRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*DWDirectiveRuleList)(nil), (*v1alpha2.DWDirectiveRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(a.(*DWDirectiveRuleList), b.(*v1alpha2.DWDirectiveRuleList), scope) + if err := s.AddGeneratedConversionFunc((*DWDirectiveRuleList)(nil), (*v1alpha3.DWDirectiveRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(a.(*DWDirectiveRuleList), b.(*v1alpha3.DWDirectiveRuleList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.DWDirectiveRuleList)(nil), (*DWDirectiveRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(a.(*v1alpha2.DWDirectiveRuleList), b.(*DWDirectiveRuleList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.DWDirectiveRuleList)(nil), (*DWDirectiveRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(a.(*v1alpha3.DWDirectiveRuleList), b.(*DWDirectiveRuleList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*DirectiveBreakdown)(nil), (*v1alpha2.DirectiveBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(a.(*DirectiveBreakdown), b.(*v1alpha2.DirectiveBreakdown), scope) + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdown)(nil), (*v1alpha3.DirectiveBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(a.(*DirectiveBreakdown), b.(*v1alpha3.DirectiveBreakdown), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.DirectiveBreakdown)(nil), (*DirectiveBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(a.(*v1alpha2.DirectiveBreakdown), b.(*DirectiveBreakdown), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdown)(nil), (*DirectiveBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(a.(*v1alpha3.DirectiveBreakdown), b.(*DirectiveBreakdown), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownList)(nil), (*v1alpha2.DirectiveBreakdownList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(a.(*DirectiveBreakdownList), b.(*v1alpha2.DirectiveBreakdownList), scope) + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownList)(nil), (*v1alpha3.DirectiveBreakdownList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(a.(*DirectiveBreakdownList), b.(*v1alpha3.DirectiveBreakdownList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.DirectiveBreakdownList)(nil), (*DirectiveBreakdownList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(a.(*v1alpha2.DirectiveBreakdownList), b.(*DirectiveBreakdownList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdownList)(nil), (*DirectiveBreakdownList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(a.(*v1alpha3.DirectiveBreakdownList), b.(*DirectiveBreakdownList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownSpec)(nil), (*v1alpha2.DirectiveBreakdownSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(a.(*DirectiveBreakdownSpec), b.(*v1alpha2.DirectiveBreakdownSpec), scope) + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownSpec)(nil), (*v1alpha3.DirectiveBreakdownSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(a.(*DirectiveBreakdownSpec), b.(*v1alpha3.DirectiveBreakdownSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.DirectiveBreakdownSpec)(nil), (*DirectiveBreakdownSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(a.(*v1alpha2.DirectiveBreakdownSpec), b.(*DirectiveBreakdownSpec), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdownSpec)(nil), (*DirectiveBreakdownSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(a.(*v1alpha3.DirectiveBreakdownSpec), b.(*DirectiveBreakdownSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownStatus)(nil), (*v1alpha2.DirectiveBreakdownStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(a.(*DirectiveBreakdownStatus), b.(*v1alpha2.DirectiveBreakdownStatus), scope) + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownStatus)(nil), (*v1alpha3.DirectiveBreakdownStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(a.(*DirectiveBreakdownStatus), b.(*v1alpha3.DirectiveBreakdownStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*Node)(nil), (*v1alpha2.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Node_To_v1alpha2_Node(a.(*Node), b.(*v1alpha2.Node), scope) + if err := s.AddGeneratedConversionFunc((*Node)(nil), (*v1alpha3.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Node_To_v1alpha3_Node(a.(*Node), b.(*v1alpha3.Node), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.Node)(nil), (*Node)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_Node_To_v1alpha1_Node(a.(*v1alpha2.Node), b.(*Node), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.Node)(nil), (*Node)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Node_To_v1alpha1_Node(a.(*v1alpha3.Node), b.(*Node), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*PersistentStorageInstance)(nil), (*v1alpha2.PersistentStorageInstance)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(a.(*PersistentStorageInstance), b.(*v1alpha2.PersistentStorageInstance), scope) + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstance)(nil), (*v1alpha3.PersistentStorageInstance)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(a.(*PersistentStorageInstance), b.(*v1alpha3.PersistentStorageInstance), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.PersistentStorageInstance)(nil), (*PersistentStorageInstance)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(a.(*v1alpha2.PersistentStorageInstance), b.(*PersistentStorageInstance), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstance)(nil), (*PersistentStorageInstance)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(a.(*v1alpha3.PersistentStorageInstance), b.(*PersistentStorageInstance), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceList)(nil), (*v1alpha2.PersistentStorageInstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(a.(*PersistentStorageInstanceList), b.(*v1alpha2.PersistentStorageInstanceList), scope) + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceList)(nil), (*v1alpha3.PersistentStorageInstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(a.(*PersistentStorageInstanceList), b.(*v1alpha3.PersistentStorageInstanceList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.PersistentStorageInstanceList)(nil), (*PersistentStorageInstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(a.(*v1alpha2.PersistentStorageInstanceList), b.(*PersistentStorageInstanceList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstanceList)(nil), (*PersistentStorageInstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(a.(*v1alpha3.PersistentStorageInstanceList), b.(*PersistentStorageInstanceList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceSpec)(nil), (*v1alpha2.PersistentStorageInstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(a.(*PersistentStorageInstanceSpec), b.(*v1alpha2.PersistentStorageInstanceSpec), scope) + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceSpec)(nil), (*v1alpha3.PersistentStorageInstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(a.(*PersistentStorageInstanceSpec), b.(*v1alpha3.PersistentStorageInstanceSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.PersistentStorageInstanceSpec)(nil), (*PersistentStorageInstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(a.(*v1alpha2.PersistentStorageInstanceSpec), b.(*PersistentStorageInstanceSpec), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstanceSpec)(nil), (*PersistentStorageInstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(a.(*v1alpha3.PersistentStorageInstanceSpec), b.(*PersistentStorageInstanceSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceStatus)(nil), (*v1alpha2.PersistentStorageInstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(a.(*PersistentStorageInstanceStatus), b.(*v1alpha2.PersistentStorageInstanceStatus), scope) + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceStatus)(nil), (*v1alpha3.PersistentStorageInstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(a.(*PersistentStorageInstanceStatus), b.(*v1alpha3.PersistentStorageInstanceStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.PersistentStorageInstanceStatus)(nil), (*PersistentStorageInstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(a.(*v1alpha2.PersistentStorageInstanceStatus), b.(*PersistentStorageInstanceStatus), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstanceStatus)(nil), (*PersistentStorageInstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(a.(*v1alpha3.PersistentStorageInstanceStatus), b.(*PersistentStorageInstanceStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ResourceError)(nil), (*v1alpha2.ResourceError)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(a.(*ResourceError), b.(*v1alpha2.ResourceError), scope) + if err := s.AddGeneratedConversionFunc((*ResourceError)(nil), (*v1alpha3.ResourceError)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(a.(*ResourceError), b.(*v1alpha3.ResourceError), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ResourceError)(nil), (*ResourceError)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(a.(*v1alpha2.ResourceError), b.(*ResourceError), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ResourceError)(nil), (*ResourceError)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(a.(*v1alpha3.ResourceError), b.(*ResourceError), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*Servers)(nil), (*v1alpha2.Servers)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Servers_To_v1alpha2_Servers(a.(*Servers), b.(*v1alpha2.Servers), scope) + if err := s.AddGeneratedConversionFunc((*Servers)(nil), (*v1alpha3.Servers)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Servers_To_v1alpha3_Servers(a.(*Servers), b.(*v1alpha3.Servers), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.Servers)(nil), (*Servers)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_Servers_To_v1alpha1_Servers(a.(*v1alpha2.Servers), b.(*Servers), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.Servers)(nil), (*Servers)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Servers_To_v1alpha1_Servers(a.(*v1alpha3.Servers), b.(*Servers), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersList)(nil), (*v1alpha2.ServersList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersList_To_v1alpha2_ServersList(a.(*ServersList), b.(*v1alpha2.ServersList), scope) + if err := s.AddGeneratedConversionFunc((*ServersList)(nil), (*v1alpha3.ServersList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersList_To_v1alpha3_ServersList(a.(*ServersList), b.(*v1alpha3.ServersList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ServersList)(nil), (*ServersList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersList_To_v1alpha1_ServersList(a.(*v1alpha2.ServersList), b.(*ServersList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersList)(nil), (*ServersList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersList_To_v1alpha1_ServersList(a.(*v1alpha3.ServersList), b.(*ServersList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersSpec)(nil), (*v1alpha2.ServersSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersSpec_To_v1alpha2_ServersSpec(a.(*ServersSpec), b.(*v1alpha2.ServersSpec), scope) + if err := s.AddGeneratedConversionFunc((*ServersSpec)(nil), (*v1alpha3.ServersSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersSpec_To_v1alpha3_ServersSpec(a.(*ServersSpec), b.(*v1alpha3.ServersSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ServersSpec)(nil), (*ServersSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersSpec_To_v1alpha1_ServersSpec(a.(*v1alpha2.ServersSpec), b.(*ServersSpec), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersSpec)(nil), (*ServersSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersSpec_To_v1alpha1_ServersSpec(a.(*v1alpha3.ServersSpec), b.(*ServersSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersSpecAllocationSet)(nil), (*v1alpha2.ServersSpecAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(a.(*ServersSpecAllocationSet), b.(*v1alpha2.ServersSpecAllocationSet), scope) + if err := s.AddGeneratedConversionFunc((*ServersSpecAllocationSet)(nil), (*v1alpha3.ServersSpecAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(a.(*ServersSpecAllocationSet), b.(*v1alpha3.ServersSpecAllocationSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ServersSpecAllocationSet)(nil), (*ServersSpecAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(a.(*v1alpha2.ServersSpecAllocationSet), b.(*ServersSpecAllocationSet), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersSpecAllocationSet)(nil), (*ServersSpecAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(a.(*v1alpha3.ServersSpecAllocationSet), b.(*ServersSpecAllocationSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersSpecStorage)(nil), (*v1alpha2.ServersSpecStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(a.(*ServersSpecStorage), b.(*v1alpha2.ServersSpecStorage), scope) + if err := s.AddGeneratedConversionFunc((*ServersSpecStorage)(nil), (*v1alpha3.ServersSpecStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(a.(*ServersSpecStorage), b.(*v1alpha3.ServersSpecStorage), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ServersSpecStorage)(nil), (*ServersSpecStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(a.(*v1alpha2.ServersSpecStorage), b.(*ServersSpecStorage), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersSpecStorage)(nil), (*ServersSpecStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(a.(*v1alpha3.ServersSpecStorage), b.(*ServersSpecStorage), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersStatus)(nil), (*v1alpha2.ServersStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersStatus_To_v1alpha2_ServersStatus(a.(*ServersStatus), b.(*v1alpha2.ServersStatus), scope) + if err := s.AddGeneratedConversionFunc((*ServersStatus)(nil), (*v1alpha3.ServersStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersStatus_To_v1alpha3_ServersStatus(a.(*ServersStatus), b.(*v1alpha3.ServersStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersStatusAllocationSet)(nil), (*v1alpha2.ServersStatusAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(a.(*ServersStatusAllocationSet), b.(*v1alpha2.ServersStatusAllocationSet), scope) + if err := s.AddGeneratedConversionFunc((*ServersStatusAllocationSet)(nil), (*v1alpha3.ServersStatusAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(a.(*ServersStatusAllocationSet), b.(*v1alpha3.ServersStatusAllocationSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ServersStatusAllocationSet)(nil), (*ServersStatusAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(a.(*v1alpha2.ServersStatusAllocationSet), b.(*ServersStatusAllocationSet), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersStatusAllocationSet)(nil), (*ServersStatusAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(a.(*v1alpha3.ServersStatusAllocationSet), b.(*ServersStatusAllocationSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*ServersStatusStorage)(nil), (*v1alpha2.ServersStatusStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(a.(*ServersStatusStorage), b.(*v1alpha2.ServersStatusStorage), scope) + if err := s.AddGeneratedConversionFunc((*ServersStatusStorage)(nil), (*v1alpha3.ServersStatusStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(a.(*ServersStatusStorage), b.(*v1alpha3.ServersStatusStorage), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.ServersStatusStorage)(nil), (*ServersStatusStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(a.(*v1alpha2.ServersStatusStorage), b.(*ServersStatusStorage), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersStatusStorage)(nil), (*ServersStatusStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(a.(*v1alpha3.ServersStatusStorage), b.(*ServersStatusStorage), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*Storage)(nil), (*v1alpha2.Storage)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Storage_To_v1alpha2_Storage(a.(*Storage), b.(*v1alpha2.Storage), scope) + if err := s.AddGeneratedConversionFunc((*Storage)(nil), (*v1alpha3.Storage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Storage_To_v1alpha3_Storage(a.(*Storage), b.(*v1alpha3.Storage), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.Storage)(nil), (*Storage)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_Storage_To_v1alpha1_Storage(a.(*v1alpha2.Storage), b.(*Storage), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.Storage)(nil), (*Storage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Storage_To_v1alpha1_Storage(a.(*v1alpha3.Storage), b.(*Storage), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageAccess)(nil), (*v1alpha2.StorageAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageAccess_To_v1alpha2_StorageAccess(a.(*StorageAccess), b.(*v1alpha2.StorageAccess), scope) + if err := s.AddGeneratedConversionFunc((*StorageAccess)(nil), (*v1alpha3.StorageAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageAccess_To_v1alpha3_StorageAccess(a.(*StorageAccess), b.(*v1alpha3.StorageAccess), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.StorageAccess)(nil), (*StorageAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageAccess_To_v1alpha1_StorageAccess(a.(*v1alpha2.StorageAccess), b.(*StorageAccess), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageAccess)(nil), (*StorageAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageAccess_To_v1alpha1_StorageAccess(a.(*v1alpha3.StorageAccess), b.(*StorageAccess), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageAllocationSet)(nil), (*v1alpha2.StorageAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(a.(*StorageAllocationSet), b.(*v1alpha2.StorageAllocationSet), scope) + if err := s.AddGeneratedConversionFunc((*StorageAllocationSet)(nil), (*v1alpha3.StorageAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(a.(*StorageAllocationSet), b.(*v1alpha3.StorageAllocationSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.StorageAllocationSet)(nil), (*StorageAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(a.(*v1alpha2.StorageAllocationSet), b.(*StorageAllocationSet), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageAllocationSet)(nil), (*StorageAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(a.(*v1alpha3.StorageAllocationSet), b.(*StorageAllocationSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageBreakdown)(nil), (*v1alpha2.StorageBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageBreakdown_To_v1alpha2_StorageBreakdown(a.(*StorageBreakdown), b.(*v1alpha2.StorageBreakdown), scope) + if err := s.AddGeneratedConversionFunc((*StorageBreakdown)(nil), (*v1alpha3.StorageBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageBreakdown_To_v1alpha3_StorageBreakdown(a.(*StorageBreakdown), b.(*v1alpha3.StorageBreakdown), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.StorageBreakdown)(nil), (*StorageBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageBreakdown_To_v1alpha1_StorageBreakdown(a.(*v1alpha2.StorageBreakdown), b.(*StorageBreakdown), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageBreakdown)(nil), (*StorageBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageBreakdown_To_v1alpha1_StorageBreakdown(a.(*v1alpha3.StorageBreakdown), b.(*StorageBreakdown), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageDevice)(nil), (*v1alpha2.StorageDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageDevice_To_v1alpha2_StorageDevice(a.(*StorageDevice), b.(*v1alpha2.StorageDevice), scope) + if err := s.AddGeneratedConversionFunc((*StorageDevice)(nil), (*v1alpha3.StorageDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageDevice_To_v1alpha3_StorageDevice(a.(*StorageDevice), b.(*v1alpha3.StorageDevice), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.StorageDevice)(nil), (*StorageDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageDevice_To_v1alpha1_StorageDevice(a.(*v1alpha2.StorageDevice), b.(*StorageDevice), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageDevice)(nil), (*StorageDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageDevice_To_v1alpha1_StorageDevice(a.(*v1alpha3.StorageDevice), b.(*StorageDevice), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageList)(nil), (*v1alpha2.StorageList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageList_To_v1alpha2_StorageList(a.(*StorageList), b.(*v1alpha2.StorageList), scope) + if err := s.AddGeneratedConversionFunc((*StorageList)(nil), (*v1alpha3.StorageList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageList_To_v1alpha3_StorageList(a.(*StorageList), b.(*v1alpha3.StorageList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.StorageList)(nil), (*StorageList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageList_To_v1alpha1_StorageList(a.(*v1alpha2.StorageList), b.(*StorageList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageList)(nil), (*StorageList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageList_To_v1alpha1_StorageList(a.(*v1alpha3.StorageList), b.(*StorageList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageSpec)(nil), (*v1alpha2.StorageSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageSpec_To_v1alpha2_StorageSpec(a.(*StorageSpec), b.(*v1alpha2.StorageSpec), scope) + if err := s.AddGeneratedConversionFunc((*StorageSpec)(nil), (*v1alpha3.StorageSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageSpec_To_v1alpha3_StorageSpec(a.(*StorageSpec), b.(*v1alpha3.StorageSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*StorageStatus)(nil), (*v1alpha2.StorageStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_StorageStatus_To_v1alpha2_StorageStatus(a.(*StorageStatus), b.(*v1alpha2.StorageStatus), scope) + if err := s.AddGeneratedConversionFunc((*StorageStatus)(nil), (*v1alpha3.StorageStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_StorageStatus_To_v1alpha3_StorageStatus(a.(*StorageStatus), b.(*v1alpha3.StorageStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.StorageStatus)(nil), (*StorageStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus(a.(*v1alpha2.StorageStatus), b.(*StorageStatus), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageStatus)(nil), (*StorageStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageStatus_To_v1alpha1_StorageStatus(a.(*v1alpha3.StorageStatus), b.(*StorageStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*SystemConfiguration)(nil), (*v1alpha2.SystemConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_SystemConfiguration_To_v1alpha2_SystemConfiguration(a.(*SystemConfiguration), b.(*v1alpha2.SystemConfiguration), scope) + if err := s.AddGeneratedConversionFunc((*SystemConfiguration)(nil), (*v1alpha3.SystemConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_SystemConfiguration_To_v1alpha3_SystemConfiguration(a.(*SystemConfiguration), b.(*v1alpha3.SystemConfiguration), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.SystemConfiguration)(nil), (*SystemConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_SystemConfiguration_To_v1alpha1_SystemConfiguration(a.(*v1alpha2.SystemConfiguration), b.(*SystemConfiguration), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfiguration)(nil), (*SystemConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfiguration_To_v1alpha1_SystemConfiguration(a.(*v1alpha3.SystemConfiguration), b.(*SystemConfiguration), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*SystemConfigurationComputeNodeReference)(nil), (*v1alpha2.SystemConfigurationComputeNodeReference)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(a.(*SystemConfigurationComputeNodeReference), b.(*v1alpha2.SystemConfigurationComputeNodeReference), scope) + if err := s.AddGeneratedConversionFunc((*SystemConfigurationComputeNodeReference)(nil), (*v1alpha3.SystemConfigurationComputeNodeReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(a.(*SystemConfigurationComputeNodeReference), b.(*v1alpha3.SystemConfigurationComputeNodeReference), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.SystemConfigurationComputeNodeReference)(nil), (*SystemConfigurationComputeNodeReference)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(a.(*v1alpha2.SystemConfigurationComputeNodeReference), b.(*SystemConfigurationComputeNodeReference), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationComputeNodeReference)(nil), (*SystemConfigurationComputeNodeReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(a.(*v1alpha3.SystemConfigurationComputeNodeReference), b.(*SystemConfigurationComputeNodeReference), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*SystemConfigurationList)(nil), (*v1alpha2.SystemConfigurationList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(a.(*SystemConfigurationList), b.(*v1alpha2.SystemConfigurationList), scope) + if err := s.AddGeneratedConversionFunc((*SystemConfigurationList)(nil), (*v1alpha3.SystemConfigurationList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(a.(*SystemConfigurationList), b.(*v1alpha3.SystemConfigurationList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.SystemConfigurationList)(nil), (*SystemConfigurationList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(a.(*v1alpha2.SystemConfigurationList), b.(*SystemConfigurationList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationList)(nil), (*SystemConfigurationList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(a.(*v1alpha3.SystemConfigurationList), b.(*SystemConfigurationList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*SystemConfigurationStatus)(nil), (*v1alpha2.SystemConfigurationStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(a.(*SystemConfigurationStatus), b.(*v1alpha2.SystemConfigurationStatus), scope) + if err := s.AddGeneratedConversionFunc((*SystemConfigurationStatus)(nil), (*v1alpha3.SystemConfigurationStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(a.(*SystemConfigurationStatus), b.(*v1alpha3.SystemConfigurationStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*SystemConfigurationStorageNode)(nil), (*v1alpha2.SystemConfigurationStorageNode)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(a.(*SystemConfigurationStorageNode), b.(*v1alpha2.SystemConfigurationStorageNode), scope) + if err := s.AddGeneratedConversionFunc((*SystemConfigurationStorageNode)(nil), (*v1alpha3.SystemConfigurationStorageNode)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(a.(*SystemConfigurationStorageNode), b.(*v1alpha3.SystemConfigurationStorageNode), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.SystemConfigurationStorageNode)(nil), (*SystemConfigurationStorageNode)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(a.(*v1alpha2.SystemConfigurationStorageNode), b.(*SystemConfigurationStorageNode), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationStorageNode)(nil), (*SystemConfigurationStorageNode)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(a.(*v1alpha3.SystemConfigurationStorageNode), b.(*SystemConfigurationStorageNode), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*Workflow)(nil), (*v1alpha2.Workflow)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Workflow_To_v1alpha2_Workflow(a.(*Workflow), b.(*v1alpha2.Workflow), scope) + if err := s.AddGeneratedConversionFunc((*Workflow)(nil), (*v1alpha3.Workflow)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Workflow_To_v1alpha3_Workflow(a.(*Workflow), b.(*v1alpha3.Workflow), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.Workflow)(nil), (*Workflow)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_Workflow_To_v1alpha1_Workflow(a.(*v1alpha2.Workflow), b.(*Workflow), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.Workflow)(nil), (*Workflow)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Workflow_To_v1alpha1_Workflow(a.(*v1alpha3.Workflow), b.(*Workflow), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*WorkflowDriverStatus)(nil), (*v1alpha2.WorkflowDriverStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(a.(*WorkflowDriverStatus), b.(*v1alpha2.WorkflowDriverStatus), scope) + if err := s.AddGeneratedConversionFunc((*WorkflowDriverStatus)(nil), (*v1alpha3.WorkflowDriverStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(a.(*WorkflowDriverStatus), b.(*v1alpha3.WorkflowDriverStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.WorkflowDriverStatus)(nil), (*WorkflowDriverStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(a.(*v1alpha2.WorkflowDriverStatus), b.(*WorkflowDriverStatus), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowDriverStatus)(nil), (*WorkflowDriverStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(a.(*v1alpha3.WorkflowDriverStatus), b.(*WorkflowDriverStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*WorkflowList)(nil), (*v1alpha2.WorkflowList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_WorkflowList_To_v1alpha2_WorkflowList(a.(*WorkflowList), b.(*v1alpha2.WorkflowList), scope) + if err := s.AddGeneratedConversionFunc((*WorkflowList)(nil), (*v1alpha3.WorkflowList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_WorkflowList_To_v1alpha3_WorkflowList(a.(*WorkflowList), b.(*v1alpha3.WorkflowList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.WorkflowList)(nil), (*WorkflowList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_WorkflowList_To_v1alpha1_WorkflowList(a.(*v1alpha2.WorkflowList), b.(*WorkflowList), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowList)(nil), (*WorkflowList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowList_To_v1alpha1_WorkflowList(a.(*v1alpha3.WorkflowList), b.(*WorkflowList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*WorkflowStatus)(nil), (*v1alpha2.WorkflowStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus(a.(*WorkflowStatus), b.(*v1alpha2.WorkflowStatus), scope) + if err := s.AddGeneratedConversionFunc((*WorkflowStatus)(nil), (*v1alpha3.WorkflowStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_WorkflowStatus_To_v1alpha3_WorkflowStatus(a.(*WorkflowStatus), b.(*v1alpha3.WorkflowStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha2.WorkflowStatus)(nil), (*WorkflowStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus(a.(*v1alpha2.WorkflowStatus), b.(*WorkflowStatus), scope) + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowStatus)(nil), (*WorkflowStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowStatus_To_v1alpha1_WorkflowStatus(a.(*v1alpha3.WorkflowStatus), b.(*WorkflowStatus), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*ResourceErrorInfo)(nil), (*v1alpha2.ResourceErrorInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(a.(*ResourceErrorInfo), b.(*v1alpha2.ResourceErrorInfo), scope) + if err := s.AddConversionFunc((*ResourceErrorInfo)(nil), (*v1alpha3.ResourceErrorInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(a.(*ResourceErrorInfo), b.(*v1alpha3.ResourceErrorInfo), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*SystemConfigurationSpec)(nil), (*v1alpha2.SystemConfigurationSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(a.(*SystemConfigurationSpec), b.(*v1alpha2.SystemConfigurationSpec), scope) + if err := s.AddConversionFunc((*SystemConfigurationSpec)(nil), (*v1alpha3.SystemConfigurationSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(a.(*SystemConfigurationSpec), b.(*v1alpha3.SystemConfigurationSpec), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*WorkflowSpec)(nil), (*v1alpha2.WorkflowSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_WorkflowSpec_To_v1alpha2_WorkflowSpec(a.(*WorkflowSpec), b.(*v1alpha2.WorkflowSpec), scope) + if err := s.AddConversionFunc((*WorkflowSpec)(nil), (*v1alpha3.WorkflowSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_WorkflowSpec_To_v1alpha3_WorkflowSpec(a.(*WorkflowSpec), b.(*v1alpha3.WorkflowSpec), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.ClientMountStatus)(nil), (*ClientMountStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ClientMountStatus_To_v1alpha1_ClientMountStatus(a.(*v1alpha2.ClientMountStatus), b.(*ClientMountStatus), scope) + if err := s.AddConversionFunc((*v1alpha3.ClientMountStatus)(nil), (*ClientMountStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountStatus_To_v1alpha1_ClientMountStatus(a.(*v1alpha3.ClientMountStatus), b.(*ClientMountStatus), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.DirectiveBreakdownStatus)(nil), (*DirectiveBreakdownStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha1_DirectiveBreakdownStatus(a.(*v1alpha2.DirectiveBreakdownStatus), b.(*DirectiveBreakdownStatus), scope) + if err := s.AddConversionFunc((*v1alpha3.DirectiveBreakdownStatus)(nil), (*DirectiveBreakdownStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha1_DirectiveBreakdownStatus(a.(*v1alpha3.DirectiveBreakdownStatus), b.(*DirectiveBreakdownStatus), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.ResourceErrorInfo)(nil), (*ResourceErrorInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(a.(*v1alpha2.ResourceErrorInfo), b.(*ResourceErrorInfo), scope) + if err := s.AddConversionFunc((*v1alpha3.ResourceErrorInfo)(nil), (*ResourceErrorInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(a.(*v1alpha3.ResourceErrorInfo), b.(*ResourceErrorInfo), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.ServersStatus)(nil), (*ServersStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_ServersStatus_To_v1alpha1_ServersStatus(a.(*v1alpha2.ServersStatus), b.(*ServersStatus), scope) + if err := s.AddConversionFunc((*v1alpha3.ServersStatus)(nil), (*ServersStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersStatus_To_v1alpha1_ServersStatus(a.(*v1alpha3.ServersStatus), b.(*ServersStatus), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.StorageSpec)(nil), (*StorageSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_StorageSpec_To_v1alpha1_StorageSpec(a.(*v1alpha2.StorageSpec), b.(*StorageSpec), scope) + if err := s.AddConversionFunc((*v1alpha3.StorageSpec)(nil), (*StorageSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageSpec_To_v1alpha1_StorageSpec(a.(*v1alpha3.StorageSpec), b.(*StorageSpec), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.SystemConfigurationSpec)(nil), (*SystemConfigurationSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_SystemConfigurationSpec_To_v1alpha1_SystemConfigurationSpec(a.(*v1alpha2.SystemConfigurationSpec), b.(*SystemConfigurationSpec), scope) + if err := s.AddConversionFunc((*v1alpha3.SystemConfigurationSpec)(nil), (*SystemConfigurationSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationSpec_To_v1alpha1_SystemConfigurationSpec(a.(*v1alpha3.SystemConfigurationSpec), b.(*SystemConfigurationSpec), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.SystemConfigurationStatus)(nil), (*SystemConfigurationStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_SystemConfigurationStatus_To_v1alpha1_SystemConfigurationStatus(a.(*v1alpha2.SystemConfigurationStatus), b.(*SystemConfigurationStatus), scope) + if err := s.AddConversionFunc((*v1alpha3.SystemConfigurationStatus)(nil), (*SystemConfigurationStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationStatus_To_v1alpha1_SystemConfigurationStatus(a.(*v1alpha3.SystemConfigurationStatus), b.(*SystemConfigurationStatus), scope) }); err != nil { return err } - if err := s.AddConversionFunc((*v1alpha2.WorkflowSpec)(nil), (*WorkflowSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha2_WorkflowSpec_To_v1alpha1_WorkflowSpec(a.(*v1alpha2.WorkflowSpec), b.(*WorkflowSpec), scope) + if err := s.AddConversionFunc((*v1alpha3.WorkflowSpec)(nil), (*WorkflowSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowSpec_To_v1alpha1_WorkflowSpec(a.(*v1alpha3.WorkflowSpec), b.(*WorkflowSpec), scope) }); err != nil { return err } return nil } -func autoConvert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(in *AllocationSetColocationConstraint, out *v1alpha2.AllocationSetColocationConstraint, s conversion.Scope) error { +func autoConvert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(in *AllocationSetColocationConstraint, out *v1alpha3.AllocationSetColocationConstraint, s conversion.Scope) error { out.Type = in.Type out.Key = in.Key return nil } -// Convert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint is an autogenerated conversion function. -func Convert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(in *AllocationSetColocationConstraint, out *v1alpha2.AllocationSetColocationConstraint, s conversion.Scope) error { - return autoConvert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(in, out, s) +// Convert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint is an autogenerated conversion function. +func Convert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(in *AllocationSetColocationConstraint, out *v1alpha3.AllocationSetColocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha1_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(in, out, s) } -func autoConvert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(in *v1alpha2.AllocationSetColocationConstraint, out *AllocationSetColocationConstraint, s conversion.Scope) error { +func autoConvert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(in *v1alpha3.AllocationSetColocationConstraint, out *AllocationSetColocationConstraint, s conversion.Scope) error { out.Type = in.Type out.Key = in.Key return nil } -// Convert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint is an autogenerated conversion function. -func Convert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(in *v1alpha2.AllocationSetColocationConstraint, out *AllocationSetColocationConstraint, s conversion.Scope) error { - return autoConvert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(in, out, s) +// Convert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint is an autogenerated conversion function. +func Convert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(in *v1alpha3.AllocationSetColocationConstraint, out *AllocationSetColocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha1_AllocationSetColocationConstraint(in, out, s) } -func autoConvert_v1alpha1_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(in *AllocationSetConstraints, out *v1alpha2.AllocationSetConstraints, s conversion.Scope) error { +func autoConvert_v1alpha1_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(in *AllocationSetConstraints, out *v1alpha3.AllocationSetConstraints, s conversion.Scope) error { out.Labels = *(*[]string)(unsafe.Pointer(&in.Labels)) out.Scale = in.Scale out.Count = in.Count - out.Colocation = *(*[]v1alpha2.AllocationSetColocationConstraint)(unsafe.Pointer(&in.Colocation)) + out.Colocation = *(*[]v1alpha3.AllocationSetColocationConstraint)(unsafe.Pointer(&in.Colocation)) return nil } -// Convert_v1alpha1_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints is an autogenerated conversion function. -func Convert_v1alpha1_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(in *AllocationSetConstraints, out *v1alpha2.AllocationSetConstraints, s conversion.Scope) error { - return autoConvert_v1alpha1_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(in, out, s) +// Convert_v1alpha1_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints is an autogenerated conversion function. +func Convert_v1alpha1_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(in *AllocationSetConstraints, out *v1alpha3.AllocationSetConstraints, s conversion.Scope) error { + return autoConvert_v1alpha1_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(in, out, s) } -func autoConvert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(in *v1alpha2.AllocationSetConstraints, out *AllocationSetConstraints, s conversion.Scope) error { +func autoConvert_v1alpha3_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(in *v1alpha3.AllocationSetConstraints, out *AllocationSetConstraints, s conversion.Scope) error { out.Labels = *(*[]string)(unsafe.Pointer(&in.Labels)) out.Scale = in.Scale out.Count = in.Count @@ -689,57 +689,57 @@ func autoConvert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetCons return nil } -// Convert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints is an autogenerated conversion function. -func Convert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(in *v1alpha2.AllocationSetConstraints, out *AllocationSetConstraints, s conversion.Scope) error { - return autoConvert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(in, out, s) +// Convert_v1alpha3_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints is an autogenerated conversion function. +func Convert_v1alpha3_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(in *v1alpha3.AllocationSetConstraints, out *AllocationSetConstraints, s conversion.Scope) error { + return autoConvert_v1alpha3_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(in, out, s) } -func autoConvert_v1alpha1_ClientMount_To_v1alpha2_ClientMount(in *ClientMount, out *v1alpha2.ClientMount, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMount_To_v1alpha3_ClientMount(in *ClientMount, out *v1alpha3.ClientMount, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_ClientMountSpec_To_v1alpha2_ClientMountSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_ClientMountSpec_To_v1alpha3_ClientMountSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_ClientMountStatus_To_v1alpha2_ClientMountStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_ClientMountStatus_To_v1alpha3_ClientMountStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_ClientMount_To_v1alpha2_ClientMount is an autogenerated conversion function. -func Convert_v1alpha1_ClientMount_To_v1alpha2_ClientMount(in *ClientMount, out *v1alpha2.ClientMount, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMount_To_v1alpha2_ClientMount(in, out, s) +// Convert_v1alpha1_ClientMount_To_v1alpha3_ClientMount is an autogenerated conversion function. +func Convert_v1alpha1_ClientMount_To_v1alpha3_ClientMount(in *ClientMount, out *v1alpha3.ClientMount, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMount_To_v1alpha3_ClientMount(in, out, s) } -func autoConvert_v1alpha2_ClientMount_To_v1alpha1_ClientMount(in *v1alpha2.ClientMount, out *ClientMount, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMount_To_v1alpha1_ClientMount(in *v1alpha3.ClientMount, out *ClientMount, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_ClientMountSpec_To_v1alpha1_ClientMountSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_ClientMountSpec_To_v1alpha1_ClientMountSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_ClientMountStatus_To_v1alpha1_ClientMountStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_ClientMountStatus_To_v1alpha1_ClientMountStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_ClientMount_To_v1alpha1_ClientMount is an autogenerated conversion function. -func Convert_v1alpha2_ClientMount_To_v1alpha1_ClientMount(in *v1alpha2.ClientMount, out *ClientMount, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMount_To_v1alpha1_ClientMount(in, out, s) +// Convert_v1alpha3_ClientMount_To_v1alpha1_ClientMount is an autogenerated conversion function. +func Convert_v1alpha3_ClientMount_To_v1alpha1_ClientMount(in *v1alpha3.ClientMount, out *ClientMount, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMount_To_v1alpha1_ClientMount(in, out, s) } -func autoConvert_v1alpha1_ClientMountDevice_To_v1alpha2_ClientMountDevice(in *ClientMountDevice, out *v1alpha2.ClientMountDevice, s conversion.Scope) error { - out.Type = v1alpha2.ClientMountDeviceType(in.Type) - out.Lustre = (*v1alpha2.ClientMountDeviceLustre)(unsafe.Pointer(in.Lustre)) - out.LVM = (*v1alpha2.ClientMountDeviceLVM)(unsafe.Pointer(in.LVM)) - out.DeviceReference = (*v1alpha2.ClientMountDeviceReference)(unsafe.Pointer(in.DeviceReference)) +func autoConvert_v1alpha1_ClientMountDevice_To_v1alpha3_ClientMountDevice(in *ClientMountDevice, out *v1alpha3.ClientMountDevice, s conversion.Scope) error { + out.Type = v1alpha3.ClientMountDeviceType(in.Type) + out.Lustre = (*v1alpha3.ClientMountDeviceLustre)(unsafe.Pointer(in.Lustre)) + out.LVM = (*v1alpha3.ClientMountDeviceLVM)(unsafe.Pointer(in.LVM)) + out.DeviceReference = (*v1alpha3.ClientMountDeviceReference)(unsafe.Pointer(in.DeviceReference)) return nil } -// Convert_v1alpha1_ClientMountDevice_To_v1alpha2_ClientMountDevice is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountDevice_To_v1alpha2_ClientMountDevice(in *ClientMountDevice, out *v1alpha2.ClientMountDevice, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountDevice_To_v1alpha2_ClientMountDevice(in, out, s) +// Convert_v1alpha1_ClientMountDevice_To_v1alpha3_ClientMountDevice is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountDevice_To_v1alpha3_ClientMountDevice(in *ClientMountDevice, out *v1alpha3.ClientMountDevice, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountDevice_To_v1alpha3_ClientMountDevice(in, out, s) } -func autoConvert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice(in *v1alpha2.ClientMountDevice, out *ClientMountDevice, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountDevice_To_v1alpha1_ClientMountDevice(in *v1alpha3.ClientMountDevice, out *ClientMountDevice, s conversion.Scope) error { out.Type = ClientMountDeviceType(in.Type) out.Lustre = (*ClientMountDeviceLustre)(unsafe.Pointer(in.Lustre)) out.LVM = (*ClientMountDeviceLVM)(unsafe.Pointer(in.LVM)) @@ -747,25 +747,25 @@ func autoConvert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice(in *v1 return nil } -// Convert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice(in *v1alpha2.ClientMountDevice, out *ClientMountDevice, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice(in, out, s) +// Convert_v1alpha3_ClientMountDevice_To_v1alpha1_ClientMountDevice is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDevice_To_v1alpha1_ClientMountDevice(in *v1alpha3.ClientMountDevice, out *ClientMountDevice, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDevice_To_v1alpha1_ClientMountDevice(in, out, s) } -func autoConvert_v1alpha1_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(in *ClientMountDeviceLVM, out *v1alpha2.ClientMountDeviceLVM, s conversion.Scope) error { - out.DeviceType = v1alpha2.ClientMountLVMDeviceType(in.DeviceType) - out.NVMeInfo = *(*[]v1alpha2.ClientMountNVMeDesc)(unsafe.Pointer(&in.NVMeInfo)) +func autoConvert_v1alpha1_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(in *ClientMountDeviceLVM, out *v1alpha3.ClientMountDeviceLVM, s conversion.Scope) error { + out.DeviceType = v1alpha3.ClientMountLVMDeviceType(in.DeviceType) + out.NVMeInfo = *(*[]v1alpha3.ClientMountNVMeDesc)(unsafe.Pointer(&in.NVMeInfo)) out.VolumeGroup = in.VolumeGroup out.LogicalVolume = in.LogicalVolume return nil } -// Convert_v1alpha1_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(in *ClientMountDeviceLVM, out *v1alpha2.ClientMountDeviceLVM, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(in, out, s) +// Convert_v1alpha1_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(in *ClientMountDeviceLVM, out *v1alpha3.ClientMountDeviceLVM, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(in, out, s) } -func autoConvert_v1alpha2_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(in *v1alpha2.ClientMountDeviceLVM, out *ClientMountDeviceLVM, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(in *v1alpha3.ClientMountDeviceLVM, out *ClientMountDeviceLVM, s conversion.Scope) error { out.DeviceType = ClientMountLVMDeviceType(in.DeviceType) out.NVMeInfo = *(*[]ClientMountNVMeDesc)(unsafe.Pointer(&in.NVMeInfo)) out.VolumeGroup = in.VolumeGroup @@ -773,62 +773,62 @@ func autoConvert_v1alpha2_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM( return nil } -// Convert_v1alpha2_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(in *v1alpha2.ClientMountDeviceLVM, out *ClientMountDeviceLVM, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(in, out, s) +// Convert_v1alpha3_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(in *v1alpha3.ClientMountDeviceLVM, out *ClientMountDeviceLVM, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDeviceLVM_To_v1alpha1_ClientMountDeviceLVM(in, out, s) } -func autoConvert_v1alpha1_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(in *ClientMountDeviceLustre, out *v1alpha2.ClientMountDeviceLustre, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(in *ClientMountDeviceLustre, out *v1alpha3.ClientMountDeviceLustre, s conversion.Scope) error { out.FileSystemName = in.FileSystemName out.MgsAddresses = in.MgsAddresses return nil } -// Convert_v1alpha1_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(in *ClientMountDeviceLustre, out *v1alpha2.ClientMountDeviceLustre, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(in, out, s) +// Convert_v1alpha1_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(in *ClientMountDeviceLustre, out *v1alpha3.ClientMountDeviceLustre, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(in, out, s) } -func autoConvert_v1alpha2_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(in *v1alpha2.ClientMountDeviceLustre, out *ClientMountDeviceLustre, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(in *v1alpha3.ClientMountDeviceLustre, out *ClientMountDeviceLustre, s conversion.Scope) error { out.FileSystemName = in.FileSystemName out.MgsAddresses = in.MgsAddresses return nil } -// Convert_v1alpha2_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(in *v1alpha2.ClientMountDeviceLustre, out *ClientMountDeviceLustre, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(in, out, s) +// Convert_v1alpha3_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(in *v1alpha3.ClientMountDeviceLustre, out *ClientMountDeviceLustre, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDeviceLustre_To_v1alpha1_ClientMountDeviceLustre(in, out, s) } -func autoConvert_v1alpha1_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(in *ClientMountDeviceReference, out *v1alpha2.ClientMountDeviceReference, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(in *ClientMountDeviceReference, out *v1alpha3.ClientMountDeviceReference, s conversion.Scope) error { out.ObjectReference = in.ObjectReference out.Data = in.Data return nil } -// Convert_v1alpha1_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(in *ClientMountDeviceReference, out *v1alpha2.ClientMountDeviceReference, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(in, out, s) +// Convert_v1alpha1_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(in *ClientMountDeviceReference, out *v1alpha3.ClientMountDeviceReference, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(in, out, s) } -func autoConvert_v1alpha2_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(in *v1alpha2.ClientMountDeviceReference, out *ClientMountDeviceReference, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(in *v1alpha3.ClientMountDeviceReference, out *ClientMountDeviceReference, s conversion.Scope) error { out.ObjectReference = in.ObjectReference out.Data = in.Data return nil } -// Convert_v1alpha2_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(in *v1alpha2.ClientMountDeviceReference, out *ClientMountDeviceReference, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(in, out, s) +// Convert_v1alpha3_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(in *v1alpha3.ClientMountDeviceReference, out *ClientMountDeviceReference, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDeviceReference_To_v1alpha1_ClientMountDeviceReference(in, out, s) } -func autoConvert_v1alpha1_ClientMountInfo_To_v1alpha2_ClientMountInfo(in *ClientMountInfo, out *v1alpha2.ClientMountInfo, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMountInfo_To_v1alpha3_ClientMountInfo(in *ClientMountInfo, out *v1alpha3.ClientMountInfo, s conversion.Scope) error { out.MountPath = in.MountPath out.UserID = in.UserID out.GroupID = in.GroupID out.SetPermissions = in.SetPermissions out.Options = in.Options - if err := Convert_v1alpha1_ClientMountDevice_To_v1alpha2_ClientMountDevice(&in.Device, &out.Device, s); err != nil { + if err := Convert_v1alpha1_ClientMountDevice_To_v1alpha3_ClientMountDevice(&in.Device, &out.Device, s); err != nil { return err } out.Type = in.Type @@ -837,18 +837,18 @@ func autoConvert_v1alpha1_ClientMountInfo_To_v1alpha2_ClientMountInfo(in *Client return nil } -// Convert_v1alpha1_ClientMountInfo_To_v1alpha2_ClientMountInfo is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountInfo_To_v1alpha2_ClientMountInfo(in *ClientMountInfo, out *v1alpha2.ClientMountInfo, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountInfo_To_v1alpha2_ClientMountInfo(in, out, s) +// Convert_v1alpha1_ClientMountInfo_To_v1alpha3_ClientMountInfo is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountInfo_To_v1alpha3_ClientMountInfo(in *ClientMountInfo, out *v1alpha3.ClientMountInfo, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountInfo_To_v1alpha3_ClientMountInfo(in, out, s) } -func autoConvert_v1alpha2_ClientMountInfo_To_v1alpha1_ClientMountInfo(in *v1alpha2.ClientMountInfo, out *ClientMountInfo, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountInfo_To_v1alpha1_ClientMountInfo(in *v1alpha3.ClientMountInfo, out *ClientMountInfo, s conversion.Scope) error { out.MountPath = in.MountPath out.UserID = in.UserID out.GroupID = in.GroupID out.SetPermissions = in.SetPermissions out.Options = in.Options - if err := Convert_v1alpha2_ClientMountDevice_To_v1alpha1_ClientMountDevice(&in.Device, &out.Device, s); err != nil { + if err := Convert_v1alpha3_ClientMountDevice_To_v1alpha1_ClientMountDevice(&in.Device, &out.Device, s); err != nil { return err } out.Type = in.Type @@ -857,40 +857,40 @@ func autoConvert_v1alpha2_ClientMountInfo_To_v1alpha1_ClientMountInfo(in *v1alph return nil } -// Convert_v1alpha2_ClientMountInfo_To_v1alpha1_ClientMountInfo is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountInfo_To_v1alpha1_ClientMountInfo(in *v1alpha2.ClientMountInfo, out *ClientMountInfo, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountInfo_To_v1alpha1_ClientMountInfo(in, out, s) +// Convert_v1alpha3_ClientMountInfo_To_v1alpha1_ClientMountInfo is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountInfo_To_v1alpha1_ClientMountInfo(in *v1alpha3.ClientMountInfo, out *ClientMountInfo, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountInfo_To_v1alpha1_ClientMountInfo(in, out, s) } -func autoConvert_v1alpha1_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(in *ClientMountInfoStatus, out *v1alpha2.ClientMountInfoStatus, s conversion.Scope) error { - out.State = v1alpha2.ClientMountState(in.State) +func autoConvert_v1alpha1_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(in *ClientMountInfoStatus, out *v1alpha3.ClientMountInfoStatus, s conversion.Scope) error { + out.State = v1alpha3.ClientMountState(in.State) out.Ready = in.Ready return nil } -// Convert_v1alpha1_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(in *ClientMountInfoStatus, out *v1alpha2.ClientMountInfoStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(in, out, s) +// Convert_v1alpha1_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(in *ClientMountInfoStatus, out *v1alpha3.ClientMountInfoStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(in, out, s) } -func autoConvert_v1alpha2_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(in *v1alpha2.ClientMountInfoStatus, out *ClientMountInfoStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(in *v1alpha3.ClientMountInfoStatus, out *ClientMountInfoStatus, s conversion.Scope) error { out.State = ClientMountState(in.State) out.Ready = in.Ready return nil } -// Convert_v1alpha2_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(in *v1alpha2.ClientMountInfoStatus, out *ClientMountInfoStatus, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(in, out, s) +// Convert_v1alpha3_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(in *v1alpha3.ClientMountInfoStatus, out *ClientMountInfoStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountInfoStatus_To_v1alpha1_ClientMountInfoStatus(in, out, s) } -func autoConvert_v1alpha1_ClientMountList_To_v1alpha2_ClientMountList(in *ClientMountList, out *v1alpha2.ClientMountList, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMountList_To_v1alpha3_ClientMountList(in *ClientMountList, out *v1alpha3.ClientMountList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.ClientMount, len(*in)) + *out = make([]v1alpha3.ClientMount, len(*in)) for i := range *in { - if err := Convert_v1alpha1_ClientMount_To_v1alpha2_ClientMount(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_ClientMount_To_v1alpha3_ClientMount(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -900,18 +900,18 @@ func autoConvert_v1alpha1_ClientMountList_To_v1alpha2_ClientMountList(in *Client return nil } -// Convert_v1alpha1_ClientMountList_To_v1alpha2_ClientMountList is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountList_To_v1alpha2_ClientMountList(in *ClientMountList, out *v1alpha2.ClientMountList, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountList_To_v1alpha2_ClientMountList(in, out, s) +// Convert_v1alpha1_ClientMountList_To_v1alpha3_ClientMountList is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountList_To_v1alpha3_ClientMountList(in *ClientMountList, out *v1alpha3.ClientMountList, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountList_To_v1alpha3_ClientMountList(in, out, s) } -func autoConvert_v1alpha2_ClientMountList_To_v1alpha1_ClientMountList(in *v1alpha2.ClientMountList, out *ClientMountList, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountList_To_v1alpha1_ClientMountList(in *v1alpha3.ClientMountList, out *ClientMountList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClientMount, len(*in)) for i := range *in { - if err := Convert_v1alpha2_ClientMount_To_v1alpha1_ClientMount(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_ClientMount_To_v1alpha1_ClientMount(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -921,316 +921,316 @@ func autoConvert_v1alpha2_ClientMountList_To_v1alpha1_ClientMountList(in *v1alph return nil } -// Convert_v1alpha2_ClientMountList_To_v1alpha1_ClientMountList is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountList_To_v1alpha1_ClientMountList(in *v1alpha2.ClientMountList, out *ClientMountList, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountList_To_v1alpha1_ClientMountList(in, out, s) +// Convert_v1alpha3_ClientMountList_To_v1alpha1_ClientMountList is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountList_To_v1alpha1_ClientMountList(in *v1alpha3.ClientMountList, out *ClientMountList, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountList_To_v1alpha1_ClientMountList(in, out, s) } -func autoConvert_v1alpha1_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(in *ClientMountNVMeDesc, out *v1alpha2.ClientMountNVMeDesc, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(in *ClientMountNVMeDesc, out *v1alpha3.ClientMountNVMeDesc, s conversion.Scope) error { out.DeviceSerial = in.DeviceSerial out.NamespaceID = in.NamespaceID out.NamespaceGUID = in.NamespaceGUID return nil } -// Convert_v1alpha1_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(in *ClientMountNVMeDesc, out *v1alpha2.ClientMountNVMeDesc, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(in, out, s) +// Convert_v1alpha1_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(in *ClientMountNVMeDesc, out *v1alpha3.ClientMountNVMeDesc, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(in, out, s) } -func autoConvert_v1alpha2_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(in *v1alpha2.ClientMountNVMeDesc, out *ClientMountNVMeDesc, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(in *v1alpha3.ClientMountNVMeDesc, out *ClientMountNVMeDesc, s conversion.Scope) error { out.DeviceSerial = in.DeviceSerial out.NamespaceID = in.NamespaceID out.NamespaceGUID = in.NamespaceGUID return nil } -// Convert_v1alpha2_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(in *v1alpha2.ClientMountNVMeDesc, out *ClientMountNVMeDesc, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(in, out, s) +// Convert_v1alpha3_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(in *v1alpha3.ClientMountNVMeDesc, out *ClientMountNVMeDesc, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountNVMeDesc_To_v1alpha1_ClientMountNVMeDesc(in, out, s) } -func autoConvert_v1alpha1_ClientMountSpec_To_v1alpha2_ClientMountSpec(in *ClientMountSpec, out *v1alpha2.ClientMountSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_ClientMountSpec_To_v1alpha3_ClientMountSpec(in *ClientMountSpec, out *v1alpha3.ClientMountSpec, s conversion.Scope) error { out.Node = in.Node - out.DesiredState = v1alpha2.ClientMountState(in.DesiredState) - out.Mounts = *(*[]v1alpha2.ClientMountInfo)(unsafe.Pointer(&in.Mounts)) + out.DesiredState = v1alpha3.ClientMountState(in.DesiredState) + out.Mounts = *(*[]v1alpha3.ClientMountInfo)(unsafe.Pointer(&in.Mounts)) return nil } -// Convert_v1alpha1_ClientMountSpec_To_v1alpha2_ClientMountSpec is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountSpec_To_v1alpha2_ClientMountSpec(in *ClientMountSpec, out *v1alpha2.ClientMountSpec, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountSpec_To_v1alpha2_ClientMountSpec(in, out, s) +// Convert_v1alpha1_ClientMountSpec_To_v1alpha3_ClientMountSpec is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountSpec_To_v1alpha3_ClientMountSpec(in *ClientMountSpec, out *v1alpha3.ClientMountSpec, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountSpec_To_v1alpha3_ClientMountSpec(in, out, s) } -func autoConvert_v1alpha2_ClientMountSpec_To_v1alpha1_ClientMountSpec(in *v1alpha2.ClientMountSpec, out *ClientMountSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountSpec_To_v1alpha1_ClientMountSpec(in *v1alpha3.ClientMountSpec, out *ClientMountSpec, s conversion.Scope) error { out.Node = in.Node out.DesiredState = ClientMountState(in.DesiredState) out.Mounts = *(*[]ClientMountInfo)(unsafe.Pointer(&in.Mounts)) return nil } -// Convert_v1alpha2_ClientMountSpec_To_v1alpha1_ClientMountSpec is an autogenerated conversion function. -func Convert_v1alpha2_ClientMountSpec_To_v1alpha1_ClientMountSpec(in *v1alpha2.ClientMountSpec, out *ClientMountSpec, s conversion.Scope) error { - return autoConvert_v1alpha2_ClientMountSpec_To_v1alpha1_ClientMountSpec(in, out, s) +// Convert_v1alpha3_ClientMountSpec_To_v1alpha1_ClientMountSpec is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountSpec_To_v1alpha1_ClientMountSpec(in *v1alpha3.ClientMountSpec, out *ClientMountSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountSpec_To_v1alpha1_ClientMountSpec(in, out, s) } -func autoConvert_v1alpha1_ClientMountStatus_To_v1alpha2_ClientMountStatus(in *ClientMountStatus, out *v1alpha2.ClientMountStatus, s conversion.Scope) error { - out.Mounts = *(*[]v1alpha2.ClientMountInfoStatus)(unsafe.Pointer(&in.Mounts)) - if err := Convert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { +func autoConvert_v1alpha1_ClientMountStatus_To_v1alpha3_ClientMountStatus(in *ClientMountStatus, out *v1alpha3.ClientMountStatus, s conversion.Scope) error { + out.Mounts = *(*[]v1alpha3.ClientMountInfoStatus)(unsafe.Pointer(&in.Mounts)) + if err := Convert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { return err } return nil } -// Convert_v1alpha1_ClientMountStatus_To_v1alpha2_ClientMountStatus is an autogenerated conversion function. -func Convert_v1alpha1_ClientMountStatus_To_v1alpha2_ClientMountStatus(in *ClientMountStatus, out *v1alpha2.ClientMountStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_ClientMountStatus_To_v1alpha2_ClientMountStatus(in, out, s) +// Convert_v1alpha1_ClientMountStatus_To_v1alpha3_ClientMountStatus is an autogenerated conversion function. +func Convert_v1alpha1_ClientMountStatus_To_v1alpha3_ClientMountStatus(in *ClientMountStatus, out *v1alpha3.ClientMountStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_ClientMountStatus_To_v1alpha3_ClientMountStatus(in, out, s) } -func autoConvert_v1alpha2_ClientMountStatus_To_v1alpha1_ClientMountStatus(in *v1alpha2.ClientMountStatus, out *ClientMountStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_ClientMountStatus_To_v1alpha1_ClientMountStatus(in *v1alpha3.ClientMountStatus, out *ClientMountStatus, s conversion.Scope) error { out.Mounts = *(*[]ClientMountInfoStatus)(unsafe.Pointer(&in.Mounts)) // WARNING: in.AllReady requires manual conversion: does not exist in peer-type - if err := Convert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + if err := Convert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { return err } return nil } -func autoConvert_v1alpha1_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(in *ComputeBreakdown, out *v1alpha2.ComputeBreakdown, s conversion.Scope) error { - if err := Convert_v1alpha1_ComputeConstraints_To_v1alpha2_ComputeConstraints(&in.Constraints, &out.Constraints, s); err != nil { +func autoConvert_v1alpha1_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(in *ComputeBreakdown, out *v1alpha3.ComputeBreakdown, s conversion.Scope) error { + if err := Convert_v1alpha1_ComputeConstraints_To_v1alpha3_ComputeConstraints(&in.Constraints, &out.Constraints, s); err != nil { return err } return nil } -// Convert_v1alpha1_ComputeBreakdown_To_v1alpha2_ComputeBreakdown is an autogenerated conversion function. -func Convert_v1alpha1_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(in *ComputeBreakdown, out *v1alpha2.ComputeBreakdown, s conversion.Scope) error { - return autoConvert_v1alpha1_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(in, out, s) +// Convert_v1alpha1_ComputeBreakdown_To_v1alpha3_ComputeBreakdown is an autogenerated conversion function. +func Convert_v1alpha1_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(in *ComputeBreakdown, out *v1alpha3.ComputeBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha1_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(in, out, s) } -func autoConvert_v1alpha2_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(in *v1alpha2.ComputeBreakdown, out *ComputeBreakdown, s conversion.Scope) error { - if err := Convert_v1alpha2_ComputeConstraints_To_v1alpha1_ComputeConstraints(&in.Constraints, &out.Constraints, s); err != nil { +func autoConvert_v1alpha3_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(in *v1alpha3.ComputeBreakdown, out *ComputeBreakdown, s conversion.Scope) error { + if err := Convert_v1alpha3_ComputeConstraints_To_v1alpha1_ComputeConstraints(&in.Constraints, &out.Constraints, s); err != nil { return err } return nil } -// Convert_v1alpha2_ComputeBreakdown_To_v1alpha1_ComputeBreakdown is an autogenerated conversion function. -func Convert_v1alpha2_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(in *v1alpha2.ComputeBreakdown, out *ComputeBreakdown, s conversion.Scope) error { - return autoConvert_v1alpha2_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(in, out, s) +// Convert_v1alpha3_ComputeBreakdown_To_v1alpha1_ComputeBreakdown is an autogenerated conversion function. +func Convert_v1alpha3_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(in *v1alpha3.ComputeBreakdown, out *ComputeBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeBreakdown_To_v1alpha1_ComputeBreakdown(in, out, s) } -func autoConvert_v1alpha1_ComputeConstraints_To_v1alpha2_ComputeConstraints(in *ComputeConstraints, out *v1alpha2.ComputeConstraints, s conversion.Scope) error { - out.Location = *(*[]v1alpha2.ComputeLocationConstraint)(unsafe.Pointer(&in.Location)) +func autoConvert_v1alpha1_ComputeConstraints_To_v1alpha3_ComputeConstraints(in *ComputeConstraints, out *v1alpha3.ComputeConstraints, s conversion.Scope) error { + out.Location = *(*[]v1alpha3.ComputeLocationConstraint)(unsafe.Pointer(&in.Location)) return nil } -// Convert_v1alpha1_ComputeConstraints_To_v1alpha2_ComputeConstraints is an autogenerated conversion function. -func Convert_v1alpha1_ComputeConstraints_To_v1alpha2_ComputeConstraints(in *ComputeConstraints, out *v1alpha2.ComputeConstraints, s conversion.Scope) error { - return autoConvert_v1alpha1_ComputeConstraints_To_v1alpha2_ComputeConstraints(in, out, s) +// Convert_v1alpha1_ComputeConstraints_To_v1alpha3_ComputeConstraints is an autogenerated conversion function. +func Convert_v1alpha1_ComputeConstraints_To_v1alpha3_ComputeConstraints(in *ComputeConstraints, out *v1alpha3.ComputeConstraints, s conversion.Scope) error { + return autoConvert_v1alpha1_ComputeConstraints_To_v1alpha3_ComputeConstraints(in, out, s) } -func autoConvert_v1alpha2_ComputeConstraints_To_v1alpha1_ComputeConstraints(in *v1alpha2.ComputeConstraints, out *ComputeConstraints, s conversion.Scope) error { +func autoConvert_v1alpha3_ComputeConstraints_To_v1alpha1_ComputeConstraints(in *v1alpha3.ComputeConstraints, out *ComputeConstraints, s conversion.Scope) error { out.Location = *(*[]ComputeLocationConstraint)(unsafe.Pointer(&in.Location)) return nil } -// Convert_v1alpha2_ComputeConstraints_To_v1alpha1_ComputeConstraints is an autogenerated conversion function. -func Convert_v1alpha2_ComputeConstraints_To_v1alpha1_ComputeConstraints(in *v1alpha2.ComputeConstraints, out *ComputeConstraints, s conversion.Scope) error { - return autoConvert_v1alpha2_ComputeConstraints_To_v1alpha1_ComputeConstraints(in, out, s) +// Convert_v1alpha3_ComputeConstraints_To_v1alpha1_ComputeConstraints is an autogenerated conversion function. +func Convert_v1alpha3_ComputeConstraints_To_v1alpha1_ComputeConstraints(in *v1alpha3.ComputeConstraints, out *ComputeConstraints, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeConstraints_To_v1alpha1_ComputeConstraints(in, out, s) } -func autoConvert_v1alpha1_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(in *ComputeLocationAccess, out *v1alpha2.ComputeLocationAccess, s conversion.Scope) error { - out.Type = v1alpha2.ComputeLocationType(in.Type) - out.Priority = v1alpha2.ComputeLocationPriority(in.Priority) +func autoConvert_v1alpha1_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(in *ComputeLocationAccess, out *v1alpha3.ComputeLocationAccess, s conversion.Scope) error { + out.Type = v1alpha3.ComputeLocationType(in.Type) + out.Priority = v1alpha3.ComputeLocationPriority(in.Priority) return nil } -// Convert_v1alpha1_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess is an autogenerated conversion function. -func Convert_v1alpha1_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(in *ComputeLocationAccess, out *v1alpha2.ComputeLocationAccess, s conversion.Scope) error { - return autoConvert_v1alpha1_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(in, out, s) +// Convert_v1alpha1_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess is an autogenerated conversion function. +func Convert_v1alpha1_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(in *ComputeLocationAccess, out *v1alpha3.ComputeLocationAccess, s conversion.Scope) error { + return autoConvert_v1alpha1_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(in, out, s) } -func autoConvert_v1alpha2_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(in *v1alpha2.ComputeLocationAccess, out *ComputeLocationAccess, s conversion.Scope) error { +func autoConvert_v1alpha3_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(in *v1alpha3.ComputeLocationAccess, out *ComputeLocationAccess, s conversion.Scope) error { out.Type = ComputeLocationType(in.Type) out.Priority = ComputeLocationPriority(in.Priority) return nil } -// Convert_v1alpha2_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess is an autogenerated conversion function. -func Convert_v1alpha2_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(in *v1alpha2.ComputeLocationAccess, out *ComputeLocationAccess, s conversion.Scope) error { - return autoConvert_v1alpha2_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(in, out, s) +// Convert_v1alpha3_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess is an autogenerated conversion function. +func Convert_v1alpha3_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(in *v1alpha3.ComputeLocationAccess, out *ComputeLocationAccess, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeLocationAccess_To_v1alpha1_ComputeLocationAccess(in, out, s) } -func autoConvert_v1alpha1_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(in *ComputeLocationConstraint, out *v1alpha2.ComputeLocationConstraint, s conversion.Scope) error { - out.Access = *(*[]v1alpha2.ComputeLocationAccess)(unsafe.Pointer(&in.Access)) +func autoConvert_v1alpha1_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(in *ComputeLocationConstraint, out *v1alpha3.ComputeLocationConstraint, s conversion.Scope) error { + out.Access = *(*[]v1alpha3.ComputeLocationAccess)(unsafe.Pointer(&in.Access)) out.Reference = in.Reference return nil } -// Convert_v1alpha1_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint is an autogenerated conversion function. -func Convert_v1alpha1_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(in *ComputeLocationConstraint, out *v1alpha2.ComputeLocationConstraint, s conversion.Scope) error { - return autoConvert_v1alpha1_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(in, out, s) +// Convert_v1alpha1_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint is an autogenerated conversion function. +func Convert_v1alpha1_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(in *ComputeLocationConstraint, out *v1alpha3.ComputeLocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha1_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(in, out, s) } -func autoConvert_v1alpha2_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(in *v1alpha2.ComputeLocationConstraint, out *ComputeLocationConstraint, s conversion.Scope) error { +func autoConvert_v1alpha3_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(in *v1alpha3.ComputeLocationConstraint, out *ComputeLocationConstraint, s conversion.Scope) error { out.Access = *(*[]ComputeLocationAccess)(unsafe.Pointer(&in.Access)) out.Reference = in.Reference return nil } -// Convert_v1alpha2_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint is an autogenerated conversion function. -func Convert_v1alpha2_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(in *v1alpha2.ComputeLocationConstraint, out *ComputeLocationConstraint, s conversion.Scope) error { - return autoConvert_v1alpha2_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(in, out, s) +// Convert_v1alpha3_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint is an autogenerated conversion function. +func Convert_v1alpha3_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(in *v1alpha3.ComputeLocationConstraint, out *ComputeLocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeLocationConstraint_To_v1alpha1_ComputeLocationConstraint(in, out, s) } -func autoConvert_v1alpha1_Computes_To_v1alpha2_Computes(in *Computes, out *v1alpha2.Computes, s conversion.Scope) error { +func autoConvert_v1alpha1_Computes_To_v1alpha3_Computes(in *Computes, out *v1alpha3.Computes, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - out.Data = *(*[]v1alpha2.ComputesData)(unsafe.Pointer(&in.Data)) + out.Data = *(*[]v1alpha3.ComputesData)(unsafe.Pointer(&in.Data)) return nil } -// Convert_v1alpha1_Computes_To_v1alpha2_Computes is an autogenerated conversion function. -func Convert_v1alpha1_Computes_To_v1alpha2_Computes(in *Computes, out *v1alpha2.Computes, s conversion.Scope) error { - return autoConvert_v1alpha1_Computes_To_v1alpha2_Computes(in, out, s) +// Convert_v1alpha1_Computes_To_v1alpha3_Computes is an autogenerated conversion function. +func Convert_v1alpha1_Computes_To_v1alpha3_Computes(in *Computes, out *v1alpha3.Computes, s conversion.Scope) error { + return autoConvert_v1alpha1_Computes_To_v1alpha3_Computes(in, out, s) } -func autoConvert_v1alpha2_Computes_To_v1alpha1_Computes(in *v1alpha2.Computes, out *Computes, s conversion.Scope) error { +func autoConvert_v1alpha3_Computes_To_v1alpha1_Computes(in *v1alpha3.Computes, out *Computes, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta out.Data = *(*[]ComputesData)(unsafe.Pointer(&in.Data)) return nil } -// Convert_v1alpha2_Computes_To_v1alpha1_Computes is an autogenerated conversion function. -func Convert_v1alpha2_Computes_To_v1alpha1_Computes(in *v1alpha2.Computes, out *Computes, s conversion.Scope) error { - return autoConvert_v1alpha2_Computes_To_v1alpha1_Computes(in, out, s) +// Convert_v1alpha3_Computes_To_v1alpha1_Computes is an autogenerated conversion function. +func Convert_v1alpha3_Computes_To_v1alpha1_Computes(in *v1alpha3.Computes, out *Computes, s conversion.Scope) error { + return autoConvert_v1alpha3_Computes_To_v1alpha1_Computes(in, out, s) } -func autoConvert_v1alpha1_ComputesData_To_v1alpha2_ComputesData(in *ComputesData, out *v1alpha2.ComputesData, s conversion.Scope) error { +func autoConvert_v1alpha1_ComputesData_To_v1alpha3_ComputesData(in *ComputesData, out *v1alpha3.ComputesData, s conversion.Scope) error { out.Name = in.Name return nil } -// Convert_v1alpha1_ComputesData_To_v1alpha2_ComputesData is an autogenerated conversion function. -func Convert_v1alpha1_ComputesData_To_v1alpha2_ComputesData(in *ComputesData, out *v1alpha2.ComputesData, s conversion.Scope) error { - return autoConvert_v1alpha1_ComputesData_To_v1alpha2_ComputesData(in, out, s) +// Convert_v1alpha1_ComputesData_To_v1alpha3_ComputesData is an autogenerated conversion function. +func Convert_v1alpha1_ComputesData_To_v1alpha3_ComputesData(in *ComputesData, out *v1alpha3.ComputesData, s conversion.Scope) error { + return autoConvert_v1alpha1_ComputesData_To_v1alpha3_ComputesData(in, out, s) } -func autoConvert_v1alpha2_ComputesData_To_v1alpha1_ComputesData(in *v1alpha2.ComputesData, out *ComputesData, s conversion.Scope) error { +func autoConvert_v1alpha3_ComputesData_To_v1alpha1_ComputesData(in *v1alpha3.ComputesData, out *ComputesData, s conversion.Scope) error { out.Name = in.Name return nil } -// Convert_v1alpha2_ComputesData_To_v1alpha1_ComputesData is an autogenerated conversion function. -func Convert_v1alpha2_ComputesData_To_v1alpha1_ComputesData(in *v1alpha2.ComputesData, out *ComputesData, s conversion.Scope) error { - return autoConvert_v1alpha2_ComputesData_To_v1alpha1_ComputesData(in, out, s) +// Convert_v1alpha3_ComputesData_To_v1alpha1_ComputesData is an autogenerated conversion function. +func Convert_v1alpha3_ComputesData_To_v1alpha1_ComputesData(in *v1alpha3.ComputesData, out *ComputesData, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputesData_To_v1alpha1_ComputesData(in, out, s) } -func autoConvert_v1alpha1_ComputesList_To_v1alpha2_ComputesList(in *ComputesList, out *v1alpha2.ComputesList, s conversion.Scope) error { +func autoConvert_v1alpha1_ComputesList_To_v1alpha3_ComputesList(in *ComputesList, out *v1alpha3.ComputesList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha2.Computes)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]v1alpha3.Computes)(unsafe.Pointer(&in.Items)) return nil } -// Convert_v1alpha1_ComputesList_To_v1alpha2_ComputesList is an autogenerated conversion function. -func Convert_v1alpha1_ComputesList_To_v1alpha2_ComputesList(in *ComputesList, out *v1alpha2.ComputesList, s conversion.Scope) error { - return autoConvert_v1alpha1_ComputesList_To_v1alpha2_ComputesList(in, out, s) +// Convert_v1alpha1_ComputesList_To_v1alpha3_ComputesList is an autogenerated conversion function. +func Convert_v1alpha1_ComputesList_To_v1alpha3_ComputesList(in *ComputesList, out *v1alpha3.ComputesList, s conversion.Scope) error { + return autoConvert_v1alpha1_ComputesList_To_v1alpha3_ComputesList(in, out, s) } -func autoConvert_v1alpha2_ComputesList_To_v1alpha1_ComputesList(in *v1alpha2.ComputesList, out *ComputesList, s conversion.Scope) error { +func autoConvert_v1alpha3_ComputesList_To_v1alpha1_ComputesList(in *v1alpha3.ComputesList, out *ComputesList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]Computes)(unsafe.Pointer(&in.Items)) return nil } -// Convert_v1alpha2_ComputesList_To_v1alpha1_ComputesList is an autogenerated conversion function. -func Convert_v1alpha2_ComputesList_To_v1alpha1_ComputesList(in *v1alpha2.ComputesList, out *ComputesList, s conversion.Scope) error { - return autoConvert_v1alpha2_ComputesList_To_v1alpha1_ComputesList(in, out, s) +// Convert_v1alpha3_ComputesList_To_v1alpha1_ComputesList is an autogenerated conversion function. +func Convert_v1alpha3_ComputesList_To_v1alpha1_ComputesList(in *v1alpha3.ComputesList, out *ComputesList, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputesList_To_v1alpha1_ComputesList(in, out, s) } -func autoConvert_v1alpha1_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(in *DWDirectiveRule, out *v1alpha2.DWDirectiveRule, s conversion.Scope) error { +func autoConvert_v1alpha1_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(in *DWDirectiveRule, out *v1alpha3.DWDirectiveRule, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta out.Spec = *(*[]dwdparse.DWDirectiveRuleSpec)(unsafe.Pointer(&in.Spec)) return nil } -// Convert_v1alpha1_DWDirectiveRule_To_v1alpha2_DWDirectiveRule is an autogenerated conversion function. -func Convert_v1alpha1_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(in *DWDirectiveRule, out *v1alpha2.DWDirectiveRule, s conversion.Scope) error { - return autoConvert_v1alpha1_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(in, out, s) +// Convert_v1alpha1_DWDirectiveRule_To_v1alpha3_DWDirectiveRule is an autogenerated conversion function. +func Convert_v1alpha1_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(in *DWDirectiveRule, out *v1alpha3.DWDirectiveRule, s conversion.Scope) error { + return autoConvert_v1alpha1_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(in, out, s) } -func autoConvert_v1alpha2_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(in *v1alpha2.DWDirectiveRule, out *DWDirectiveRule, s conversion.Scope) error { +func autoConvert_v1alpha3_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(in *v1alpha3.DWDirectiveRule, out *DWDirectiveRule, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta out.Spec = *(*[]dwdparse.DWDirectiveRuleSpec)(unsafe.Pointer(&in.Spec)) return nil } -// Convert_v1alpha2_DWDirectiveRule_To_v1alpha1_DWDirectiveRule is an autogenerated conversion function. -func Convert_v1alpha2_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(in *v1alpha2.DWDirectiveRule, out *DWDirectiveRule, s conversion.Scope) error { - return autoConvert_v1alpha2_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(in, out, s) +// Convert_v1alpha3_DWDirectiveRule_To_v1alpha1_DWDirectiveRule is an autogenerated conversion function. +func Convert_v1alpha3_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(in *v1alpha3.DWDirectiveRule, out *DWDirectiveRule, s conversion.Scope) error { + return autoConvert_v1alpha3_DWDirectiveRule_To_v1alpha1_DWDirectiveRule(in, out, s) } -func autoConvert_v1alpha1_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(in *DWDirectiveRuleList, out *v1alpha2.DWDirectiveRuleList, s conversion.Scope) error { +func autoConvert_v1alpha1_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(in *DWDirectiveRuleList, out *v1alpha3.DWDirectiveRuleList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha2.DWDirectiveRule)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]v1alpha3.DWDirectiveRule)(unsafe.Pointer(&in.Items)) return nil } -// Convert_v1alpha1_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList is an autogenerated conversion function. -func Convert_v1alpha1_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(in *DWDirectiveRuleList, out *v1alpha2.DWDirectiveRuleList, s conversion.Scope) error { - return autoConvert_v1alpha1_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(in, out, s) +// Convert_v1alpha1_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList is an autogenerated conversion function. +func Convert_v1alpha1_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(in *DWDirectiveRuleList, out *v1alpha3.DWDirectiveRuleList, s conversion.Scope) error { + return autoConvert_v1alpha1_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(in, out, s) } -func autoConvert_v1alpha2_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(in *v1alpha2.DWDirectiveRuleList, out *DWDirectiveRuleList, s conversion.Scope) error { +func autoConvert_v1alpha3_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(in *v1alpha3.DWDirectiveRuleList, out *DWDirectiveRuleList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]DWDirectiveRule)(unsafe.Pointer(&in.Items)) return nil } -// Convert_v1alpha2_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList is an autogenerated conversion function. -func Convert_v1alpha2_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(in *v1alpha2.DWDirectiveRuleList, out *DWDirectiveRuleList, s conversion.Scope) error { - return autoConvert_v1alpha2_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(in, out, s) +// Convert_v1alpha3_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList is an autogenerated conversion function. +func Convert_v1alpha3_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(in *v1alpha3.DWDirectiveRuleList, out *DWDirectiveRuleList, s conversion.Scope) error { + return autoConvert_v1alpha3_DWDirectiveRuleList_To_v1alpha1_DWDirectiveRuleList(in, out, s) } -func autoConvert_v1alpha1_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(in *DirectiveBreakdown, out *v1alpha2.DirectiveBreakdown, s conversion.Scope) error { +func autoConvert_v1alpha1_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(in *DirectiveBreakdown, out *v1alpha3.DirectiveBreakdown, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown is an autogenerated conversion function. -func Convert_v1alpha1_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(in *DirectiveBreakdown, out *v1alpha2.DirectiveBreakdown, s conversion.Scope) error { - return autoConvert_v1alpha1_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(in, out, s) +// Convert_v1alpha1_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown is an autogenerated conversion function. +func Convert_v1alpha1_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(in *DirectiveBreakdown, out *v1alpha3.DirectiveBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha1_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(in, out, s) } -func autoConvert_v1alpha2_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(in *v1alpha2.DirectiveBreakdown, out *DirectiveBreakdown, s conversion.Scope) error { +func autoConvert_v1alpha3_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(in *v1alpha3.DirectiveBreakdown, out *DirectiveBreakdown, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha1_DirectiveBreakdownStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha1_DirectiveBreakdownStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown is an autogenerated conversion function. -func Convert_v1alpha2_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(in *v1alpha2.DirectiveBreakdown, out *DirectiveBreakdown, s conversion.Scope) error { - return autoConvert_v1alpha2_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(in, out, s) +// Convert_v1alpha3_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(in *v1alpha3.DirectiveBreakdown, out *DirectiveBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(in, out, s) } -func autoConvert_v1alpha1_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(in *DirectiveBreakdownList, out *v1alpha2.DirectiveBreakdownList, s conversion.Scope) error { +func autoConvert_v1alpha1_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(in *DirectiveBreakdownList, out *v1alpha3.DirectiveBreakdownList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.DirectiveBreakdown, len(*in)) + *out = make([]v1alpha3.DirectiveBreakdown, len(*in)) for i := range *in { - if err := Convert_v1alpha1_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1240,18 +1240,18 @@ func autoConvert_v1alpha1_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownL return nil } -// Convert_v1alpha1_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList is an autogenerated conversion function. -func Convert_v1alpha1_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(in *DirectiveBreakdownList, out *v1alpha2.DirectiveBreakdownList, s conversion.Scope) error { - return autoConvert_v1alpha1_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(in, out, s) +// Convert_v1alpha1_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList is an autogenerated conversion function. +func Convert_v1alpha1_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(in *DirectiveBreakdownList, out *v1alpha3.DirectiveBreakdownList, s conversion.Scope) error { + return autoConvert_v1alpha1_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(in, out, s) } -func autoConvert_v1alpha2_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(in *v1alpha2.DirectiveBreakdownList, out *DirectiveBreakdownList, s conversion.Scope) error { +func autoConvert_v1alpha3_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(in *v1alpha3.DirectiveBreakdownList, out *DirectiveBreakdownList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DirectiveBreakdown, len(*in)) for i := range *in { - if err := Convert_v1alpha2_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_DirectiveBreakdown_To_v1alpha1_DirectiveBreakdown(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1261,120 +1261,120 @@ func autoConvert_v1alpha2_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownL return nil } -// Convert_v1alpha2_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList is an autogenerated conversion function. -func Convert_v1alpha2_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(in *v1alpha2.DirectiveBreakdownList, out *DirectiveBreakdownList, s conversion.Scope) error { - return autoConvert_v1alpha2_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(in, out, s) +// Convert_v1alpha3_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(in *v1alpha3.DirectiveBreakdownList, out *DirectiveBreakdownList, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdownList_To_v1alpha1_DirectiveBreakdownList(in, out, s) } -func autoConvert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(in *DirectiveBreakdownSpec, out *v1alpha2.DirectiveBreakdownSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(in *DirectiveBreakdownSpec, out *v1alpha3.DirectiveBreakdownSpec, s conversion.Scope) error { out.Directive = in.Directive out.UserID = in.UserID return nil } -// Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec is an autogenerated conversion function. -func Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(in *DirectiveBreakdownSpec, out *v1alpha2.DirectiveBreakdownSpec, s conversion.Scope) error { - return autoConvert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(in, out, s) +// Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec is an autogenerated conversion function. +func Convert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(in *DirectiveBreakdownSpec, out *v1alpha3.DirectiveBreakdownSpec, s conversion.Scope) error { + return autoConvert_v1alpha1_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(in, out, s) } -func autoConvert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(in *v1alpha2.DirectiveBreakdownSpec, out *DirectiveBreakdownSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(in *v1alpha3.DirectiveBreakdownSpec, out *DirectiveBreakdownSpec, s conversion.Scope) error { out.Directive = in.Directive out.UserID = in.UserID return nil } -// Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec is an autogenerated conversion function. -func Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(in *v1alpha2.DirectiveBreakdownSpec, out *DirectiveBreakdownSpec, s conversion.Scope) error { - return autoConvert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(in, out, s) +// Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(in *v1alpha3.DirectiveBreakdownSpec, out *DirectiveBreakdownSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha1_DirectiveBreakdownSpec(in, out, s) } -func autoConvert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(in *DirectiveBreakdownStatus, out *v1alpha2.DirectiveBreakdownStatus, s conversion.Scope) error { - out.Storage = (*v1alpha2.StorageBreakdown)(unsafe.Pointer(in.Storage)) - out.Compute = (*v1alpha2.ComputeBreakdown)(unsafe.Pointer(in.Compute)) +func autoConvert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(in *DirectiveBreakdownStatus, out *v1alpha3.DirectiveBreakdownStatus, s conversion.Scope) error { + out.Storage = (*v1alpha3.StorageBreakdown)(unsafe.Pointer(in.Storage)) + out.Compute = (*v1alpha3.ComputeBreakdown)(unsafe.Pointer(in.Compute)) out.Ready = in.Ready - if err := Convert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + if err := Convert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { return err } return nil } -// Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus is an autogenerated conversion function. -func Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(in *DirectiveBreakdownStatus, out *v1alpha2.DirectiveBreakdownStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(in, out, s) +// Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus is an autogenerated conversion function. +func Convert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(in *DirectiveBreakdownStatus, out *v1alpha3.DirectiveBreakdownStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(in, out, s) } -func autoConvert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha1_DirectiveBreakdownStatus(in *v1alpha2.DirectiveBreakdownStatus, out *DirectiveBreakdownStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha1_DirectiveBreakdownStatus(in *v1alpha3.DirectiveBreakdownStatus, out *DirectiveBreakdownStatus, s conversion.Scope) error { out.Storage = (*StorageBreakdown)(unsafe.Pointer(in.Storage)) out.Compute = (*ComputeBreakdown)(unsafe.Pointer(in.Compute)) out.Ready = in.Ready // WARNING: in.RequiredDaemons requires manual conversion: does not exist in peer-type - if err := Convert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + if err := Convert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { return err } return nil } -func autoConvert_v1alpha1_Node_To_v1alpha2_Node(in *Node, out *v1alpha2.Node, s conversion.Scope) error { +func autoConvert_v1alpha1_Node_To_v1alpha3_Node(in *Node, out *v1alpha3.Node, s conversion.Scope) error { out.Name = in.Name - out.Status = v1alpha2.ResourceStatus(in.Status) + out.Status = v1alpha3.ResourceStatus(in.Status) return nil } -// Convert_v1alpha1_Node_To_v1alpha2_Node is an autogenerated conversion function. -func Convert_v1alpha1_Node_To_v1alpha2_Node(in *Node, out *v1alpha2.Node, s conversion.Scope) error { - return autoConvert_v1alpha1_Node_To_v1alpha2_Node(in, out, s) +// Convert_v1alpha1_Node_To_v1alpha3_Node is an autogenerated conversion function. +func Convert_v1alpha1_Node_To_v1alpha3_Node(in *Node, out *v1alpha3.Node, s conversion.Scope) error { + return autoConvert_v1alpha1_Node_To_v1alpha3_Node(in, out, s) } -func autoConvert_v1alpha2_Node_To_v1alpha1_Node(in *v1alpha2.Node, out *Node, s conversion.Scope) error { +func autoConvert_v1alpha3_Node_To_v1alpha1_Node(in *v1alpha3.Node, out *Node, s conversion.Scope) error { out.Name = in.Name out.Status = ResourceStatus(in.Status) return nil } -// Convert_v1alpha2_Node_To_v1alpha1_Node is an autogenerated conversion function. -func Convert_v1alpha2_Node_To_v1alpha1_Node(in *v1alpha2.Node, out *Node, s conversion.Scope) error { - return autoConvert_v1alpha2_Node_To_v1alpha1_Node(in, out, s) +// Convert_v1alpha3_Node_To_v1alpha1_Node is an autogenerated conversion function. +func Convert_v1alpha3_Node_To_v1alpha1_Node(in *v1alpha3.Node, out *Node, s conversion.Scope) error { + return autoConvert_v1alpha3_Node_To_v1alpha1_Node(in, out, s) } -func autoConvert_v1alpha1_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(in *PersistentStorageInstance, out *v1alpha2.PersistentStorageInstance, s conversion.Scope) error { +func autoConvert_v1alpha1_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(in *PersistentStorageInstance, out *v1alpha3.PersistentStorageInstance, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance is an autogenerated conversion function. -func Convert_v1alpha1_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(in *PersistentStorageInstance, out *v1alpha2.PersistentStorageInstance, s conversion.Scope) error { - return autoConvert_v1alpha1_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(in, out, s) +// Convert_v1alpha1_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance is an autogenerated conversion function. +func Convert_v1alpha1_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(in *PersistentStorageInstance, out *v1alpha3.PersistentStorageInstance, s conversion.Scope) error { + return autoConvert_v1alpha1_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(in, out, s) } -func autoConvert_v1alpha2_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(in *v1alpha2.PersistentStorageInstance, out *PersistentStorageInstance, s conversion.Scope) error { +func autoConvert_v1alpha3_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(in *v1alpha3.PersistentStorageInstance, out *PersistentStorageInstance, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance is an autogenerated conversion function. -func Convert_v1alpha2_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(in *v1alpha2.PersistentStorageInstance, out *PersistentStorageInstance, s conversion.Scope) error { - return autoConvert_v1alpha2_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(in, out, s) +// Convert_v1alpha3_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(in *v1alpha3.PersistentStorageInstance, out *PersistentStorageInstance, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(in, out, s) } -func autoConvert_v1alpha1_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(in *PersistentStorageInstanceList, out *v1alpha2.PersistentStorageInstanceList, s conversion.Scope) error { +func autoConvert_v1alpha1_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(in *PersistentStorageInstanceList, out *v1alpha3.PersistentStorageInstanceList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.PersistentStorageInstance, len(*in)) + *out = make([]v1alpha3.PersistentStorageInstance, len(*in)) for i := range *in { - if err := Convert_v1alpha1_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1384,18 +1384,18 @@ func autoConvert_v1alpha1_PersistentStorageInstanceList_To_v1alpha2_PersistentSt return nil } -// Convert_v1alpha1_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList is an autogenerated conversion function. -func Convert_v1alpha1_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(in *PersistentStorageInstanceList, out *v1alpha2.PersistentStorageInstanceList, s conversion.Scope) error { - return autoConvert_v1alpha1_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(in, out, s) +// Convert_v1alpha1_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList is an autogenerated conversion function. +func Convert_v1alpha1_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(in *PersistentStorageInstanceList, out *v1alpha3.PersistentStorageInstanceList, s conversion.Scope) error { + return autoConvert_v1alpha1_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(in, out, s) } -func autoConvert_v1alpha2_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(in *v1alpha2.PersistentStorageInstanceList, out *PersistentStorageInstanceList, s conversion.Scope) error { +func autoConvert_v1alpha3_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(in *v1alpha3.PersistentStorageInstanceList, out *PersistentStorageInstanceList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentStorageInstance, len(*in)) for i := range *in { - if err := Convert_v1alpha2_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_PersistentStorageInstance_To_v1alpha1_PersistentStorageInstance(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1405,27 +1405,27 @@ func autoConvert_v1alpha2_PersistentStorageInstanceList_To_v1alpha1_PersistentSt return nil } -// Convert_v1alpha2_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList is an autogenerated conversion function. -func Convert_v1alpha2_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(in *v1alpha2.PersistentStorageInstanceList, out *PersistentStorageInstanceList, s conversion.Scope) error { - return autoConvert_v1alpha2_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(in, out, s) +// Convert_v1alpha3_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(in *v1alpha3.PersistentStorageInstanceList, out *PersistentStorageInstanceList, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstanceList_To_v1alpha1_PersistentStorageInstanceList(in, out, s) } -func autoConvert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(in *PersistentStorageInstanceSpec, out *v1alpha2.PersistentStorageInstanceSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(in *PersistentStorageInstanceSpec, out *v1alpha3.PersistentStorageInstanceSpec, s conversion.Scope) error { out.Name = in.Name out.FsType = in.FsType out.DWDirective = in.DWDirective out.UserID = in.UserID - out.State = v1alpha2.PersistentStorageInstanceState(in.State) + out.State = v1alpha3.PersistentStorageInstanceState(in.State) out.ConsumerReferences = *(*[]v1.ObjectReference)(unsafe.Pointer(&in.ConsumerReferences)) return nil } -// Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec is an autogenerated conversion function. -func Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(in *PersistentStorageInstanceSpec, out *v1alpha2.PersistentStorageInstanceSpec, s conversion.Scope) error { - return autoConvert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(in, out, s) +// Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec is an autogenerated conversion function. +func Convert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(in *PersistentStorageInstanceSpec, out *v1alpha3.PersistentStorageInstanceSpec, s conversion.Scope) error { + return autoConvert_v1alpha1_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(in, out, s) } -func autoConvert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(in *v1alpha2.PersistentStorageInstanceSpec, out *PersistentStorageInstanceSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(in *v1alpha3.PersistentStorageInstanceSpec, out *PersistentStorageInstanceSpec, s conversion.Scope) error { out.Name = in.Name out.FsType = in.FsType out.DWDirective = in.DWDirective @@ -1435,44 +1435,44 @@ func autoConvert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentSt return nil } -// Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec is an autogenerated conversion function. -func Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(in *v1alpha2.PersistentStorageInstanceSpec, out *PersistentStorageInstanceSpec, s conversion.Scope) error { - return autoConvert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(in, out, s) +// Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(in *v1alpha3.PersistentStorageInstanceSpec, out *PersistentStorageInstanceSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha1_PersistentStorageInstanceSpec(in, out, s) } -func autoConvert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(in *PersistentStorageInstanceStatus, out *v1alpha2.PersistentStorageInstanceStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(in *PersistentStorageInstanceStatus, out *v1alpha3.PersistentStorageInstanceStatus, s conversion.Scope) error { out.Servers = in.Servers - out.State = v1alpha2.PersistentStorageInstanceState(in.State) - if err := Convert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + out.State = v1alpha3.PersistentStorageInstanceState(in.State) + if err := Convert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { return err } return nil } -// Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus is an autogenerated conversion function. -func Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(in *PersistentStorageInstanceStatus, out *v1alpha2.PersistentStorageInstanceStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(in, out, s) +// Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus is an autogenerated conversion function. +func Convert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(in *PersistentStorageInstanceStatus, out *v1alpha3.PersistentStorageInstanceStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(in, out, s) } -func autoConvert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(in *v1alpha2.PersistentStorageInstanceStatus, out *PersistentStorageInstanceStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(in *v1alpha3.PersistentStorageInstanceStatus, out *PersistentStorageInstanceStatus, s conversion.Scope) error { out.Servers = in.Servers out.State = PersistentStorageInstanceState(in.State) - if err := Convert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + if err := Convert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { return err } return nil } -// Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus is an autogenerated conversion function. -func Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(in *v1alpha2.PersistentStorageInstanceStatus, out *PersistentStorageInstanceStatus, s conversion.Scope) error { - return autoConvert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(in, out, s) +// Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(in *v1alpha3.PersistentStorageInstanceStatus, out *PersistentStorageInstanceStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha1_PersistentStorageInstanceStatus(in, out, s) } -func autoConvert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(in *ResourceError, out *v1alpha2.ResourceError, s conversion.Scope) error { +func autoConvert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(in *ResourceError, out *v1alpha3.ResourceError, s conversion.Scope) error { if in.Error != nil { in, out := &in.Error, &out.Error - *out = new(v1alpha2.ResourceErrorInfo) - if err := Convert_v1alpha1_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(*in, *out, s); err != nil { + *out = new(v1alpha3.ResourceErrorInfo) + if err := Convert_v1alpha1_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(*in, *out, s); err != nil { return err } } else { @@ -1481,16 +1481,16 @@ func autoConvert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(in *ResourceEr return nil } -// Convert_v1alpha1_ResourceError_To_v1alpha2_ResourceError is an autogenerated conversion function. -func Convert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(in *ResourceError, out *v1alpha2.ResourceError, s conversion.Scope) error { - return autoConvert_v1alpha1_ResourceError_To_v1alpha2_ResourceError(in, out, s) +// Convert_v1alpha1_ResourceError_To_v1alpha3_ResourceError is an autogenerated conversion function. +func Convert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(in *ResourceError, out *v1alpha3.ResourceError, s conversion.Scope) error { + return autoConvert_v1alpha1_ResourceError_To_v1alpha3_ResourceError(in, out, s) } -func autoConvert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(in *v1alpha2.ResourceError, out *ResourceError, s conversion.Scope) error { +func autoConvert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(in *v1alpha3.ResourceError, out *ResourceError, s conversion.Scope) error { if in.Error != nil { in, out := &in.Error, &out.Error *out = new(ResourceErrorInfo) - if err := Convert_v1alpha2_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(*in, *out, s); err != nil { + if err := Convert_v1alpha3_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(*in, *out, s); err != nil { return err } } else { @@ -1499,19 +1499,19 @@ func autoConvert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(in *v1alpha2.R return nil } -// Convert_v1alpha2_ResourceError_To_v1alpha1_ResourceError is an autogenerated conversion function. -func Convert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(in *v1alpha2.ResourceError, out *ResourceError, s conversion.Scope) error { - return autoConvert_v1alpha2_ResourceError_To_v1alpha1_ResourceError(in, out, s) +// Convert_v1alpha3_ResourceError_To_v1alpha1_ResourceError is an autogenerated conversion function. +func Convert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(in *v1alpha3.ResourceError, out *ResourceError, s conversion.Scope) error { + return autoConvert_v1alpha3_ResourceError_To_v1alpha1_ResourceError(in, out, s) } -func autoConvert_v1alpha1_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(in *ResourceErrorInfo, out *v1alpha2.ResourceErrorInfo, s conversion.Scope) error { +func autoConvert_v1alpha1_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(in *ResourceErrorInfo, out *v1alpha3.ResourceErrorInfo, s conversion.Scope) error { out.UserMessage = in.UserMessage out.DebugMessage = in.DebugMessage // WARNING: in.Recoverable requires manual conversion: does not exist in peer-type return nil } -func autoConvert_v1alpha2_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(in *v1alpha2.ResourceErrorInfo, out *ResourceErrorInfo, s conversion.Scope) error { +func autoConvert_v1alpha3_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(in *v1alpha3.ResourceErrorInfo, out *ResourceErrorInfo, s conversion.Scope) error { out.UserMessage = in.UserMessage out.DebugMessage = in.DebugMessage // WARNING: in.Type requires manual conversion: does not exist in peer-type @@ -1519,45 +1519,45 @@ func autoConvert_v1alpha2_ResourceErrorInfo_To_v1alpha1_ResourceErrorInfo(in *v1 return nil } -func autoConvert_v1alpha1_Servers_To_v1alpha2_Servers(in *Servers, out *v1alpha2.Servers, s conversion.Scope) error { +func autoConvert_v1alpha1_Servers_To_v1alpha3_Servers(in *Servers, out *v1alpha3.Servers, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_ServersSpec_To_v1alpha2_ServersSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_ServersSpec_To_v1alpha3_ServersSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_ServersStatus_To_v1alpha2_ServersStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_ServersStatus_To_v1alpha3_ServersStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_Servers_To_v1alpha2_Servers is an autogenerated conversion function. -func Convert_v1alpha1_Servers_To_v1alpha2_Servers(in *Servers, out *v1alpha2.Servers, s conversion.Scope) error { - return autoConvert_v1alpha1_Servers_To_v1alpha2_Servers(in, out, s) +// Convert_v1alpha1_Servers_To_v1alpha3_Servers is an autogenerated conversion function. +func Convert_v1alpha1_Servers_To_v1alpha3_Servers(in *Servers, out *v1alpha3.Servers, s conversion.Scope) error { + return autoConvert_v1alpha1_Servers_To_v1alpha3_Servers(in, out, s) } -func autoConvert_v1alpha2_Servers_To_v1alpha1_Servers(in *v1alpha2.Servers, out *Servers, s conversion.Scope) error { +func autoConvert_v1alpha3_Servers_To_v1alpha1_Servers(in *v1alpha3.Servers, out *Servers, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_ServersSpec_To_v1alpha1_ServersSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_ServersSpec_To_v1alpha1_ServersSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_ServersStatus_To_v1alpha1_ServersStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_ServersStatus_To_v1alpha1_ServersStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_Servers_To_v1alpha1_Servers is an autogenerated conversion function. -func Convert_v1alpha2_Servers_To_v1alpha1_Servers(in *v1alpha2.Servers, out *Servers, s conversion.Scope) error { - return autoConvert_v1alpha2_Servers_To_v1alpha1_Servers(in, out, s) +// Convert_v1alpha3_Servers_To_v1alpha1_Servers is an autogenerated conversion function. +func Convert_v1alpha3_Servers_To_v1alpha1_Servers(in *v1alpha3.Servers, out *Servers, s conversion.Scope) error { + return autoConvert_v1alpha3_Servers_To_v1alpha1_Servers(in, out, s) } -func autoConvert_v1alpha1_ServersList_To_v1alpha2_ServersList(in *ServersList, out *v1alpha2.ServersList, s conversion.Scope) error { +func autoConvert_v1alpha1_ServersList_To_v1alpha3_ServersList(in *ServersList, out *v1alpha3.ServersList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.Servers, len(*in)) + *out = make([]v1alpha3.Servers, len(*in)) for i := range *in { - if err := Convert_v1alpha1_Servers_To_v1alpha2_Servers(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_Servers_To_v1alpha3_Servers(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1567,18 +1567,18 @@ func autoConvert_v1alpha1_ServersList_To_v1alpha2_ServersList(in *ServersList, o return nil } -// Convert_v1alpha1_ServersList_To_v1alpha2_ServersList is an autogenerated conversion function. -func Convert_v1alpha1_ServersList_To_v1alpha2_ServersList(in *ServersList, out *v1alpha2.ServersList, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersList_To_v1alpha2_ServersList(in, out, s) +// Convert_v1alpha1_ServersList_To_v1alpha3_ServersList is an autogenerated conversion function. +func Convert_v1alpha1_ServersList_To_v1alpha3_ServersList(in *ServersList, out *v1alpha3.ServersList, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersList_To_v1alpha3_ServersList(in, out, s) } -func autoConvert_v1alpha2_ServersList_To_v1alpha1_ServersList(in *v1alpha2.ServersList, out *ServersList, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersList_To_v1alpha1_ServersList(in *v1alpha3.ServersList, out *ServersList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Servers, len(*in)) for i := range *in { - if err := Convert_v1alpha2_Servers_To_v1alpha1_Servers(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_Servers_To_v1alpha1_Servers(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1588,90 +1588,90 @@ func autoConvert_v1alpha2_ServersList_To_v1alpha1_ServersList(in *v1alpha2.Serve return nil } -// Convert_v1alpha2_ServersList_To_v1alpha1_ServersList is an autogenerated conversion function. -func Convert_v1alpha2_ServersList_To_v1alpha1_ServersList(in *v1alpha2.ServersList, out *ServersList, s conversion.Scope) error { - return autoConvert_v1alpha2_ServersList_To_v1alpha1_ServersList(in, out, s) +// Convert_v1alpha3_ServersList_To_v1alpha1_ServersList is an autogenerated conversion function. +func Convert_v1alpha3_ServersList_To_v1alpha1_ServersList(in *v1alpha3.ServersList, out *ServersList, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersList_To_v1alpha1_ServersList(in, out, s) } -func autoConvert_v1alpha1_ServersSpec_To_v1alpha2_ServersSpec(in *ServersSpec, out *v1alpha2.ServersSpec, s conversion.Scope) error { - out.AllocationSets = *(*[]v1alpha2.ServersSpecAllocationSet)(unsafe.Pointer(&in.AllocationSets)) +func autoConvert_v1alpha1_ServersSpec_To_v1alpha3_ServersSpec(in *ServersSpec, out *v1alpha3.ServersSpec, s conversion.Scope) error { + out.AllocationSets = *(*[]v1alpha3.ServersSpecAllocationSet)(unsafe.Pointer(&in.AllocationSets)) return nil } -// Convert_v1alpha1_ServersSpec_To_v1alpha2_ServersSpec is an autogenerated conversion function. -func Convert_v1alpha1_ServersSpec_To_v1alpha2_ServersSpec(in *ServersSpec, out *v1alpha2.ServersSpec, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersSpec_To_v1alpha2_ServersSpec(in, out, s) +// Convert_v1alpha1_ServersSpec_To_v1alpha3_ServersSpec is an autogenerated conversion function. +func Convert_v1alpha1_ServersSpec_To_v1alpha3_ServersSpec(in *ServersSpec, out *v1alpha3.ServersSpec, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersSpec_To_v1alpha3_ServersSpec(in, out, s) } -func autoConvert_v1alpha2_ServersSpec_To_v1alpha1_ServersSpec(in *v1alpha2.ServersSpec, out *ServersSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersSpec_To_v1alpha1_ServersSpec(in *v1alpha3.ServersSpec, out *ServersSpec, s conversion.Scope) error { out.AllocationSets = *(*[]ServersSpecAllocationSet)(unsafe.Pointer(&in.AllocationSets)) return nil } -// Convert_v1alpha2_ServersSpec_To_v1alpha1_ServersSpec is an autogenerated conversion function. -func Convert_v1alpha2_ServersSpec_To_v1alpha1_ServersSpec(in *v1alpha2.ServersSpec, out *ServersSpec, s conversion.Scope) error { - return autoConvert_v1alpha2_ServersSpec_To_v1alpha1_ServersSpec(in, out, s) +// Convert_v1alpha3_ServersSpec_To_v1alpha1_ServersSpec is an autogenerated conversion function. +func Convert_v1alpha3_ServersSpec_To_v1alpha1_ServersSpec(in *v1alpha3.ServersSpec, out *ServersSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersSpec_To_v1alpha1_ServersSpec(in, out, s) } -func autoConvert_v1alpha1_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(in *ServersSpecAllocationSet, out *v1alpha2.ServersSpecAllocationSet, s conversion.Scope) error { +func autoConvert_v1alpha1_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(in *ServersSpecAllocationSet, out *v1alpha3.ServersSpecAllocationSet, s conversion.Scope) error { out.Label = in.Label out.AllocationSize = in.AllocationSize - out.Storage = *(*[]v1alpha2.ServersSpecStorage)(unsafe.Pointer(&in.Storage)) + out.Storage = *(*[]v1alpha3.ServersSpecStorage)(unsafe.Pointer(&in.Storage)) return nil } -// Convert_v1alpha1_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet is an autogenerated conversion function. -func Convert_v1alpha1_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(in *ServersSpecAllocationSet, out *v1alpha2.ServersSpecAllocationSet, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(in, out, s) +// Convert_v1alpha1_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet is an autogenerated conversion function. +func Convert_v1alpha1_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(in *ServersSpecAllocationSet, out *v1alpha3.ServersSpecAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(in, out, s) } -func autoConvert_v1alpha2_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(in *v1alpha2.ServersSpecAllocationSet, out *ServersSpecAllocationSet, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(in *v1alpha3.ServersSpecAllocationSet, out *ServersSpecAllocationSet, s conversion.Scope) error { out.Label = in.Label out.AllocationSize = in.AllocationSize out.Storage = *(*[]ServersSpecStorage)(unsafe.Pointer(&in.Storage)) return nil } -// Convert_v1alpha2_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet is an autogenerated conversion function. -func Convert_v1alpha2_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(in *v1alpha2.ServersSpecAllocationSet, out *ServersSpecAllocationSet, s conversion.Scope) error { - return autoConvert_v1alpha2_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(in, out, s) +// Convert_v1alpha3_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet is an autogenerated conversion function. +func Convert_v1alpha3_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(in *v1alpha3.ServersSpecAllocationSet, out *ServersSpecAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersSpecAllocationSet_To_v1alpha1_ServersSpecAllocationSet(in, out, s) } -func autoConvert_v1alpha1_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(in *ServersSpecStorage, out *v1alpha2.ServersSpecStorage, s conversion.Scope) error { +func autoConvert_v1alpha1_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(in *ServersSpecStorage, out *v1alpha3.ServersSpecStorage, s conversion.Scope) error { out.Name = in.Name out.AllocationCount = in.AllocationCount return nil } -// Convert_v1alpha1_ServersSpecStorage_To_v1alpha2_ServersSpecStorage is an autogenerated conversion function. -func Convert_v1alpha1_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(in *ServersSpecStorage, out *v1alpha2.ServersSpecStorage, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(in, out, s) +// Convert_v1alpha1_ServersSpecStorage_To_v1alpha3_ServersSpecStorage is an autogenerated conversion function. +func Convert_v1alpha1_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(in *ServersSpecStorage, out *v1alpha3.ServersSpecStorage, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(in, out, s) } -func autoConvert_v1alpha2_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(in *v1alpha2.ServersSpecStorage, out *ServersSpecStorage, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(in *v1alpha3.ServersSpecStorage, out *ServersSpecStorage, s conversion.Scope) error { out.Name = in.Name out.AllocationCount = in.AllocationCount return nil } -// Convert_v1alpha2_ServersSpecStorage_To_v1alpha1_ServersSpecStorage is an autogenerated conversion function. -func Convert_v1alpha2_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(in *v1alpha2.ServersSpecStorage, out *ServersSpecStorage, s conversion.Scope) error { - return autoConvert_v1alpha2_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(in, out, s) +// Convert_v1alpha3_ServersSpecStorage_To_v1alpha1_ServersSpecStorage is an autogenerated conversion function. +func Convert_v1alpha3_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(in *v1alpha3.ServersSpecStorage, out *ServersSpecStorage, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersSpecStorage_To_v1alpha1_ServersSpecStorage(in, out, s) } -func autoConvert_v1alpha1_ServersStatus_To_v1alpha2_ServersStatus(in *ServersStatus, out *v1alpha2.ServersStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_ServersStatus_To_v1alpha3_ServersStatus(in *ServersStatus, out *v1alpha3.ServersStatus, s conversion.Scope) error { out.Ready = in.Ready out.LastUpdate = (*metav1.MicroTime)(unsafe.Pointer(in.LastUpdate)) - out.AllocationSets = *(*[]v1alpha2.ServersStatusAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + out.AllocationSets = *(*[]v1alpha3.ServersStatusAllocationSet)(unsafe.Pointer(&in.AllocationSets)) return nil } -// Convert_v1alpha1_ServersStatus_To_v1alpha2_ServersStatus is an autogenerated conversion function. -func Convert_v1alpha1_ServersStatus_To_v1alpha2_ServersStatus(in *ServersStatus, out *v1alpha2.ServersStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersStatus_To_v1alpha2_ServersStatus(in, out, s) +// Convert_v1alpha1_ServersStatus_To_v1alpha3_ServersStatus is an autogenerated conversion function. +func Convert_v1alpha1_ServersStatus_To_v1alpha3_ServersStatus(in *ServersStatus, out *v1alpha3.ServersStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersStatus_To_v1alpha3_ServersStatus(in, out, s) } -func autoConvert_v1alpha2_ServersStatus_To_v1alpha1_ServersStatus(in *v1alpha2.ServersStatus, out *ServersStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersStatus_To_v1alpha1_ServersStatus(in *v1alpha3.ServersStatus, out *ServersStatus, s conversion.Scope) error { out.Ready = in.Ready out.LastUpdate = (*metav1.MicroTime)(unsafe.Pointer(in.LastUpdate)) out.AllocationSets = *(*[]ServersStatusAllocationSet)(unsafe.Pointer(&in.AllocationSets)) @@ -1679,175 +1679,175 @@ func autoConvert_v1alpha2_ServersStatus_To_v1alpha1_ServersStatus(in *v1alpha2.S return nil } -func autoConvert_v1alpha1_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(in *ServersStatusAllocationSet, out *v1alpha2.ServersStatusAllocationSet, s conversion.Scope) error { +func autoConvert_v1alpha1_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(in *ServersStatusAllocationSet, out *v1alpha3.ServersStatusAllocationSet, s conversion.Scope) error { out.Label = in.Label - out.Storage = *(*map[string]v1alpha2.ServersStatusStorage)(unsafe.Pointer(&in.Storage)) + out.Storage = *(*map[string]v1alpha3.ServersStatusStorage)(unsafe.Pointer(&in.Storage)) return nil } -// Convert_v1alpha1_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet is an autogenerated conversion function. -func Convert_v1alpha1_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(in *ServersStatusAllocationSet, out *v1alpha2.ServersStatusAllocationSet, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(in, out, s) +// Convert_v1alpha1_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet is an autogenerated conversion function. +func Convert_v1alpha1_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(in *ServersStatusAllocationSet, out *v1alpha3.ServersStatusAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(in, out, s) } -func autoConvert_v1alpha2_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(in *v1alpha2.ServersStatusAllocationSet, out *ServersStatusAllocationSet, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(in *v1alpha3.ServersStatusAllocationSet, out *ServersStatusAllocationSet, s conversion.Scope) error { out.Label = in.Label out.Storage = *(*map[string]ServersStatusStorage)(unsafe.Pointer(&in.Storage)) return nil } -// Convert_v1alpha2_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet is an autogenerated conversion function. -func Convert_v1alpha2_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(in *v1alpha2.ServersStatusAllocationSet, out *ServersStatusAllocationSet, s conversion.Scope) error { - return autoConvert_v1alpha2_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(in, out, s) +// Convert_v1alpha3_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet is an autogenerated conversion function. +func Convert_v1alpha3_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(in *v1alpha3.ServersStatusAllocationSet, out *ServersStatusAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersStatusAllocationSet_To_v1alpha1_ServersStatusAllocationSet(in, out, s) } -func autoConvert_v1alpha1_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(in *ServersStatusStorage, out *v1alpha2.ServersStatusStorage, s conversion.Scope) error { +func autoConvert_v1alpha1_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(in *ServersStatusStorage, out *v1alpha3.ServersStatusStorage, s conversion.Scope) error { out.AllocationSize = in.AllocationSize return nil } -// Convert_v1alpha1_ServersStatusStorage_To_v1alpha2_ServersStatusStorage is an autogenerated conversion function. -func Convert_v1alpha1_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(in *ServersStatusStorage, out *v1alpha2.ServersStatusStorage, s conversion.Scope) error { - return autoConvert_v1alpha1_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(in, out, s) +// Convert_v1alpha1_ServersStatusStorage_To_v1alpha3_ServersStatusStorage is an autogenerated conversion function. +func Convert_v1alpha1_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(in *ServersStatusStorage, out *v1alpha3.ServersStatusStorage, s conversion.Scope) error { + return autoConvert_v1alpha1_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(in, out, s) } -func autoConvert_v1alpha2_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(in *v1alpha2.ServersStatusStorage, out *ServersStatusStorage, s conversion.Scope) error { +func autoConvert_v1alpha3_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(in *v1alpha3.ServersStatusStorage, out *ServersStatusStorage, s conversion.Scope) error { out.AllocationSize = in.AllocationSize return nil } -// Convert_v1alpha2_ServersStatusStorage_To_v1alpha1_ServersStatusStorage is an autogenerated conversion function. -func Convert_v1alpha2_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(in *v1alpha2.ServersStatusStorage, out *ServersStatusStorage, s conversion.Scope) error { - return autoConvert_v1alpha2_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(in, out, s) +// Convert_v1alpha3_ServersStatusStorage_To_v1alpha1_ServersStatusStorage is an autogenerated conversion function. +func Convert_v1alpha3_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(in *v1alpha3.ServersStatusStorage, out *ServersStatusStorage, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersStatusStorage_To_v1alpha1_ServersStatusStorage(in, out, s) } -func autoConvert_v1alpha1_Storage_To_v1alpha2_Storage(in *Storage, out *v1alpha2.Storage, s conversion.Scope) error { +func autoConvert_v1alpha1_Storage_To_v1alpha3_Storage(in *Storage, out *v1alpha3.Storage, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_StorageSpec_To_v1alpha2_StorageSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_StorageSpec_To_v1alpha3_StorageSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_StorageStatus_To_v1alpha2_StorageStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_StorageStatus_To_v1alpha3_StorageStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_Storage_To_v1alpha2_Storage is an autogenerated conversion function. -func Convert_v1alpha1_Storage_To_v1alpha2_Storage(in *Storage, out *v1alpha2.Storage, s conversion.Scope) error { - return autoConvert_v1alpha1_Storage_To_v1alpha2_Storage(in, out, s) +// Convert_v1alpha1_Storage_To_v1alpha3_Storage is an autogenerated conversion function. +func Convert_v1alpha1_Storage_To_v1alpha3_Storage(in *Storage, out *v1alpha3.Storage, s conversion.Scope) error { + return autoConvert_v1alpha1_Storage_To_v1alpha3_Storage(in, out, s) } -func autoConvert_v1alpha2_Storage_To_v1alpha1_Storage(in *v1alpha2.Storage, out *Storage, s conversion.Scope) error { +func autoConvert_v1alpha3_Storage_To_v1alpha1_Storage(in *v1alpha3.Storage, out *Storage, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_StorageSpec_To_v1alpha1_StorageSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_StorageSpec_To_v1alpha1_StorageSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_StorageStatus_To_v1alpha1_StorageStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_Storage_To_v1alpha1_Storage is an autogenerated conversion function. -func Convert_v1alpha2_Storage_To_v1alpha1_Storage(in *v1alpha2.Storage, out *Storage, s conversion.Scope) error { - return autoConvert_v1alpha2_Storage_To_v1alpha1_Storage(in, out, s) +// Convert_v1alpha3_Storage_To_v1alpha1_Storage is an autogenerated conversion function. +func Convert_v1alpha3_Storage_To_v1alpha1_Storage(in *v1alpha3.Storage, out *Storage, s conversion.Scope) error { + return autoConvert_v1alpha3_Storage_To_v1alpha1_Storage(in, out, s) } -func autoConvert_v1alpha1_StorageAccess_To_v1alpha2_StorageAccess(in *StorageAccess, out *v1alpha2.StorageAccess, s conversion.Scope) error { - out.Protocol = v1alpha2.StorageAccessProtocol(in.Protocol) - out.Servers = *(*[]v1alpha2.Node)(unsafe.Pointer(&in.Servers)) - out.Computes = *(*[]v1alpha2.Node)(unsafe.Pointer(&in.Computes)) +func autoConvert_v1alpha1_StorageAccess_To_v1alpha3_StorageAccess(in *StorageAccess, out *v1alpha3.StorageAccess, s conversion.Scope) error { + out.Protocol = v1alpha3.StorageAccessProtocol(in.Protocol) + out.Servers = *(*[]v1alpha3.Node)(unsafe.Pointer(&in.Servers)) + out.Computes = *(*[]v1alpha3.Node)(unsafe.Pointer(&in.Computes)) return nil } -// Convert_v1alpha1_StorageAccess_To_v1alpha2_StorageAccess is an autogenerated conversion function. -func Convert_v1alpha1_StorageAccess_To_v1alpha2_StorageAccess(in *StorageAccess, out *v1alpha2.StorageAccess, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageAccess_To_v1alpha2_StorageAccess(in, out, s) +// Convert_v1alpha1_StorageAccess_To_v1alpha3_StorageAccess is an autogenerated conversion function. +func Convert_v1alpha1_StorageAccess_To_v1alpha3_StorageAccess(in *StorageAccess, out *v1alpha3.StorageAccess, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageAccess_To_v1alpha3_StorageAccess(in, out, s) } -func autoConvert_v1alpha2_StorageAccess_To_v1alpha1_StorageAccess(in *v1alpha2.StorageAccess, out *StorageAccess, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageAccess_To_v1alpha1_StorageAccess(in *v1alpha3.StorageAccess, out *StorageAccess, s conversion.Scope) error { out.Protocol = StorageAccessProtocol(in.Protocol) out.Servers = *(*[]Node)(unsafe.Pointer(&in.Servers)) out.Computes = *(*[]Node)(unsafe.Pointer(&in.Computes)) return nil } -// Convert_v1alpha2_StorageAccess_To_v1alpha1_StorageAccess is an autogenerated conversion function. -func Convert_v1alpha2_StorageAccess_To_v1alpha1_StorageAccess(in *v1alpha2.StorageAccess, out *StorageAccess, s conversion.Scope) error { - return autoConvert_v1alpha2_StorageAccess_To_v1alpha1_StorageAccess(in, out, s) +// Convert_v1alpha3_StorageAccess_To_v1alpha1_StorageAccess is an autogenerated conversion function. +func Convert_v1alpha3_StorageAccess_To_v1alpha1_StorageAccess(in *v1alpha3.StorageAccess, out *StorageAccess, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageAccess_To_v1alpha1_StorageAccess(in, out, s) } -func autoConvert_v1alpha1_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(in *StorageAllocationSet, out *v1alpha2.StorageAllocationSet, s conversion.Scope) error { - out.AllocationStrategy = v1alpha2.AllocationStrategy(in.AllocationStrategy) +func autoConvert_v1alpha1_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(in *StorageAllocationSet, out *v1alpha3.StorageAllocationSet, s conversion.Scope) error { + out.AllocationStrategy = v1alpha3.AllocationStrategy(in.AllocationStrategy) out.MinimumCapacity = in.MinimumCapacity out.Label = in.Label - if err := Convert_v1alpha1_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(&in.Constraints, &out.Constraints, s); err != nil { + if err := Convert_v1alpha1_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(&in.Constraints, &out.Constraints, s); err != nil { return err } return nil } -// Convert_v1alpha1_StorageAllocationSet_To_v1alpha2_StorageAllocationSet is an autogenerated conversion function. -func Convert_v1alpha1_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(in *StorageAllocationSet, out *v1alpha2.StorageAllocationSet, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(in, out, s) +// Convert_v1alpha1_StorageAllocationSet_To_v1alpha3_StorageAllocationSet is an autogenerated conversion function. +func Convert_v1alpha1_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(in *StorageAllocationSet, out *v1alpha3.StorageAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(in, out, s) } -func autoConvert_v1alpha2_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(in *v1alpha2.StorageAllocationSet, out *StorageAllocationSet, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(in *v1alpha3.StorageAllocationSet, out *StorageAllocationSet, s conversion.Scope) error { out.AllocationStrategy = AllocationStrategy(in.AllocationStrategy) out.MinimumCapacity = in.MinimumCapacity out.Label = in.Label - if err := Convert_v1alpha2_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(&in.Constraints, &out.Constraints, s); err != nil { + if err := Convert_v1alpha3_AllocationSetConstraints_To_v1alpha1_AllocationSetConstraints(&in.Constraints, &out.Constraints, s); err != nil { return err } return nil } -// Convert_v1alpha2_StorageAllocationSet_To_v1alpha1_StorageAllocationSet is an autogenerated conversion function. -func Convert_v1alpha2_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(in *v1alpha2.StorageAllocationSet, out *StorageAllocationSet, s conversion.Scope) error { - return autoConvert_v1alpha2_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(in, out, s) +// Convert_v1alpha3_StorageAllocationSet_To_v1alpha1_StorageAllocationSet is an autogenerated conversion function. +func Convert_v1alpha3_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(in *v1alpha3.StorageAllocationSet, out *StorageAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageAllocationSet_To_v1alpha1_StorageAllocationSet(in, out, s) } -func autoConvert_v1alpha1_StorageBreakdown_To_v1alpha2_StorageBreakdown(in *StorageBreakdown, out *v1alpha2.StorageBreakdown, s conversion.Scope) error { +func autoConvert_v1alpha1_StorageBreakdown_To_v1alpha3_StorageBreakdown(in *StorageBreakdown, out *v1alpha3.StorageBreakdown, s conversion.Scope) error { out.Lifetime = in.Lifetime out.Reference = in.Reference - out.AllocationSets = *(*[]v1alpha2.StorageAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + out.AllocationSets = *(*[]v1alpha3.StorageAllocationSet)(unsafe.Pointer(&in.AllocationSets)) return nil } -// Convert_v1alpha1_StorageBreakdown_To_v1alpha2_StorageBreakdown is an autogenerated conversion function. -func Convert_v1alpha1_StorageBreakdown_To_v1alpha2_StorageBreakdown(in *StorageBreakdown, out *v1alpha2.StorageBreakdown, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageBreakdown_To_v1alpha2_StorageBreakdown(in, out, s) +// Convert_v1alpha1_StorageBreakdown_To_v1alpha3_StorageBreakdown is an autogenerated conversion function. +func Convert_v1alpha1_StorageBreakdown_To_v1alpha3_StorageBreakdown(in *StorageBreakdown, out *v1alpha3.StorageBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageBreakdown_To_v1alpha3_StorageBreakdown(in, out, s) } -func autoConvert_v1alpha2_StorageBreakdown_To_v1alpha1_StorageBreakdown(in *v1alpha2.StorageBreakdown, out *StorageBreakdown, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageBreakdown_To_v1alpha1_StorageBreakdown(in *v1alpha3.StorageBreakdown, out *StorageBreakdown, s conversion.Scope) error { out.Lifetime = in.Lifetime out.Reference = in.Reference out.AllocationSets = *(*[]StorageAllocationSet)(unsafe.Pointer(&in.AllocationSets)) return nil } -// Convert_v1alpha2_StorageBreakdown_To_v1alpha1_StorageBreakdown is an autogenerated conversion function. -func Convert_v1alpha2_StorageBreakdown_To_v1alpha1_StorageBreakdown(in *v1alpha2.StorageBreakdown, out *StorageBreakdown, s conversion.Scope) error { - return autoConvert_v1alpha2_StorageBreakdown_To_v1alpha1_StorageBreakdown(in, out, s) +// Convert_v1alpha3_StorageBreakdown_To_v1alpha1_StorageBreakdown is an autogenerated conversion function. +func Convert_v1alpha3_StorageBreakdown_To_v1alpha1_StorageBreakdown(in *v1alpha3.StorageBreakdown, out *StorageBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageBreakdown_To_v1alpha1_StorageBreakdown(in, out, s) } -func autoConvert_v1alpha1_StorageDevice_To_v1alpha2_StorageDevice(in *StorageDevice, out *v1alpha2.StorageDevice, s conversion.Scope) error { +func autoConvert_v1alpha1_StorageDevice_To_v1alpha3_StorageDevice(in *StorageDevice, out *v1alpha3.StorageDevice, s conversion.Scope) error { out.Model = in.Model out.SerialNumber = in.SerialNumber out.FirmwareVersion = in.FirmwareVersion out.Slot = in.Slot out.Capacity = in.Capacity out.WearLevel = (*int64)(unsafe.Pointer(in.WearLevel)) - out.Status = v1alpha2.ResourceStatus(in.Status) + out.Status = v1alpha3.ResourceStatus(in.Status) return nil } -// Convert_v1alpha1_StorageDevice_To_v1alpha2_StorageDevice is an autogenerated conversion function. -func Convert_v1alpha1_StorageDevice_To_v1alpha2_StorageDevice(in *StorageDevice, out *v1alpha2.StorageDevice, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageDevice_To_v1alpha2_StorageDevice(in, out, s) +// Convert_v1alpha1_StorageDevice_To_v1alpha3_StorageDevice is an autogenerated conversion function. +func Convert_v1alpha1_StorageDevice_To_v1alpha3_StorageDevice(in *StorageDevice, out *v1alpha3.StorageDevice, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageDevice_To_v1alpha3_StorageDevice(in, out, s) } -func autoConvert_v1alpha2_StorageDevice_To_v1alpha1_StorageDevice(in *v1alpha2.StorageDevice, out *StorageDevice, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageDevice_To_v1alpha1_StorageDevice(in *v1alpha3.StorageDevice, out *StorageDevice, s conversion.Scope) error { out.Model = in.Model out.SerialNumber = in.SerialNumber out.FirmwareVersion = in.FirmwareVersion @@ -1858,18 +1858,18 @@ func autoConvert_v1alpha2_StorageDevice_To_v1alpha1_StorageDevice(in *v1alpha2.S return nil } -// Convert_v1alpha2_StorageDevice_To_v1alpha1_StorageDevice is an autogenerated conversion function. -func Convert_v1alpha2_StorageDevice_To_v1alpha1_StorageDevice(in *v1alpha2.StorageDevice, out *StorageDevice, s conversion.Scope) error { - return autoConvert_v1alpha2_StorageDevice_To_v1alpha1_StorageDevice(in, out, s) +// Convert_v1alpha3_StorageDevice_To_v1alpha1_StorageDevice is an autogenerated conversion function. +func Convert_v1alpha3_StorageDevice_To_v1alpha1_StorageDevice(in *v1alpha3.StorageDevice, out *StorageDevice, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageDevice_To_v1alpha1_StorageDevice(in, out, s) } -func autoConvert_v1alpha1_StorageList_To_v1alpha2_StorageList(in *StorageList, out *v1alpha2.StorageList, s conversion.Scope) error { +func autoConvert_v1alpha1_StorageList_To_v1alpha3_StorageList(in *StorageList, out *v1alpha3.StorageList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.Storage, len(*in)) + *out = make([]v1alpha3.Storage, len(*in)) for i := range *in { - if err := Convert_v1alpha1_Storage_To_v1alpha2_Storage(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_Storage_To_v1alpha3_Storage(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1879,18 +1879,18 @@ func autoConvert_v1alpha1_StorageList_To_v1alpha2_StorageList(in *StorageList, o return nil } -// Convert_v1alpha1_StorageList_To_v1alpha2_StorageList is an autogenerated conversion function. -func Convert_v1alpha1_StorageList_To_v1alpha2_StorageList(in *StorageList, out *v1alpha2.StorageList, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageList_To_v1alpha2_StorageList(in, out, s) +// Convert_v1alpha1_StorageList_To_v1alpha3_StorageList is an autogenerated conversion function. +func Convert_v1alpha1_StorageList_To_v1alpha3_StorageList(in *StorageList, out *v1alpha3.StorageList, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageList_To_v1alpha3_StorageList(in, out, s) } -func autoConvert_v1alpha2_StorageList_To_v1alpha1_StorageList(in *v1alpha2.StorageList, out *StorageList, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageList_To_v1alpha1_StorageList(in *v1alpha3.StorageList, out *StorageList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Storage, len(*in)) for i := range *in { - if err := Convert_v1alpha2_Storage_To_v1alpha1_Storage(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_Storage_To_v1alpha1_Storage(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -1900,49 +1900,49 @@ func autoConvert_v1alpha2_StorageList_To_v1alpha1_StorageList(in *v1alpha2.Stora return nil } -// Convert_v1alpha2_StorageList_To_v1alpha1_StorageList is an autogenerated conversion function. -func Convert_v1alpha2_StorageList_To_v1alpha1_StorageList(in *v1alpha2.StorageList, out *StorageList, s conversion.Scope) error { - return autoConvert_v1alpha2_StorageList_To_v1alpha1_StorageList(in, out, s) +// Convert_v1alpha3_StorageList_To_v1alpha1_StorageList is an autogenerated conversion function. +func Convert_v1alpha3_StorageList_To_v1alpha1_StorageList(in *v1alpha3.StorageList, out *StorageList, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageList_To_v1alpha1_StorageList(in, out, s) } -func autoConvert_v1alpha1_StorageSpec_To_v1alpha2_StorageSpec(in *StorageSpec, out *v1alpha2.StorageSpec, s conversion.Scope) error { - out.State = v1alpha2.ResourceState(in.State) +func autoConvert_v1alpha1_StorageSpec_To_v1alpha3_StorageSpec(in *StorageSpec, out *v1alpha3.StorageSpec, s conversion.Scope) error { + out.State = v1alpha3.ResourceState(in.State) return nil } -// Convert_v1alpha1_StorageSpec_To_v1alpha2_StorageSpec is an autogenerated conversion function. -func Convert_v1alpha1_StorageSpec_To_v1alpha2_StorageSpec(in *StorageSpec, out *v1alpha2.StorageSpec, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageSpec_To_v1alpha2_StorageSpec(in, out, s) +// Convert_v1alpha1_StorageSpec_To_v1alpha3_StorageSpec is an autogenerated conversion function. +func Convert_v1alpha1_StorageSpec_To_v1alpha3_StorageSpec(in *StorageSpec, out *v1alpha3.StorageSpec, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageSpec_To_v1alpha3_StorageSpec(in, out, s) } -func autoConvert_v1alpha2_StorageSpec_To_v1alpha1_StorageSpec(in *v1alpha2.StorageSpec, out *StorageSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageSpec_To_v1alpha1_StorageSpec(in *v1alpha3.StorageSpec, out *StorageSpec, s conversion.Scope) error { out.State = ResourceState(in.State) // WARNING: in.Mode requires manual conversion: does not exist in peer-type return nil } -func autoConvert_v1alpha1_StorageStatus_To_v1alpha2_StorageStatus(in *StorageStatus, out *v1alpha2.StorageStatus, s conversion.Scope) error { - out.Type = v1alpha2.StorageType(in.Type) - out.Devices = *(*[]v1alpha2.StorageDevice)(unsafe.Pointer(&in.Devices)) - if err := Convert_v1alpha1_StorageAccess_To_v1alpha2_StorageAccess(&in.Access, &out.Access, s); err != nil { +func autoConvert_v1alpha1_StorageStatus_To_v1alpha3_StorageStatus(in *StorageStatus, out *v1alpha3.StorageStatus, s conversion.Scope) error { + out.Type = v1alpha3.StorageType(in.Type) + out.Devices = *(*[]v1alpha3.StorageDevice)(unsafe.Pointer(&in.Devices)) + if err := Convert_v1alpha1_StorageAccess_To_v1alpha3_StorageAccess(&in.Access, &out.Access, s); err != nil { return err } out.Capacity = in.Capacity - out.Status = v1alpha2.ResourceStatus(in.Status) + out.Status = v1alpha3.ResourceStatus(in.Status) out.RebootRequired = in.RebootRequired out.Message = in.Message return nil } -// Convert_v1alpha1_StorageStatus_To_v1alpha2_StorageStatus is an autogenerated conversion function. -func Convert_v1alpha1_StorageStatus_To_v1alpha2_StorageStatus(in *StorageStatus, out *v1alpha2.StorageStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_StorageStatus_To_v1alpha2_StorageStatus(in, out, s) +// Convert_v1alpha1_StorageStatus_To_v1alpha3_StorageStatus is an autogenerated conversion function. +func Convert_v1alpha1_StorageStatus_To_v1alpha3_StorageStatus(in *StorageStatus, out *v1alpha3.StorageStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_StorageStatus_To_v1alpha3_StorageStatus(in, out, s) } -func autoConvert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus(in *v1alpha2.StorageStatus, out *StorageStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_StorageStatus_To_v1alpha1_StorageStatus(in *v1alpha3.StorageStatus, out *StorageStatus, s conversion.Scope) error { out.Type = StorageType(in.Type) out.Devices = *(*[]StorageDevice)(unsafe.Pointer(&in.Devices)) - if err := Convert_v1alpha2_StorageAccess_To_v1alpha1_StorageAccess(&in.Access, &out.Access, s); err != nil { + if err := Convert_v1alpha3_StorageAccess_To_v1alpha1_StorageAccess(&in.Access, &out.Access, s); err != nil { return err } out.Capacity = in.Capacity @@ -1952,72 +1952,72 @@ func autoConvert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus(in *v1alpha2.S return nil } -// Convert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus is an autogenerated conversion function. -func Convert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus(in *v1alpha2.StorageStatus, out *StorageStatus, s conversion.Scope) error { - return autoConvert_v1alpha2_StorageStatus_To_v1alpha1_StorageStatus(in, out, s) +// Convert_v1alpha3_StorageStatus_To_v1alpha1_StorageStatus is an autogenerated conversion function. +func Convert_v1alpha3_StorageStatus_To_v1alpha1_StorageStatus(in *v1alpha3.StorageStatus, out *StorageStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageStatus_To_v1alpha1_StorageStatus(in, out, s) } -func autoConvert_v1alpha1_SystemConfiguration_To_v1alpha2_SystemConfiguration(in *SystemConfiguration, out *v1alpha2.SystemConfiguration, s conversion.Scope) error { +func autoConvert_v1alpha1_SystemConfiguration_To_v1alpha3_SystemConfiguration(in *SystemConfiguration, out *v1alpha3.SystemConfiguration, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_SystemConfiguration_To_v1alpha2_SystemConfiguration is an autogenerated conversion function. -func Convert_v1alpha1_SystemConfiguration_To_v1alpha2_SystemConfiguration(in *SystemConfiguration, out *v1alpha2.SystemConfiguration, s conversion.Scope) error { - return autoConvert_v1alpha1_SystemConfiguration_To_v1alpha2_SystemConfiguration(in, out, s) +// Convert_v1alpha1_SystemConfiguration_To_v1alpha3_SystemConfiguration is an autogenerated conversion function. +func Convert_v1alpha1_SystemConfiguration_To_v1alpha3_SystemConfiguration(in *SystemConfiguration, out *v1alpha3.SystemConfiguration, s conversion.Scope) error { + return autoConvert_v1alpha1_SystemConfiguration_To_v1alpha3_SystemConfiguration(in, out, s) } -func autoConvert_v1alpha2_SystemConfiguration_To_v1alpha1_SystemConfiguration(in *v1alpha2.SystemConfiguration, out *SystemConfiguration, s conversion.Scope) error { +func autoConvert_v1alpha3_SystemConfiguration_To_v1alpha1_SystemConfiguration(in *v1alpha3.SystemConfiguration, out *SystemConfiguration, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_SystemConfigurationSpec_To_v1alpha1_SystemConfigurationSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_SystemConfigurationSpec_To_v1alpha1_SystemConfigurationSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_SystemConfigurationStatus_To_v1alpha1_SystemConfigurationStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_SystemConfigurationStatus_To_v1alpha1_SystemConfigurationStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_SystemConfiguration_To_v1alpha1_SystemConfiguration is an autogenerated conversion function. -func Convert_v1alpha2_SystemConfiguration_To_v1alpha1_SystemConfiguration(in *v1alpha2.SystemConfiguration, out *SystemConfiguration, s conversion.Scope) error { - return autoConvert_v1alpha2_SystemConfiguration_To_v1alpha1_SystemConfiguration(in, out, s) +// Convert_v1alpha3_SystemConfiguration_To_v1alpha1_SystemConfiguration is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfiguration_To_v1alpha1_SystemConfiguration(in *v1alpha3.SystemConfiguration, out *SystemConfiguration, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfiguration_To_v1alpha1_SystemConfiguration(in, out, s) } -func autoConvert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(in *SystemConfigurationComputeNodeReference, out *v1alpha2.SystemConfigurationComputeNodeReference, s conversion.Scope) error { +func autoConvert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(in *SystemConfigurationComputeNodeReference, out *v1alpha3.SystemConfigurationComputeNodeReference, s conversion.Scope) error { out.Name = in.Name out.Index = in.Index return nil } -// Convert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference is an autogenerated conversion function. -func Convert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(in *SystemConfigurationComputeNodeReference, out *v1alpha2.SystemConfigurationComputeNodeReference, s conversion.Scope) error { - return autoConvert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(in, out, s) +// Convert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference is an autogenerated conversion function. +func Convert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(in *SystemConfigurationComputeNodeReference, out *v1alpha3.SystemConfigurationComputeNodeReference, s conversion.Scope) error { + return autoConvert_v1alpha1_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(in, out, s) } -func autoConvert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(in *v1alpha2.SystemConfigurationComputeNodeReference, out *SystemConfigurationComputeNodeReference, s conversion.Scope) error { +func autoConvert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(in *v1alpha3.SystemConfigurationComputeNodeReference, out *SystemConfigurationComputeNodeReference, s conversion.Scope) error { out.Name = in.Name out.Index = in.Index return nil } -// Convert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference is an autogenerated conversion function. -func Convert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(in *v1alpha2.SystemConfigurationComputeNodeReference, out *SystemConfigurationComputeNodeReference, s conversion.Scope) error { - return autoConvert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(in, out, s) +// Convert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(in *v1alpha3.SystemConfigurationComputeNodeReference, out *SystemConfigurationComputeNodeReference, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha1_SystemConfigurationComputeNodeReference(in, out, s) } -func autoConvert_v1alpha1_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(in *SystemConfigurationList, out *v1alpha2.SystemConfigurationList, s conversion.Scope) error { +func autoConvert_v1alpha1_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(in *SystemConfigurationList, out *v1alpha3.SystemConfigurationList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.SystemConfiguration, len(*in)) + *out = make([]v1alpha3.SystemConfiguration, len(*in)) for i := range *in { - if err := Convert_v1alpha1_SystemConfiguration_To_v1alpha2_SystemConfiguration(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_SystemConfiguration_To_v1alpha3_SystemConfiguration(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -2027,18 +2027,18 @@ func autoConvert_v1alpha1_SystemConfigurationList_To_v1alpha2_SystemConfiguratio return nil } -// Convert_v1alpha1_SystemConfigurationList_To_v1alpha2_SystemConfigurationList is an autogenerated conversion function. -func Convert_v1alpha1_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(in *SystemConfigurationList, out *v1alpha2.SystemConfigurationList, s conversion.Scope) error { - return autoConvert_v1alpha1_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(in, out, s) +// Convert_v1alpha1_SystemConfigurationList_To_v1alpha3_SystemConfigurationList is an autogenerated conversion function. +func Convert_v1alpha1_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(in *SystemConfigurationList, out *v1alpha3.SystemConfigurationList, s conversion.Scope) error { + return autoConvert_v1alpha1_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(in, out, s) } -func autoConvert_v1alpha2_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(in *v1alpha2.SystemConfigurationList, out *SystemConfigurationList, s conversion.Scope) error { +func autoConvert_v1alpha3_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(in *v1alpha3.SystemConfigurationList, out *SystemConfigurationList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]SystemConfiguration, len(*in)) for i := range *in { - if err := Convert_v1alpha2_SystemConfiguration_To_v1alpha1_SystemConfiguration(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_SystemConfiguration_To_v1alpha1_SystemConfiguration(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -2048,19 +2048,19 @@ func autoConvert_v1alpha2_SystemConfigurationList_To_v1alpha1_SystemConfiguratio return nil } -// Convert_v1alpha2_SystemConfigurationList_To_v1alpha1_SystemConfigurationList is an autogenerated conversion function. -func Convert_v1alpha2_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(in *v1alpha2.SystemConfigurationList, out *SystemConfigurationList, s conversion.Scope) error { - return autoConvert_v1alpha2_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(in, out, s) +// Convert_v1alpha3_SystemConfigurationList_To_v1alpha1_SystemConfigurationList is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(in *v1alpha3.SystemConfigurationList, out *SystemConfigurationList, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationList_To_v1alpha1_SystemConfigurationList(in, out, s) } -func autoConvert_v1alpha1_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(in *SystemConfigurationSpec, out *v1alpha2.SystemConfigurationSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(in *SystemConfigurationSpec, out *v1alpha3.SystemConfigurationSpec, s conversion.Scope) error { // WARNING: in.ComputeNodes requires manual conversion: does not exist in peer-type - out.StorageNodes = *(*[]v1alpha2.SystemConfigurationStorageNode)(unsafe.Pointer(&in.StorageNodes)) + out.StorageNodes = *(*[]v1alpha3.SystemConfigurationStorageNode)(unsafe.Pointer(&in.StorageNodes)) out.Ports = *(*[]intstr.IntOrString)(unsafe.Pointer(&in.Ports)) return nil } -func autoConvert_v1alpha2_SystemConfigurationSpec_To_v1alpha1_SystemConfigurationSpec(in *v1alpha2.SystemConfigurationSpec, out *SystemConfigurationSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_SystemConfigurationSpec_To_v1alpha1_SystemConfigurationSpec(in *v1alpha3.SystemConfigurationSpec, out *SystemConfigurationSpec, s conversion.Scope) error { // WARNING: in.ExternalComputeNodes requires manual conversion: does not exist in peer-type out.StorageNodes = *(*[]SystemConfigurationStorageNode)(unsafe.Pointer(&in.StorageNodes)) out.Ports = *(*[]intstr.IntOrString)(unsafe.Pointer(&in.Ports)) @@ -2068,83 +2068,83 @@ func autoConvert_v1alpha2_SystemConfigurationSpec_To_v1alpha1_SystemConfiguratio return nil } -func autoConvert_v1alpha1_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(in *SystemConfigurationStatus, out *v1alpha2.SystemConfigurationStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(in *SystemConfigurationStatus, out *v1alpha3.SystemConfigurationStatus, s conversion.Scope) error { out.Ready = in.Ready return nil } -// Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus is an autogenerated conversion function. -func Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(in *SystemConfigurationStatus, out *v1alpha2.SystemConfigurationStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(in, out, s) +// Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus is an autogenerated conversion function. +func Convert_v1alpha1_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(in *SystemConfigurationStatus, out *v1alpha3.SystemConfigurationStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(in, out, s) } -func autoConvert_v1alpha2_SystemConfigurationStatus_To_v1alpha1_SystemConfigurationStatus(in *v1alpha2.SystemConfigurationStatus, out *SystemConfigurationStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_SystemConfigurationStatus_To_v1alpha1_SystemConfigurationStatus(in *v1alpha3.SystemConfigurationStatus, out *SystemConfigurationStatus, s conversion.Scope) error { out.Ready = in.Ready // WARNING: in.ResourceError requires manual conversion: does not exist in peer-type return nil } -func autoConvert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(in *SystemConfigurationStorageNode, out *v1alpha2.SystemConfigurationStorageNode, s conversion.Scope) error { +func autoConvert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(in *SystemConfigurationStorageNode, out *v1alpha3.SystemConfigurationStorageNode, s conversion.Scope) error { out.Type = in.Type out.Name = in.Name - out.ComputesAccess = *(*[]v1alpha2.SystemConfigurationComputeNodeReference)(unsafe.Pointer(&in.ComputesAccess)) + out.ComputesAccess = *(*[]v1alpha3.SystemConfigurationComputeNodeReference)(unsafe.Pointer(&in.ComputesAccess)) return nil } -// Convert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode is an autogenerated conversion function. -func Convert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(in *SystemConfigurationStorageNode, out *v1alpha2.SystemConfigurationStorageNode, s conversion.Scope) error { - return autoConvert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(in, out, s) +// Convert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode is an autogenerated conversion function. +func Convert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(in *SystemConfigurationStorageNode, out *v1alpha3.SystemConfigurationStorageNode, s conversion.Scope) error { + return autoConvert_v1alpha1_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(in, out, s) } -func autoConvert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(in *v1alpha2.SystemConfigurationStorageNode, out *SystemConfigurationStorageNode, s conversion.Scope) error { +func autoConvert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(in *v1alpha3.SystemConfigurationStorageNode, out *SystemConfigurationStorageNode, s conversion.Scope) error { out.Type = in.Type out.Name = in.Name out.ComputesAccess = *(*[]SystemConfigurationComputeNodeReference)(unsafe.Pointer(&in.ComputesAccess)) return nil } -// Convert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode is an autogenerated conversion function. -func Convert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(in *v1alpha2.SystemConfigurationStorageNode, out *SystemConfigurationStorageNode, s conversion.Scope) error { - return autoConvert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(in, out, s) +// Convert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(in *v1alpha3.SystemConfigurationStorageNode, out *SystemConfigurationStorageNode, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha1_SystemConfigurationStorageNode(in, out, s) } -func autoConvert_v1alpha1_Workflow_To_v1alpha2_Workflow(in *Workflow, out *v1alpha2.Workflow, s conversion.Scope) error { +func autoConvert_v1alpha1_Workflow_To_v1alpha3_Workflow(in *Workflow, out *v1alpha3.Workflow, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha1_WorkflowSpec_To_v1alpha2_WorkflowSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha1_WorkflowSpec_To_v1alpha3_WorkflowSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha1_WorkflowStatus_To_v1alpha3_WorkflowStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha1_Workflow_To_v1alpha2_Workflow is an autogenerated conversion function. -func Convert_v1alpha1_Workflow_To_v1alpha2_Workflow(in *Workflow, out *v1alpha2.Workflow, s conversion.Scope) error { - return autoConvert_v1alpha1_Workflow_To_v1alpha2_Workflow(in, out, s) +// Convert_v1alpha1_Workflow_To_v1alpha3_Workflow is an autogenerated conversion function. +func Convert_v1alpha1_Workflow_To_v1alpha3_Workflow(in *Workflow, out *v1alpha3.Workflow, s conversion.Scope) error { + return autoConvert_v1alpha1_Workflow_To_v1alpha3_Workflow(in, out, s) } -func autoConvert_v1alpha2_Workflow_To_v1alpha1_Workflow(in *v1alpha2.Workflow, out *Workflow, s conversion.Scope) error { +func autoConvert_v1alpha3_Workflow_To_v1alpha1_Workflow(in *v1alpha3.Workflow, out *Workflow, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - if err := Convert_v1alpha2_WorkflowSpec_To_v1alpha1_WorkflowSpec(&in.Spec, &out.Spec, s); err != nil { + if err := Convert_v1alpha3_WorkflowSpec_To_v1alpha1_WorkflowSpec(&in.Spec, &out.Spec, s); err != nil { return err } - if err := Convert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus(&in.Status, &out.Status, s); err != nil { + if err := Convert_v1alpha3_WorkflowStatus_To_v1alpha1_WorkflowStatus(&in.Status, &out.Status, s); err != nil { return err } return nil } -// Convert_v1alpha2_Workflow_To_v1alpha1_Workflow is an autogenerated conversion function. -func Convert_v1alpha2_Workflow_To_v1alpha1_Workflow(in *v1alpha2.Workflow, out *Workflow, s conversion.Scope) error { - return autoConvert_v1alpha2_Workflow_To_v1alpha1_Workflow(in, out, s) +// Convert_v1alpha3_Workflow_To_v1alpha1_Workflow is an autogenerated conversion function. +func Convert_v1alpha3_Workflow_To_v1alpha1_Workflow(in *v1alpha3.Workflow, out *Workflow, s conversion.Scope) error { + return autoConvert_v1alpha3_Workflow_To_v1alpha1_Workflow(in, out, s) } -func autoConvert_v1alpha1_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(in *WorkflowDriverStatus, out *v1alpha2.WorkflowDriverStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(in *WorkflowDriverStatus, out *v1alpha3.WorkflowDriverStatus, s conversion.Scope) error { out.DriverID = in.DriverID out.TaskID = in.TaskID out.DWDIndex = in.DWDIndex - out.WatchState = v1alpha2.WorkflowState(in.WatchState) + out.WatchState = v1alpha3.WorkflowState(in.WatchState) out.LastHB = in.LastHB out.Completed = in.Completed out.Status = in.Status @@ -2154,12 +2154,12 @@ func autoConvert_v1alpha1_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus( return nil } -// Convert_v1alpha1_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus is an autogenerated conversion function. -func Convert_v1alpha1_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(in *WorkflowDriverStatus, out *v1alpha2.WorkflowDriverStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(in, out, s) +// Convert_v1alpha1_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus is an autogenerated conversion function. +func Convert_v1alpha1_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(in *WorkflowDriverStatus, out *v1alpha3.WorkflowDriverStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(in, out, s) } -func autoConvert_v1alpha2_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(in *v1alpha2.WorkflowDriverStatus, out *WorkflowDriverStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(in *v1alpha3.WorkflowDriverStatus, out *WorkflowDriverStatus, s conversion.Scope) error { out.DriverID = in.DriverID out.TaskID = in.TaskID out.DWDIndex = in.DWDIndex @@ -2173,18 +2173,18 @@ func autoConvert_v1alpha2_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus( return nil } -// Convert_v1alpha2_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus is an autogenerated conversion function. -func Convert_v1alpha2_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(in *v1alpha2.WorkflowDriverStatus, out *WorkflowDriverStatus, s conversion.Scope) error { - return autoConvert_v1alpha2_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(in, out, s) +// Convert_v1alpha3_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(in *v1alpha3.WorkflowDriverStatus, out *WorkflowDriverStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowDriverStatus_To_v1alpha1_WorkflowDriverStatus(in, out, s) } -func autoConvert_v1alpha1_WorkflowList_To_v1alpha2_WorkflowList(in *WorkflowList, out *v1alpha2.WorkflowList, s conversion.Scope) error { +func autoConvert_v1alpha1_WorkflowList_To_v1alpha3_WorkflowList(in *WorkflowList, out *v1alpha3.WorkflowList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]v1alpha2.Workflow, len(*in)) + *out = make([]v1alpha3.Workflow, len(*in)) for i := range *in { - if err := Convert_v1alpha1_Workflow_To_v1alpha2_Workflow(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha1_Workflow_To_v1alpha3_Workflow(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -2194,18 +2194,18 @@ func autoConvert_v1alpha1_WorkflowList_To_v1alpha2_WorkflowList(in *WorkflowList return nil } -// Convert_v1alpha1_WorkflowList_To_v1alpha2_WorkflowList is an autogenerated conversion function. -func Convert_v1alpha1_WorkflowList_To_v1alpha2_WorkflowList(in *WorkflowList, out *v1alpha2.WorkflowList, s conversion.Scope) error { - return autoConvert_v1alpha1_WorkflowList_To_v1alpha2_WorkflowList(in, out, s) +// Convert_v1alpha1_WorkflowList_To_v1alpha3_WorkflowList is an autogenerated conversion function. +func Convert_v1alpha1_WorkflowList_To_v1alpha3_WorkflowList(in *WorkflowList, out *v1alpha3.WorkflowList, s conversion.Scope) error { + return autoConvert_v1alpha1_WorkflowList_To_v1alpha3_WorkflowList(in, out, s) } -func autoConvert_v1alpha2_WorkflowList_To_v1alpha1_WorkflowList(in *v1alpha2.WorkflowList, out *WorkflowList, s conversion.Scope) error { +func autoConvert_v1alpha3_WorkflowList_To_v1alpha1_WorkflowList(in *v1alpha3.WorkflowList, out *WorkflowList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Workflow, len(*in)) for i := range *in { - if err := Convert_v1alpha2_Workflow_To_v1alpha1_Workflow(&(*in)[i], &(*out)[i], s); err != nil { + if err := Convert_v1alpha3_Workflow_To_v1alpha1_Workflow(&(*in)[i], &(*out)[i], s); err != nil { return err } } @@ -2215,13 +2215,13 @@ func autoConvert_v1alpha2_WorkflowList_To_v1alpha1_WorkflowList(in *v1alpha2.Wor return nil } -// Convert_v1alpha2_WorkflowList_To_v1alpha1_WorkflowList is an autogenerated conversion function. -func Convert_v1alpha2_WorkflowList_To_v1alpha1_WorkflowList(in *v1alpha2.WorkflowList, out *WorkflowList, s conversion.Scope) error { - return autoConvert_v1alpha2_WorkflowList_To_v1alpha1_WorkflowList(in, out, s) +// Convert_v1alpha3_WorkflowList_To_v1alpha1_WorkflowList is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowList_To_v1alpha1_WorkflowList(in *v1alpha3.WorkflowList, out *WorkflowList, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowList_To_v1alpha1_WorkflowList(in, out, s) } -func autoConvert_v1alpha1_WorkflowSpec_To_v1alpha2_WorkflowSpec(in *WorkflowSpec, out *v1alpha2.WorkflowSpec, s conversion.Scope) error { - out.DesiredState = v1alpha2.WorkflowState(in.DesiredState) +func autoConvert_v1alpha1_WorkflowSpec_To_v1alpha3_WorkflowSpec(in *WorkflowSpec, out *v1alpha3.WorkflowSpec, s conversion.Scope) error { + out.DesiredState = v1alpha3.WorkflowState(in.DesiredState) out.WLMID = in.WLMID // WARNING: in.JobID requires manual conversion: inconvertible types (int vs k8s.io/apimachinery/pkg/util/intstr.IntOrString) out.UserID = in.UserID @@ -2231,7 +2231,7 @@ func autoConvert_v1alpha1_WorkflowSpec_To_v1alpha2_WorkflowSpec(in *WorkflowSpec return nil } -func autoConvert_v1alpha2_WorkflowSpec_To_v1alpha1_WorkflowSpec(in *v1alpha2.WorkflowSpec, out *WorkflowSpec, s conversion.Scope) error { +func autoConvert_v1alpha3_WorkflowSpec_To_v1alpha1_WorkflowSpec(in *v1alpha3.WorkflowSpec, out *WorkflowSpec, s conversion.Scope) error { out.DesiredState = WorkflowState(in.DesiredState) out.WLMID = in.WLMID // WARNING: in.JobID requires manual conversion: inconvertible types (k8s.io/apimachinery/pkg/util/intstr.IntOrString vs int) @@ -2242,13 +2242,13 @@ func autoConvert_v1alpha2_WorkflowSpec_To_v1alpha1_WorkflowSpec(in *v1alpha2.Wor return nil } -func autoConvert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus(in *WorkflowStatus, out *v1alpha2.WorkflowStatus, s conversion.Scope) error { - out.State = v1alpha2.WorkflowState(in.State) +func autoConvert_v1alpha1_WorkflowStatus_To_v1alpha3_WorkflowStatus(in *WorkflowStatus, out *v1alpha3.WorkflowStatus, s conversion.Scope) error { + out.State = v1alpha3.WorkflowState(in.State) out.Ready = in.Ready out.Status = in.Status out.Message = in.Message out.Env = *(*map[string]string)(unsafe.Pointer(&in.Env)) - out.Drivers = *(*[]v1alpha2.WorkflowDriverStatus)(unsafe.Pointer(&in.Drivers)) + out.Drivers = *(*[]v1alpha3.WorkflowDriverStatus)(unsafe.Pointer(&in.Drivers)) out.DirectiveBreakdowns = *(*[]v1.ObjectReference)(unsafe.Pointer(&in.DirectiveBreakdowns)) out.Computes = in.Computes out.DesiredStateChange = (*metav1.MicroTime)(unsafe.Pointer(in.DesiredStateChange)) @@ -2257,12 +2257,12 @@ func autoConvert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus(in *Workflow return nil } -// Convert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus is an autogenerated conversion function. -func Convert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus(in *WorkflowStatus, out *v1alpha2.WorkflowStatus, s conversion.Scope) error { - return autoConvert_v1alpha1_WorkflowStatus_To_v1alpha2_WorkflowStatus(in, out, s) +// Convert_v1alpha1_WorkflowStatus_To_v1alpha3_WorkflowStatus is an autogenerated conversion function. +func Convert_v1alpha1_WorkflowStatus_To_v1alpha3_WorkflowStatus(in *WorkflowStatus, out *v1alpha3.WorkflowStatus, s conversion.Scope) error { + return autoConvert_v1alpha1_WorkflowStatus_To_v1alpha3_WorkflowStatus(in, out, s) } -func autoConvert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus(in *v1alpha2.WorkflowStatus, out *WorkflowStatus, s conversion.Scope) error { +func autoConvert_v1alpha3_WorkflowStatus_To_v1alpha1_WorkflowStatus(in *v1alpha3.WorkflowStatus, out *WorkflowStatus, s conversion.Scope) error { out.State = WorkflowState(in.State) out.Ready = in.Ready out.Status = in.Status @@ -2277,7 +2277,7 @@ func autoConvert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus(in *v1alpha2 return nil } -// Convert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus is an autogenerated conversion function. -func Convert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus(in *v1alpha2.WorkflowStatus, out *WorkflowStatus, s conversion.Scope) error { - return autoConvert_v1alpha2_WorkflowStatus_To_v1alpha1_WorkflowStatus(in, out, s) +// Convert_v1alpha3_WorkflowStatus_To_v1alpha1_WorkflowStatus is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowStatus_To_v1alpha1_WorkflowStatus(in *v1alpha3.WorkflowStatus, out *WorkflowStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowStatus_To_v1alpha1_WorkflowStatus(in, out, s) } diff --git a/api/v1alpha2/zz_generated.conversion.go b/api/v1alpha2/zz_generated.conversion.go new file mode 100644 index 00000000..9fe8520d --- /dev/null +++ b/api/v1alpha2/zz_generated.conversion.go @@ -0,0 +1,2227 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* + * Copyright 2024 Hewlett Packard Enterprise Development LP + * Other additional copyright holders may be indicated within. + * + * The entirety of this work is licensed under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Code generated by conversion-gen. DO NOT EDIT. + +package v1alpha2 + +import ( + unsafe "unsafe" + + v1alpha3 "github.com/DataWorkflowServices/dws/api/v1alpha3" + dwdparse "github.com/DataWorkflowServices/dws/utils/dwdparse" + v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" + intstr "k8s.io/apimachinery/pkg/util/intstr" +) + +func init() { + localSchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(s *runtime.Scheme) error { + if err := s.AddGeneratedConversionFunc((*AllocationSetColocationConstraint)(nil), (*v1alpha3.AllocationSetColocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(a.(*AllocationSetColocationConstraint), b.(*v1alpha3.AllocationSetColocationConstraint), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.AllocationSetColocationConstraint)(nil), (*AllocationSetColocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(a.(*v1alpha3.AllocationSetColocationConstraint), b.(*AllocationSetColocationConstraint), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*AllocationSetConstraints)(nil), (*v1alpha3.AllocationSetConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(a.(*AllocationSetConstraints), b.(*v1alpha3.AllocationSetConstraints), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.AllocationSetConstraints)(nil), (*AllocationSetConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(a.(*v1alpha3.AllocationSetConstraints), b.(*AllocationSetConstraints), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMount)(nil), (*v1alpha3.ClientMount)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMount_To_v1alpha3_ClientMount(a.(*ClientMount), b.(*v1alpha3.ClientMount), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMount)(nil), (*ClientMount)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMount_To_v1alpha2_ClientMount(a.(*v1alpha3.ClientMount), b.(*ClientMount), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountDevice)(nil), (*v1alpha3.ClientMountDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountDevice_To_v1alpha3_ClientMountDevice(a.(*ClientMountDevice), b.(*v1alpha3.ClientMountDevice), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDevice)(nil), (*ClientMountDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDevice_To_v1alpha2_ClientMountDevice(a.(*v1alpha3.ClientMountDevice), b.(*ClientMountDevice), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountDeviceLVM)(nil), (*v1alpha3.ClientMountDeviceLVM)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(a.(*ClientMountDeviceLVM), b.(*v1alpha3.ClientMountDeviceLVM), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDeviceLVM)(nil), (*ClientMountDeviceLVM)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(a.(*v1alpha3.ClientMountDeviceLVM), b.(*ClientMountDeviceLVM), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountDeviceLustre)(nil), (*v1alpha3.ClientMountDeviceLustre)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(a.(*ClientMountDeviceLustre), b.(*v1alpha3.ClientMountDeviceLustre), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDeviceLustre)(nil), (*ClientMountDeviceLustre)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(a.(*v1alpha3.ClientMountDeviceLustre), b.(*ClientMountDeviceLustre), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountDeviceReference)(nil), (*v1alpha3.ClientMountDeviceReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(a.(*ClientMountDeviceReference), b.(*v1alpha3.ClientMountDeviceReference), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountDeviceReference)(nil), (*ClientMountDeviceReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(a.(*v1alpha3.ClientMountDeviceReference), b.(*ClientMountDeviceReference), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountInfo)(nil), (*v1alpha3.ClientMountInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountInfo_To_v1alpha3_ClientMountInfo(a.(*ClientMountInfo), b.(*v1alpha3.ClientMountInfo), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountInfo)(nil), (*ClientMountInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountInfo_To_v1alpha2_ClientMountInfo(a.(*v1alpha3.ClientMountInfo), b.(*ClientMountInfo), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountInfoStatus)(nil), (*v1alpha3.ClientMountInfoStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(a.(*ClientMountInfoStatus), b.(*v1alpha3.ClientMountInfoStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountInfoStatus)(nil), (*ClientMountInfoStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(a.(*v1alpha3.ClientMountInfoStatus), b.(*ClientMountInfoStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountList)(nil), (*v1alpha3.ClientMountList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountList_To_v1alpha3_ClientMountList(a.(*ClientMountList), b.(*v1alpha3.ClientMountList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountList)(nil), (*ClientMountList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountList_To_v1alpha2_ClientMountList(a.(*v1alpha3.ClientMountList), b.(*ClientMountList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountNVMeDesc)(nil), (*v1alpha3.ClientMountNVMeDesc)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(a.(*ClientMountNVMeDesc), b.(*v1alpha3.ClientMountNVMeDesc), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountNVMeDesc)(nil), (*ClientMountNVMeDesc)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(a.(*v1alpha3.ClientMountNVMeDesc), b.(*ClientMountNVMeDesc), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountSpec)(nil), (*v1alpha3.ClientMountSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountSpec_To_v1alpha3_ClientMountSpec(a.(*ClientMountSpec), b.(*v1alpha3.ClientMountSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountSpec)(nil), (*ClientMountSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountSpec_To_v1alpha2_ClientMountSpec(a.(*v1alpha3.ClientMountSpec), b.(*ClientMountSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ClientMountStatus)(nil), (*v1alpha3.ClientMountStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ClientMountStatus_To_v1alpha3_ClientMountStatus(a.(*ClientMountStatus), b.(*v1alpha3.ClientMountStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ClientMountStatus)(nil), (*ClientMountStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ClientMountStatus_To_v1alpha2_ClientMountStatus(a.(*v1alpha3.ClientMountStatus), b.(*ClientMountStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ComputeBreakdown)(nil), (*v1alpha3.ComputeBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(a.(*ComputeBreakdown), b.(*v1alpha3.ComputeBreakdown), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeBreakdown)(nil), (*ComputeBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(a.(*v1alpha3.ComputeBreakdown), b.(*ComputeBreakdown), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ComputeConstraints)(nil), (*v1alpha3.ComputeConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ComputeConstraints_To_v1alpha3_ComputeConstraints(a.(*ComputeConstraints), b.(*v1alpha3.ComputeConstraints), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeConstraints)(nil), (*ComputeConstraints)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeConstraints_To_v1alpha2_ComputeConstraints(a.(*v1alpha3.ComputeConstraints), b.(*ComputeConstraints), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ComputeLocationAccess)(nil), (*v1alpha3.ComputeLocationAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(a.(*ComputeLocationAccess), b.(*v1alpha3.ComputeLocationAccess), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeLocationAccess)(nil), (*ComputeLocationAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(a.(*v1alpha3.ComputeLocationAccess), b.(*ComputeLocationAccess), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ComputeLocationConstraint)(nil), (*v1alpha3.ComputeLocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(a.(*ComputeLocationConstraint), b.(*v1alpha3.ComputeLocationConstraint), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputeLocationConstraint)(nil), (*ComputeLocationConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(a.(*v1alpha3.ComputeLocationConstraint), b.(*ComputeLocationConstraint), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*Computes)(nil), (*v1alpha3.Computes)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_Computes_To_v1alpha3_Computes(a.(*Computes), b.(*v1alpha3.Computes), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.Computes)(nil), (*Computes)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Computes_To_v1alpha2_Computes(a.(*v1alpha3.Computes), b.(*Computes), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ComputesData)(nil), (*v1alpha3.ComputesData)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ComputesData_To_v1alpha3_ComputesData(a.(*ComputesData), b.(*v1alpha3.ComputesData), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputesData)(nil), (*ComputesData)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputesData_To_v1alpha2_ComputesData(a.(*v1alpha3.ComputesData), b.(*ComputesData), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ComputesList)(nil), (*v1alpha3.ComputesList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ComputesList_To_v1alpha3_ComputesList(a.(*ComputesList), b.(*v1alpha3.ComputesList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ComputesList)(nil), (*ComputesList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ComputesList_To_v1alpha2_ComputesList(a.(*v1alpha3.ComputesList), b.(*ComputesList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*DWDirectiveRule)(nil), (*v1alpha3.DWDirectiveRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(a.(*DWDirectiveRule), b.(*v1alpha3.DWDirectiveRule), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.DWDirectiveRule)(nil), (*DWDirectiveRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(a.(*v1alpha3.DWDirectiveRule), b.(*DWDirectiveRule), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*DWDirectiveRuleList)(nil), (*v1alpha3.DWDirectiveRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(a.(*DWDirectiveRuleList), b.(*v1alpha3.DWDirectiveRuleList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.DWDirectiveRuleList)(nil), (*DWDirectiveRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(a.(*v1alpha3.DWDirectiveRuleList), b.(*DWDirectiveRuleList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdown)(nil), (*v1alpha3.DirectiveBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(a.(*DirectiveBreakdown), b.(*v1alpha3.DirectiveBreakdown), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdown)(nil), (*DirectiveBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(a.(*v1alpha3.DirectiveBreakdown), b.(*DirectiveBreakdown), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownList)(nil), (*v1alpha3.DirectiveBreakdownList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(a.(*DirectiveBreakdownList), b.(*v1alpha3.DirectiveBreakdownList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdownList)(nil), (*DirectiveBreakdownList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(a.(*v1alpha3.DirectiveBreakdownList), b.(*DirectiveBreakdownList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownSpec)(nil), (*v1alpha3.DirectiveBreakdownSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(a.(*DirectiveBreakdownSpec), b.(*v1alpha3.DirectiveBreakdownSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdownSpec)(nil), (*DirectiveBreakdownSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(a.(*v1alpha3.DirectiveBreakdownSpec), b.(*DirectiveBreakdownSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*DirectiveBreakdownStatus)(nil), (*v1alpha3.DirectiveBreakdownStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(a.(*DirectiveBreakdownStatus), b.(*v1alpha3.DirectiveBreakdownStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.DirectiveBreakdownStatus)(nil), (*DirectiveBreakdownStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(a.(*v1alpha3.DirectiveBreakdownStatus), b.(*DirectiveBreakdownStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*Node)(nil), (*v1alpha3.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_Node_To_v1alpha3_Node(a.(*Node), b.(*v1alpha3.Node), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.Node)(nil), (*Node)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Node_To_v1alpha2_Node(a.(*v1alpha3.Node), b.(*Node), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstance)(nil), (*v1alpha3.PersistentStorageInstance)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(a.(*PersistentStorageInstance), b.(*v1alpha3.PersistentStorageInstance), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstance)(nil), (*PersistentStorageInstance)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(a.(*v1alpha3.PersistentStorageInstance), b.(*PersistentStorageInstance), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceList)(nil), (*v1alpha3.PersistentStorageInstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(a.(*PersistentStorageInstanceList), b.(*v1alpha3.PersistentStorageInstanceList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstanceList)(nil), (*PersistentStorageInstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(a.(*v1alpha3.PersistentStorageInstanceList), b.(*PersistentStorageInstanceList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceSpec)(nil), (*v1alpha3.PersistentStorageInstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(a.(*PersistentStorageInstanceSpec), b.(*v1alpha3.PersistentStorageInstanceSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstanceSpec)(nil), (*PersistentStorageInstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(a.(*v1alpha3.PersistentStorageInstanceSpec), b.(*PersistentStorageInstanceSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*PersistentStorageInstanceStatus)(nil), (*v1alpha3.PersistentStorageInstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(a.(*PersistentStorageInstanceStatus), b.(*v1alpha3.PersistentStorageInstanceStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.PersistentStorageInstanceStatus)(nil), (*PersistentStorageInstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(a.(*v1alpha3.PersistentStorageInstanceStatus), b.(*PersistentStorageInstanceStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ResourceError)(nil), (*v1alpha3.ResourceError)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(a.(*ResourceError), b.(*v1alpha3.ResourceError), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ResourceError)(nil), (*ResourceError)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(a.(*v1alpha3.ResourceError), b.(*ResourceError), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ResourceErrorInfo)(nil), (*v1alpha3.ResourceErrorInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(a.(*ResourceErrorInfo), b.(*v1alpha3.ResourceErrorInfo), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ResourceErrorInfo)(nil), (*ResourceErrorInfo)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(a.(*v1alpha3.ResourceErrorInfo), b.(*ResourceErrorInfo), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*Servers)(nil), (*v1alpha3.Servers)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_Servers_To_v1alpha3_Servers(a.(*Servers), b.(*v1alpha3.Servers), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.Servers)(nil), (*Servers)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Servers_To_v1alpha2_Servers(a.(*v1alpha3.Servers), b.(*Servers), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersList)(nil), (*v1alpha3.ServersList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersList_To_v1alpha3_ServersList(a.(*ServersList), b.(*v1alpha3.ServersList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersList)(nil), (*ServersList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersList_To_v1alpha2_ServersList(a.(*v1alpha3.ServersList), b.(*ServersList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersSpec)(nil), (*v1alpha3.ServersSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersSpec_To_v1alpha3_ServersSpec(a.(*ServersSpec), b.(*v1alpha3.ServersSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersSpec)(nil), (*ServersSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersSpec_To_v1alpha2_ServersSpec(a.(*v1alpha3.ServersSpec), b.(*ServersSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersSpecAllocationSet)(nil), (*v1alpha3.ServersSpecAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(a.(*ServersSpecAllocationSet), b.(*v1alpha3.ServersSpecAllocationSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersSpecAllocationSet)(nil), (*ServersSpecAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(a.(*v1alpha3.ServersSpecAllocationSet), b.(*ServersSpecAllocationSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersSpecStorage)(nil), (*v1alpha3.ServersSpecStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(a.(*ServersSpecStorage), b.(*v1alpha3.ServersSpecStorage), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersSpecStorage)(nil), (*ServersSpecStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(a.(*v1alpha3.ServersSpecStorage), b.(*ServersSpecStorage), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersStatus)(nil), (*v1alpha3.ServersStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersStatus_To_v1alpha3_ServersStatus(a.(*ServersStatus), b.(*v1alpha3.ServersStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersStatus)(nil), (*ServersStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersStatus_To_v1alpha2_ServersStatus(a.(*v1alpha3.ServersStatus), b.(*ServersStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersStatusAllocationSet)(nil), (*v1alpha3.ServersStatusAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(a.(*ServersStatusAllocationSet), b.(*v1alpha3.ServersStatusAllocationSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersStatusAllocationSet)(nil), (*ServersStatusAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(a.(*v1alpha3.ServersStatusAllocationSet), b.(*ServersStatusAllocationSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*ServersStatusStorage)(nil), (*v1alpha3.ServersStatusStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(a.(*ServersStatusStorage), b.(*v1alpha3.ServersStatusStorage), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.ServersStatusStorage)(nil), (*ServersStatusStorage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(a.(*v1alpha3.ServersStatusStorage), b.(*ServersStatusStorage), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*Storage)(nil), (*v1alpha3.Storage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_Storage_To_v1alpha3_Storage(a.(*Storage), b.(*v1alpha3.Storage), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.Storage)(nil), (*Storage)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Storage_To_v1alpha2_Storage(a.(*v1alpha3.Storage), b.(*Storage), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageAccess)(nil), (*v1alpha3.StorageAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageAccess_To_v1alpha3_StorageAccess(a.(*StorageAccess), b.(*v1alpha3.StorageAccess), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageAccess)(nil), (*StorageAccess)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageAccess_To_v1alpha2_StorageAccess(a.(*v1alpha3.StorageAccess), b.(*StorageAccess), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageAllocationSet)(nil), (*v1alpha3.StorageAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(a.(*StorageAllocationSet), b.(*v1alpha3.StorageAllocationSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageAllocationSet)(nil), (*StorageAllocationSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(a.(*v1alpha3.StorageAllocationSet), b.(*StorageAllocationSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageBreakdown)(nil), (*v1alpha3.StorageBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageBreakdown_To_v1alpha3_StorageBreakdown(a.(*StorageBreakdown), b.(*v1alpha3.StorageBreakdown), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageBreakdown)(nil), (*StorageBreakdown)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageBreakdown_To_v1alpha2_StorageBreakdown(a.(*v1alpha3.StorageBreakdown), b.(*StorageBreakdown), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageDevice)(nil), (*v1alpha3.StorageDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageDevice_To_v1alpha3_StorageDevice(a.(*StorageDevice), b.(*v1alpha3.StorageDevice), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageDevice)(nil), (*StorageDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageDevice_To_v1alpha2_StorageDevice(a.(*v1alpha3.StorageDevice), b.(*StorageDevice), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageList)(nil), (*v1alpha3.StorageList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageList_To_v1alpha3_StorageList(a.(*StorageList), b.(*v1alpha3.StorageList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageList)(nil), (*StorageList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageList_To_v1alpha2_StorageList(a.(*v1alpha3.StorageList), b.(*StorageList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageSpec)(nil), (*v1alpha3.StorageSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageSpec_To_v1alpha3_StorageSpec(a.(*StorageSpec), b.(*v1alpha3.StorageSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageSpec)(nil), (*StorageSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageSpec_To_v1alpha2_StorageSpec(a.(*v1alpha3.StorageSpec), b.(*StorageSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*StorageStatus)(nil), (*v1alpha3.StorageStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_StorageStatus_To_v1alpha3_StorageStatus(a.(*StorageStatus), b.(*v1alpha3.StorageStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.StorageStatus)(nil), (*StorageStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_StorageStatus_To_v1alpha2_StorageStatus(a.(*v1alpha3.StorageStatus), b.(*StorageStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfiguration)(nil), (*v1alpha3.SystemConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfiguration_To_v1alpha3_SystemConfiguration(a.(*SystemConfiguration), b.(*v1alpha3.SystemConfiguration), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfiguration)(nil), (*SystemConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfiguration_To_v1alpha2_SystemConfiguration(a.(*v1alpha3.SystemConfiguration), b.(*SystemConfiguration), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfigurationComputeNodeReference)(nil), (*v1alpha3.SystemConfigurationComputeNodeReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(a.(*SystemConfigurationComputeNodeReference), b.(*v1alpha3.SystemConfigurationComputeNodeReference), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationComputeNodeReference)(nil), (*SystemConfigurationComputeNodeReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(a.(*v1alpha3.SystemConfigurationComputeNodeReference), b.(*SystemConfigurationComputeNodeReference), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfigurationExternalComputeNode)(nil), (*v1alpha3.SystemConfigurationExternalComputeNode)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfigurationExternalComputeNode_To_v1alpha3_SystemConfigurationExternalComputeNode(a.(*SystemConfigurationExternalComputeNode), b.(*v1alpha3.SystemConfigurationExternalComputeNode), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationExternalComputeNode)(nil), (*SystemConfigurationExternalComputeNode)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationExternalComputeNode_To_v1alpha2_SystemConfigurationExternalComputeNode(a.(*v1alpha3.SystemConfigurationExternalComputeNode), b.(*SystemConfigurationExternalComputeNode), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfigurationList)(nil), (*v1alpha3.SystemConfigurationList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(a.(*SystemConfigurationList), b.(*v1alpha3.SystemConfigurationList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationList)(nil), (*SystemConfigurationList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(a.(*v1alpha3.SystemConfigurationList), b.(*SystemConfigurationList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfigurationSpec)(nil), (*v1alpha3.SystemConfigurationSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(a.(*SystemConfigurationSpec), b.(*v1alpha3.SystemConfigurationSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationSpec)(nil), (*SystemConfigurationSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(a.(*v1alpha3.SystemConfigurationSpec), b.(*SystemConfigurationSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfigurationStatus)(nil), (*v1alpha3.SystemConfigurationStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(a.(*SystemConfigurationStatus), b.(*v1alpha3.SystemConfigurationStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationStatus)(nil), (*SystemConfigurationStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(a.(*v1alpha3.SystemConfigurationStatus), b.(*SystemConfigurationStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*SystemConfigurationStorageNode)(nil), (*v1alpha3.SystemConfigurationStorageNode)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(a.(*SystemConfigurationStorageNode), b.(*v1alpha3.SystemConfigurationStorageNode), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.SystemConfigurationStorageNode)(nil), (*SystemConfigurationStorageNode)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(a.(*v1alpha3.SystemConfigurationStorageNode), b.(*SystemConfigurationStorageNode), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*Workflow)(nil), (*v1alpha3.Workflow)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_Workflow_To_v1alpha3_Workflow(a.(*Workflow), b.(*v1alpha3.Workflow), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.Workflow)(nil), (*Workflow)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_Workflow_To_v1alpha2_Workflow(a.(*v1alpha3.Workflow), b.(*Workflow), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*WorkflowDriverStatus)(nil), (*v1alpha3.WorkflowDriverStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(a.(*WorkflowDriverStatus), b.(*v1alpha3.WorkflowDriverStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowDriverStatus)(nil), (*WorkflowDriverStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(a.(*v1alpha3.WorkflowDriverStatus), b.(*WorkflowDriverStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*WorkflowList)(nil), (*v1alpha3.WorkflowList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_WorkflowList_To_v1alpha3_WorkflowList(a.(*WorkflowList), b.(*v1alpha3.WorkflowList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowList)(nil), (*WorkflowList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowList_To_v1alpha2_WorkflowList(a.(*v1alpha3.WorkflowList), b.(*WorkflowList), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*WorkflowSpec)(nil), (*v1alpha3.WorkflowSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_WorkflowSpec_To_v1alpha3_WorkflowSpec(a.(*WorkflowSpec), b.(*v1alpha3.WorkflowSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowSpec)(nil), (*WorkflowSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowSpec_To_v1alpha2_WorkflowSpec(a.(*v1alpha3.WorkflowSpec), b.(*WorkflowSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*WorkflowStatus)(nil), (*v1alpha3.WorkflowStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha2_WorkflowStatus_To_v1alpha3_WorkflowStatus(a.(*WorkflowStatus), b.(*v1alpha3.WorkflowStatus), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1alpha3.WorkflowStatus)(nil), (*WorkflowStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha3_WorkflowStatus_To_v1alpha2_WorkflowStatus(a.(*v1alpha3.WorkflowStatus), b.(*WorkflowStatus), scope) + }); err != nil { + return err + } + return nil +} + +func autoConvert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(in *AllocationSetColocationConstraint, out *v1alpha3.AllocationSetColocationConstraint, s conversion.Scope) error { + out.Type = in.Type + out.Key = in.Key + return nil +} + +// Convert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint is an autogenerated conversion function. +func Convert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(in *AllocationSetColocationConstraint, out *v1alpha3.AllocationSetColocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha2_AllocationSetColocationConstraint_To_v1alpha3_AllocationSetColocationConstraint(in, out, s) +} + +func autoConvert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(in *v1alpha3.AllocationSetColocationConstraint, out *AllocationSetColocationConstraint, s conversion.Scope) error { + out.Type = in.Type + out.Key = in.Key + return nil +} + +// Convert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint is an autogenerated conversion function. +func Convert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(in *v1alpha3.AllocationSetColocationConstraint, out *AllocationSetColocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha3_AllocationSetColocationConstraint_To_v1alpha2_AllocationSetColocationConstraint(in, out, s) +} + +func autoConvert_v1alpha2_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(in *AllocationSetConstraints, out *v1alpha3.AllocationSetConstraints, s conversion.Scope) error { + out.Labels = *(*[]string)(unsafe.Pointer(&in.Labels)) + out.Scale = in.Scale + out.Count = in.Count + out.Colocation = *(*[]v1alpha3.AllocationSetColocationConstraint)(unsafe.Pointer(&in.Colocation)) + return nil +} + +// Convert_v1alpha2_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints is an autogenerated conversion function. +func Convert_v1alpha2_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(in *AllocationSetConstraints, out *v1alpha3.AllocationSetConstraints, s conversion.Scope) error { + return autoConvert_v1alpha2_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(in, out, s) +} + +func autoConvert_v1alpha3_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(in *v1alpha3.AllocationSetConstraints, out *AllocationSetConstraints, s conversion.Scope) error { + out.Labels = *(*[]string)(unsafe.Pointer(&in.Labels)) + out.Scale = in.Scale + out.Count = in.Count + out.Colocation = *(*[]AllocationSetColocationConstraint)(unsafe.Pointer(&in.Colocation)) + return nil +} + +// Convert_v1alpha3_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints is an autogenerated conversion function. +func Convert_v1alpha3_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(in *v1alpha3.AllocationSetConstraints, out *AllocationSetConstraints, s conversion.Scope) error { + return autoConvert_v1alpha3_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(in, out, s) +} + +func autoConvert_v1alpha2_ClientMount_To_v1alpha3_ClientMount(in *ClientMount, out *v1alpha3.ClientMount, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_ClientMountSpec_To_v1alpha3_ClientMountSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_ClientMountStatus_To_v1alpha3_ClientMountStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_ClientMount_To_v1alpha3_ClientMount is an autogenerated conversion function. +func Convert_v1alpha2_ClientMount_To_v1alpha3_ClientMount(in *ClientMount, out *v1alpha3.ClientMount, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMount_To_v1alpha3_ClientMount(in, out, s) +} + +func autoConvert_v1alpha3_ClientMount_To_v1alpha2_ClientMount(in *v1alpha3.ClientMount, out *ClientMount, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_ClientMountSpec_To_v1alpha2_ClientMountSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_ClientMountStatus_To_v1alpha2_ClientMountStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_ClientMount_To_v1alpha2_ClientMount is an autogenerated conversion function. +func Convert_v1alpha3_ClientMount_To_v1alpha2_ClientMount(in *v1alpha3.ClientMount, out *ClientMount, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMount_To_v1alpha2_ClientMount(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountDevice_To_v1alpha3_ClientMountDevice(in *ClientMountDevice, out *v1alpha3.ClientMountDevice, s conversion.Scope) error { + out.Type = v1alpha3.ClientMountDeviceType(in.Type) + out.Lustre = (*v1alpha3.ClientMountDeviceLustre)(unsafe.Pointer(in.Lustre)) + out.LVM = (*v1alpha3.ClientMountDeviceLVM)(unsafe.Pointer(in.LVM)) + out.DeviceReference = (*v1alpha3.ClientMountDeviceReference)(unsafe.Pointer(in.DeviceReference)) + return nil +} + +// Convert_v1alpha2_ClientMountDevice_To_v1alpha3_ClientMountDevice is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountDevice_To_v1alpha3_ClientMountDevice(in *ClientMountDevice, out *v1alpha3.ClientMountDevice, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountDevice_To_v1alpha3_ClientMountDevice(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountDevice_To_v1alpha2_ClientMountDevice(in *v1alpha3.ClientMountDevice, out *ClientMountDevice, s conversion.Scope) error { + out.Type = ClientMountDeviceType(in.Type) + out.Lustre = (*ClientMountDeviceLustre)(unsafe.Pointer(in.Lustre)) + out.LVM = (*ClientMountDeviceLVM)(unsafe.Pointer(in.LVM)) + out.DeviceReference = (*ClientMountDeviceReference)(unsafe.Pointer(in.DeviceReference)) + return nil +} + +// Convert_v1alpha3_ClientMountDevice_To_v1alpha2_ClientMountDevice is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDevice_To_v1alpha2_ClientMountDevice(in *v1alpha3.ClientMountDevice, out *ClientMountDevice, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDevice_To_v1alpha2_ClientMountDevice(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(in *ClientMountDeviceLVM, out *v1alpha3.ClientMountDeviceLVM, s conversion.Scope) error { + out.DeviceType = v1alpha3.ClientMountLVMDeviceType(in.DeviceType) + out.NVMeInfo = *(*[]v1alpha3.ClientMountNVMeDesc)(unsafe.Pointer(&in.NVMeInfo)) + out.VolumeGroup = in.VolumeGroup + out.LogicalVolume = in.LogicalVolume + return nil +} + +// Convert_v1alpha2_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(in *ClientMountDeviceLVM, out *v1alpha3.ClientMountDeviceLVM, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountDeviceLVM_To_v1alpha3_ClientMountDeviceLVM(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(in *v1alpha3.ClientMountDeviceLVM, out *ClientMountDeviceLVM, s conversion.Scope) error { + out.DeviceType = ClientMountLVMDeviceType(in.DeviceType) + out.NVMeInfo = *(*[]ClientMountNVMeDesc)(unsafe.Pointer(&in.NVMeInfo)) + out.VolumeGroup = in.VolumeGroup + out.LogicalVolume = in.LogicalVolume + return nil +} + +// Convert_v1alpha3_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(in *v1alpha3.ClientMountDeviceLVM, out *ClientMountDeviceLVM, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDeviceLVM_To_v1alpha2_ClientMountDeviceLVM(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(in *ClientMountDeviceLustre, out *v1alpha3.ClientMountDeviceLustre, s conversion.Scope) error { + out.FileSystemName = in.FileSystemName + out.MgsAddresses = in.MgsAddresses + return nil +} + +// Convert_v1alpha2_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(in *ClientMountDeviceLustre, out *v1alpha3.ClientMountDeviceLustre, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountDeviceLustre_To_v1alpha3_ClientMountDeviceLustre(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(in *v1alpha3.ClientMountDeviceLustre, out *ClientMountDeviceLustre, s conversion.Scope) error { + out.FileSystemName = in.FileSystemName + out.MgsAddresses = in.MgsAddresses + return nil +} + +// Convert_v1alpha3_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(in *v1alpha3.ClientMountDeviceLustre, out *ClientMountDeviceLustre, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDeviceLustre_To_v1alpha2_ClientMountDeviceLustre(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(in *ClientMountDeviceReference, out *v1alpha3.ClientMountDeviceReference, s conversion.Scope) error { + out.ObjectReference = in.ObjectReference + out.Data = in.Data + return nil +} + +// Convert_v1alpha2_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(in *ClientMountDeviceReference, out *v1alpha3.ClientMountDeviceReference, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountDeviceReference_To_v1alpha3_ClientMountDeviceReference(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(in *v1alpha3.ClientMountDeviceReference, out *ClientMountDeviceReference, s conversion.Scope) error { + out.ObjectReference = in.ObjectReference + out.Data = in.Data + return nil +} + +// Convert_v1alpha3_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(in *v1alpha3.ClientMountDeviceReference, out *ClientMountDeviceReference, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountDeviceReference_To_v1alpha2_ClientMountDeviceReference(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountInfo_To_v1alpha3_ClientMountInfo(in *ClientMountInfo, out *v1alpha3.ClientMountInfo, s conversion.Scope) error { + out.MountPath = in.MountPath + out.UserID = in.UserID + out.GroupID = in.GroupID + out.SetPermissions = in.SetPermissions + out.Options = in.Options + if err := Convert_v1alpha2_ClientMountDevice_To_v1alpha3_ClientMountDevice(&in.Device, &out.Device, s); err != nil { + return err + } + out.Type = in.Type + out.TargetType = in.TargetType + out.Compute = in.Compute + return nil +} + +// Convert_v1alpha2_ClientMountInfo_To_v1alpha3_ClientMountInfo is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountInfo_To_v1alpha3_ClientMountInfo(in *ClientMountInfo, out *v1alpha3.ClientMountInfo, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountInfo_To_v1alpha3_ClientMountInfo(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountInfo_To_v1alpha2_ClientMountInfo(in *v1alpha3.ClientMountInfo, out *ClientMountInfo, s conversion.Scope) error { + out.MountPath = in.MountPath + out.UserID = in.UserID + out.GroupID = in.GroupID + out.SetPermissions = in.SetPermissions + out.Options = in.Options + if err := Convert_v1alpha3_ClientMountDevice_To_v1alpha2_ClientMountDevice(&in.Device, &out.Device, s); err != nil { + return err + } + out.Type = in.Type + out.TargetType = in.TargetType + out.Compute = in.Compute + return nil +} + +// Convert_v1alpha3_ClientMountInfo_To_v1alpha2_ClientMountInfo is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountInfo_To_v1alpha2_ClientMountInfo(in *v1alpha3.ClientMountInfo, out *ClientMountInfo, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountInfo_To_v1alpha2_ClientMountInfo(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(in *ClientMountInfoStatus, out *v1alpha3.ClientMountInfoStatus, s conversion.Scope) error { + out.State = v1alpha3.ClientMountState(in.State) + out.Ready = in.Ready + return nil +} + +// Convert_v1alpha2_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(in *ClientMountInfoStatus, out *v1alpha3.ClientMountInfoStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountInfoStatus_To_v1alpha3_ClientMountInfoStatus(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(in *v1alpha3.ClientMountInfoStatus, out *ClientMountInfoStatus, s conversion.Scope) error { + out.State = ClientMountState(in.State) + out.Ready = in.Ready + return nil +} + +// Convert_v1alpha3_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(in *v1alpha3.ClientMountInfoStatus, out *ClientMountInfoStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountInfoStatus_To_v1alpha2_ClientMountInfoStatus(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountList_To_v1alpha3_ClientMountList(in *ClientMountList, out *v1alpha3.ClientMountList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.ClientMount)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_ClientMountList_To_v1alpha3_ClientMountList is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountList_To_v1alpha3_ClientMountList(in *ClientMountList, out *v1alpha3.ClientMountList, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountList_To_v1alpha3_ClientMountList(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountList_To_v1alpha2_ClientMountList(in *v1alpha3.ClientMountList, out *ClientMountList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]ClientMount)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_ClientMountList_To_v1alpha2_ClientMountList is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountList_To_v1alpha2_ClientMountList(in *v1alpha3.ClientMountList, out *ClientMountList, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountList_To_v1alpha2_ClientMountList(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(in *ClientMountNVMeDesc, out *v1alpha3.ClientMountNVMeDesc, s conversion.Scope) error { + out.DeviceSerial = in.DeviceSerial + out.NamespaceID = in.NamespaceID + out.NamespaceGUID = in.NamespaceGUID + return nil +} + +// Convert_v1alpha2_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(in *ClientMountNVMeDesc, out *v1alpha3.ClientMountNVMeDesc, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountNVMeDesc_To_v1alpha3_ClientMountNVMeDesc(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(in *v1alpha3.ClientMountNVMeDesc, out *ClientMountNVMeDesc, s conversion.Scope) error { + out.DeviceSerial = in.DeviceSerial + out.NamespaceID = in.NamespaceID + out.NamespaceGUID = in.NamespaceGUID + return nil +} + +// Convert_v1alpha3_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(in *v1alpha3.ClientMountNVMeDesc, out *ClientMountNVMeDesc, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountNVMeDesc_To_v1alpha2_ClientMountNVMeDesc(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountSpec_To_v1alpha3_ClientMountSpec(in *ClientMountSpec, out *v1alpha3.ClientMountSpec, s conversion.Scope) error { + out.Node = in.Node + out.DesiredState = v1alpha3.ClientMountState(in.DesiredState) + out.Mounts = *(*[]v1alpha3.ClientMountInfo)(unsafe.Pointer(&in.Mounts)) + return nil +} + +// Convert_v1alpha2_ClientMountSpec_To_v1alpha3_ClientMountSpec is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountSpec_To_v1alpha3_ClientMountSpec(in *ClientMountSpec, out *v1alpha3.ClientMountSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountSpec_To_v1alpha3_ClientMountSpec(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountSpec_To_v1alpha2_ClientMountSpec(in *v1alpha3.ClientMountSpec, out *ClientMountSpec, s conversion.Scope) error { + out.Node = in.Node + out.DesiredState = ClientMountState(in.DesiredState) + out.Mounts = *(*[]ClientMountInfo)(unsafe.Pointer(&in.Mounts)) + return nil +} + +// Convert_v1alpha3_ClientMountSpec_To_v1alpha2_ClientMountSpec is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountSpec_To_v1alpha2_ClientMountSpec(in *v1alpha3.ClientMountSpec, out *ClientMountSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountSpec_To_v1alpha2_ClientMountSpec(in, out, s) +} + +func autoConvert_v1alpha2_ClientMountStatus_To_v1alpha3_ClientMountStatus(in *ClientMountStatus, out *v1alpha3.ClientMountStatus, s conversion.Scope) error { + out.Mounts = *(*[]v1alpha3.ClientMountInfoStatus)(unsafe.Pointer(&in.Mounts)) + out.AllReady = in.AllReady + if err := Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_ClientMountStatus_To_v1alpha3_ClientMountStatus is an autogenerated conversion function. +func Convert_v1alpha2_ClientMountStatus_To_v1alpha3_ClientMountStatus(in *ClientMountStatus, out *v1alpha3.ClientMountStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_ClientMountStatus_To_v1alpha3_ClientMountStatus(in, out, s) +} + +func autoConvert_v1alpha3_ClientMountStatus_To_v1alpha2_ClientMountStatus(in *v1alpha3.ClientMountStatus, out *ClientMountStatus, s conversion.Scope) error { + out.Mounts = *(*[]ClientMountInfoStatus)(unsafe.Pointer(&in.Mounts)) + out.AllReady = in.AllReady + if err := Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_ClientMountStatus_To_v1alpha2_ClientMountStatus is an autogenerated conversion function. +func Convert_v1alpha3_ClientMountStatus_To_v1alpha2_ClientMountStatus(in *v1alpha3.ClientMountStatus, out *ClientMountStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_ClientMountStatus_To_v1alpha2_ClientMountStatus(in, out, s) +} + +func autoConvert_v1alpha2_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(in *ComputeBreakdown, out *v1alpha3.ComputeBreakdown, s conversion.Scope) error { + if err := Convert_v1alpha2_ComputeConstraints_To_v1alpha3_ComputeConstraints(&in.Constraints, &out.Constraints, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_ComputeBreakdown_To_v1alpha3_ComputeBreakdown is an autogenerated conversion function. +func Convert_v1alpha2_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(in *ComputeBreakdown, out *v1alpha3.ComputeBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha2_ComputeBreakdown_To_v1alpha3_ComputeBreakdown(in, out, s) +} + +func autoConvert_v1alpha3_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(in *v1alpha3.ComputeBreakdown, out *ComputeBreakdown, s conversion.Scope) error { + if err := Convert_v1alpha3_ComputeConstraints_To_v1alpha2_ComputeConstraints(&in.Constraints, &out.Constraints, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_ComputeBreakdown_To_v1alpha2_ComputeBreakdown is an autogenerated conversion function. +func Convert_v1alpha3_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(in *v1alpha3.ComputeBreakdown, out *ComputeBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeBreakdown_To_v1alpha2_ComputeBreakdown(in, out, s) +} + +func autoConvert_v1alpha2_ComputeConstraints_To_v1alpha3_ComputeConstraints(in *ComputeConstraints, out *v1alpha3.ComputeConstraints, s conversion.Scope) error { + out.Location = *(*[]v1alpha3.ComputeLocationConstraint)(unsafe.Pointer(&in.Location)) + return nil +} + +// Convert_v1alpha2_ComputeConstraints_To_v1alpha3_ComputeConstraints is an autogenerated conversion function. +func Convert_v1alpha2_ComputeConstraints_To_v1alpha3_ComputeConstraints(in *ComputeConstraints, out *v1alpha3.ComputeConstraints, s conversion.Scope) error { + return autoConvert_v1alpha2_ComputeConstraints_To_v1alpha3_ComputeConstraints(in, out, s) +} + +func autoConvert_v1alpha3_ComputeConstraints_To_v1alpha2_ComputeConstraints(in *v1alpha3.ComputeConstraints, out *ComputeConstraints, s conversion.Scope) error { + out.Location = *(*[]ComputeLocationConstraint)(unsafe.Pointer(&in.Location)) + return nil +} + +// Convert_v1alpha3_ComputeConstraints_To_v1alpha2_ComputeConstraints is an autogenerated conversion function. +func Convert_v1alpha3_ComputeConstraints_To_v1alpha2_ComputeConstraints(in *v1alpha3.ComputeConstraints, out *ComputeConstraints, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeConstraints_To_v1alpha2_ComputeConstraints(in, out, s) +} + +func autoConvert_v1alpha2_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(in *ComputeLocationAccess, out *v1alpha3.ComputeLocationAccess, s conversion.Scope) error { + out.Type = v1alpha3.ComputeLocationType(in.Type) + out.Priority = v1alpha3.ComputeLocationPriority(in.Priority) + return nil +} + +// Convert_v1alpha2_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess is an autogenerated conversion function. +func Convert_v1alpha2_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(in *ComputeLocationAccess, out *v1alpha3.ComputeLocationAccess, s conversion.Scope) error { + return autoConvert_v1alpha2_ComputeLocationAccess_To_v1alpha3_ComputeLocationAccess(in, out, s) +} + +func autoConvert_v1alpha3_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(in *v1alpha3.ComputeLocationAccess, out *ComputeLocationAccess, s conversion.Scope) error { + out.Type = ComputeLocationType(in.Type) + out.Priority = ComputeLocationPriority(in.Priority) + return nil +} + +// Convert_v1alpha3_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess is an autogenerated conversion function. +func Convert_v1alpha3_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(in *v1alpha3.ComputeLocationAccess, out *ComputeLocationAccess, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeLocationAccess_To_v1alpha2_ComputeLocationAccess(in, out, s) +} + +func autoConvert_v1alpha2_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(in *ComputeLocationConstraint, out *v1alpha3.ComputeLocationConstraint, s conversion.Scope) error { + out.Access = *(*[]v1alpha3.ComputeLocationAccess)(unsafe.Pointer(&in.Access)) + out.Reference = in.Reference + return nil +} + +// Convert_v1alpha2_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint is an autogenerated conversion function. +func Convert_v1alpha2_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(in *ComputeLocationConstraint, out *v1alpha3.ComputeLocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha2_ComputeLocationConstraint_To_v1alpha3_ComputeLocationConstraint(in, out, s) +} + +func autoConvert_v1alpha3_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(in *v1alpha3.ComputeLocationConstraint, out *ComputeLocationConstraint, s conversion.Scope) error { + out.Access = *(*[]ComputeLocationAccess)(unsafe.Pointer(&in.Access)) + out.Reference = in.Reference + return nil +} + +// Convert_v1alpha3_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint is an autogenerated conversion function. +func Convert_v1alpha3_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(in *v1alpha3.ComputeLocationConstraint, out *ComputeLocationConstraint, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputeLocationConstraint_To_v1alpha2_ComputeLocationConstraint(in, out, s) +} + +func autoConvert_v1alpha2_Computes_To_v1alpha3_Computes(in *Computes, out *v1alpha3.Computes, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + out.Data = *(*[]v1alpha3.ComputesData)(unsafe.Pointer(&in.Data)) + return nil +} + +// Convert_v1alpha2_Computes_To_v1alpha3_Computes is an autogenerated conversion function. +func Convert_v1alpha2_Computes_To_v1alpha3_Computes(in *Computes, out *v1alpha3.Computes, s conversion.Scope) error { + return autoConvert_v1alpha2_Computes_To_v1alpha3_Computes(in, out, s) +} + +func autoConvert_v1alpha3_Computes_To_v1alpha2_Computes(in *v1alpha3.Computes, out *Computes, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + out.Data = *(*[]ComputesData)(unsafe.Pointer(&in.Data)) + return nil +} + +// Convert_v1alpha3_Computes_To_v1alpha2_Computes is an autogenerated conversion function. +func Convert_v1alpha3_Computes_To_v1alpha2_Computes(in *v1alpha3.Computes, out *Computes, s conversion.Scope) error { + return autoConvert_v1alpha3_Computes_To_v1alpha2_Computes(in, out, s) +} + +func autoConvert_v1alpha2_ComputesData_To_v1alpha3_ComputesData(in *ComputesData, out *v1alpha3.ComputesData, s conversion.Scope) error { + out.Name = in.Name + return nil +} + +// Convert_v1alpha2_ComputesData_To_v1alpha3_ComputesData is an autogenerated conversion function. +func Convert_v1alpha2_ComputesData_To_v1alpha3_ComputesData(in *ComputesData, out *v1alpha3.ComputesData, s conversion.Scope) error { + return autoConvert_v1alpha2_ComputesData_To_v1alpha3_ComputesData(in, out, s) +} + +func autoConvert_v1alpha3_ComputesData_To_v1alpha2_ComputesData(in *v1alpha3.ComputesData, out *ComputesData, s conversion.Scope) error { + out.Name = in.Name + return nil +} + +// Convert_v1alpha3_ComputesData_To_v1alpha2_ComputesData is an autogenerated conversion function. +func Convert_v1alpha3_ComputesData_To_v1alpha2_ComputesData(in *v1alpha3.ComputesData, out *ComputesData, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputesData_To_v1alpha2_ComputesData(in, out, s) +} + +func autoConvert_v1alpha2_ComputesList_To_v1alpha3_ComputesList(in *ComputesList, out *v1alpha3.ComputesList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.Computes)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_ComputesList_To_v1alpha3_ComputesList is an autogenerated conversion function. +func Convert_v1alpha2_ComputesList_To_v1alpha3_ComputesList(in *ComputesList, out *v1alpha3.ComputesList, s conversion.Scope) error { + return autoConvert_v1alpha2_ComputesList_To_v1alpha3_ComputesList(in, out, s) +} + +func autoConvert_v1alpha3_ComputesList_To_v1alpha2_ComputesList(in *v1alpha3.ComputesList, out *ComputesList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]Computes)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_ComputesList_To_v1alpha2_ComputesList is an autogenerated conversion function. +func Convert_v1alpha3_ComputesList_To_v1alpha2_ComputesList(in *v1alpha3.ComputesList, out *ComputesList, s conversion.Scope) error { + return autoConvert_v1alpha3_ComputesList_To_v1alpha2_ComputesList(in, out, s) +} + +func autoConvert_v1alpha2_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(in *DWDirectiveRule, out *v1alpha3.DWDirectiveRule, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + out.Spec = *(*[]dwdparse.DWDirectiveRuleSpec)(unsafe.Pointer(&in.Spec)) + return nil +} + +// Convert_v1alpha2_DWDirectiveRule_To_v1alpha3_DWDirectiveRule is an autogenerated conversion function. +func Convert_v1alpha2_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(in *DWDirectiveRule, out *v1alpha3.DWDirectiveRule, s conversion.Scope) error { + return autoConvert_v1alpha2_DWDirectiveRule_To_v1alpha3_DWDirectiveRule(in, out, s) +} + +func autoConvert_v1alpha3_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(in *v1alpha3.DWDirectiveRule, out *DWDirectiveRule, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + out.Spec = *(*[]dwdparse.DWDirectiveRuleSpec)(unsafe.Pointer(&in.Spec)) + return nil +} + +// Convert_v1alpha3_DWDirectiveRule_To_v1alpha2_DWDirectiveRule is an autogenerated conversion function. +func Convert_v1alpha3_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(in *v1alpha3.DWDirectiveRule, out *DWDirectiveRule, s conversion.Scope) error { + return autoConvert_v1alpha3_DWDirectiveRule_To_v1alpha2_DWDirectiveRule(in, out, s) +} + +func autoConvert_v1alpha2_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(in *DWDirectiveRuleList, out *v1alpha3.DWDirectiveRuleList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.DWDirectiveRule)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList is an autogenerated conversion function. +func Convert_v1alpha2_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(in *DWDirectiveRuleList, out *v1alpha3.DWDirectiveRuleList, s conversion.Scope) error { + return autoConvert_v1alpha2_DWDirectiveRuleList_To_v1alpha3_DWDirectiveRuleList(in, out, s) +} + +func autoConvert_v1alpha3_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(in *v1alpha3.DWDirectiveRuleList, out *DWDirectiveRuleList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]DWDirectiveRule)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList is an autogenerated conversion function. +func Convert_v1alpha3_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(in *v1alpha3.DWDirectiveRuleList, out *DWDirectiveRuleList, s conversion.Scope) error { + return autoConvert_v1alpha3_DWDirectiveRuleList_To_v1alpha2_DWDirectiveRuleList(in, out, s) +} + +func autoConvert_v1alpha2_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(in *DirectiveBreakdown, out *v1alpha3.DirectiveBreakdown, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown is an autogenerated conversion function. +func Convert_v1alpha2_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(in *DirectiveBreakdown, out *v1alpha3.DirectiveBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha2_DirectiveBreakdown_To_v1alpha3_DirectiveBreakdown(in, out, s) +} + +func autoConvert_v1alpha3_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(in *v1alpha3.DirectiveBreakdown, out *DirectiveBreakdown, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(in *v1alpha3.DirectiveBreakdown, out *DirectiveBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdown_To_v1alpha2_DirectiveBreakdown(in, out, s) +} + +func autoConvert_v1alpha2_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(in *DirectiveBreakdownList, out *v1alpha3.DirectiveBreakdownList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.DirectiveBreakdown)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList is an autogenerated conversion function. +func Convert_v1alpha2_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(in *DirectiveBreakdownList, out *v1alpha3.DirectiveBreakdownList, s conversion.Scope) error { + return autoConvert_v1alpha2_DirectiveBreakdownList_To_v1alpha3_DirectiveBreakdownList(in, out, s) +} + +func autoConvert_v1alpha3_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(in *v1alpha3.DirectiveBreakdownList, out *DirectiveBreakdownList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]DirectiveBreakdown)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(in *v1alpha3.DirectiveBreakdownList, out *DirectiveBreakdownList, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdownList_To_v1alpha2_DirectiveBreakdownList(in, out, s) +} + +func autoConvert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(in *DirectiveBreakdownSpec, out *v1alpha3.DirectiveBreakdownSpec, s conversion.Scope) error { + out.Directive = in.Directive + out.UserID = in.UserID + return nil +} + +// Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec is an autogenerated conversion function. +func Convert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(in *DirectiveBreakdownSpec, out *v1alpha3.DirectiveBreakdownSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_DirectiveBreakdownSpec_To_v1alpha3_DirectiveBreakdownSpec(in, out, s) +} + +func autoConvert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(in *v1alpha3.DirectiveBreakdownSpec, out *DirectiveBreakdownSpec, s conversion.Scope) error { + out.Directive = in.Directive + out.UserID = in.UserID + return nil +} + +// Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(in *v1alpha3.DirectiveBreakdownSpec, out *DirectiveBreakdownSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdownSpec_To_v1alpha2_DirectiveBreakdownSpec(in, out, s) +} + +func autoConvert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(in *DirectiveBreakdownStatus, out *v1alpha3.DirectiveBreakdownStatus, s conversion.Scope) error { + out.Storage = (*v1alpha3.StorageBreakdown)(unsafe.Pointer(in.Storage)) + out.Compute = (*v1alpha3.ComputeBreakdown)(unsafe.Pointer(in.Compute)) + out.Ready = in.Ready + out.RequiredDaemons = *(*[]string)(unsafe.Pointer(&in.RequiredDaemons)) + if err := Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus is an autogenerated conversion function. +func Convert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(in *DirectiveBreakdownStatus, out *v1alpha3.DirectiveBreakdownStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_DirectiveBreakdownStatus_To_v1alpha3_DirectiveBreakdownStatus(in, out, s) +} + +func autoConvert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(in *v1alpha3.DirectiveBreakdownStatus, out *DirectiveBreakdownStatus, s conversion.Scope) error { + out.Storage = (*StorageBreakdown)(unsafe.Pointer(in.Storage)) + out.Compute = (*ComputeBreakdown)(unsafe.Pointer(in.Compute)) + out.Ready = in.Ready + out.RequiredDaemons = *(*[]string)(unsafe.Pointer(&in.RequiredDaemons)) + if err := Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus is an autogenerated conversion function. +func Convert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(in *v1alpha3.DirectiveBreakdownStatus, out *DirectiveBreakdownStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_DirectiveBreakdownStatus_To_v1alpha2_DirectiveBreakdownStatus(in, out, s) +} + +func autoConvert_v1alpha2_Node_To_v1alpha3_Node(in *Node, out *v1alpha3.Node, s conversion.Scope) error { + out.Name = in.Name + out.Status = v1alpha3.ResourceStatus(in.Status) + return nil +} + +// Convert_v1alpha2_Node_To_v1alpha3_Node is an autogenerated conversion function. +func Convert_v1alpha2_Node_To_v1alpha3_Node(in *Node, out *v1alpha3.Node, s conversion.Scope) error { + return autoConvert_v1alpha2_Node_To_v1alpha3_Node(in, out, s) +} + +func autoConvert_v1alpha3_Node_To_v1alpha2_Node(in *v1alpha3.Node, out *Node, s conversion.Scope) error { + out.Name = in.Name + out.Status = ResourceStatus(in.Status) + return nil +} + +// Convert_v1alpha3_Node_To_v1alpha2_Node is an autogenerated conversion function. +func Convert_v1alpha3_Node_To_v1alpha2_Node(in *v1alpha3.Node, out *Node, s conversion.Scope) error { + return autoConvert_v1alpha3_Node_To_v1alpha2_Node(in, out, s) +} + +func autoConvert_v1alpha2_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(in *PersistentStorageInstance, out *v1alpha3.PersistentStorageInstance, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance is an autogenerated conversion function. +func Convert_v1alpha2_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(in *PersistentStorageInstance, out *v1alpha3.PersistentStorageInstance, s conversion.Scope) error { + return autoConvert_v1alpha2_PersistentStorageInstance_To_v1alpha3_PersistentStorageInstance(in, out, s) +} + +func autoConvert_v1alpha3_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(in *v1alpha3.PersistentStorageInstance, out *PersistentStorageInstance, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(in *v1alpha3.PersistentStorageInstance, out *PersistentStorageInstance, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstance_To_v1alpha2_PersistentStorageInstance(in, out, s) +} + +func autoConvert_v1alpha2_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(in *PersistentStorageInstanceList, out *v1alpha3.PersistentStorageInstanceList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.PersistentStorageInstance)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList is an autogenerated conversion function. +func Convert_v1alpha2_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(in *PersistentStorageInstanceList, out *v1alpha3.PersistentStorageInstanceList, s conversion.Scope) error { + return autoConvert_v1alpha2_PersistentStorageInstanceList_To_v1alpha3_PersistentStorageInstanceList(in, out, s) +} + +func autoConvert_v1alpha3_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(in *v1alpha3.PersistentStorageInstanceList, out *PersistentStorageInstanceList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]PersistentStorageInstance)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(in *v1alpha3.PersistentStorageInstanceList, out *PersistentStorageInstanceList, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstanceList_To_v1alpha2_PersistentStorageInstanceList(in, out, s) +} + +func autoConvert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(in *PersistentStorageInstanceSpec, out *v1alpha3.PersistentStorageInstanceSpec, s conversion.Scope) error { + out.Name = in.Name + out.FsType = in.FsType + out.DWDirective = in.DWDirective + out.UserID = in.UserID + out.State = v1alpha3.PersistentStorageInstanceState(in.State) + out.ConsumerReferences = *(*[]v1.ObjectReference)(unsafe.Pointer(&in.ConsumerReferences)) + return nil +} + +// Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec is an autogenerated conversion function. +func Convert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(in *PersistentStorageInstanceSpec, out *v1alpha3.PersistentStorageInstanceSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_PersistentStorageInstanceSpec_To_v1alpha3_PersistentStorageInstanceSpec(in, out, s) +} + +func autoConvert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(in *v1alpha3.PersistentStorageInstanceSpec, out *PersistentStorageInstanceSpec, s conversion.Scope) error { + out.Name = in.Name + out.FsType = in.FsType + out.DWDirective = in.DWDirective + out.UserID = in.UserID + out.State = PersistentStorageInstanceState(in.State) + out.ConsumerReferences = *(*[]v1.ObjectReference)(unsafe.Pointer(&in.ConsumerReferences)) + return nil +} + +// Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(in *v1alpha3.PersistentStorageInstanceSpec, out *PersistentStorageInstanceSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstanceSpec_To_v1alpha2_PersistentStorageInstanceSpec(in, out, s) +} + +func autoConvert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(in *PersistentStorageInstanceStatus, out *v1alpha3.PersistentStorageInstanceStatus, s conversion.Scope) error { + out.Servers = in.Servers + out.State = v1alpha3.PersistentStorageInstanceState(in.State) + if err := Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus is an autogenerated conversion function. +func Convert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(in *PersistentStorageInstanceStatus, out *v1alpha3.PersistentStorageInstanceStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_PersistentStorageInstanceStatus_To_v1alpha3_PersistentStorageInstanceStatus(in, out, s) +} + +func autoConvert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(in *v1alpha3.PersistentStorageInstanceStatus, out *PersistentStorageInstanceStatus, s conversion.Scope) error { + out.Servers = in.Servers + out.State = PersistentStorageInstanceState(in.State) + if err := Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus is an autogenerated conversion function. +func Convert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(in *v1alpha3.PersistentStorageInstanceStatus, out *PersistentStorageInstanceStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_PersistentStorageInstanceStatus_To_v1alpha2_PersistentStorageInstanceStatus(in, out, s) +} + +func autoConvert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(in *ResourceError, out *v1alpha3.ResourceError, s conversion.Scope) error { + out.Error = (*v1alpha3.ResourceErrorInfo)(unsafe.Pointer(in.Error)) + return nil +} + +// Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError is an autogenerated conversion function. +func Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(in *ResourceError, out *v1alpha3.ResourceError, s conversion.Scope) error { + return autoConvert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(in, out, s) +} + +func autoConvert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(in *v1alpha3.ResourceError, out *ResourceError, s conversion.Scope) error { + out.Error = (*ResourceErrorInfo)(unsafe.Pointer(in.Error)) + return nil +} + +// Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError is an autogenerated conversion function. +func Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(in *v1alpha3.ResourceError, out *ResourceError, s conversion.Scope) error { + return autoConvert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(in, out, s) +} + +func autoConvert_v1alpha2_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(in *ResourceErrorInfo, out *v1alpha3.ResourceErrorInfo, s conversion.Scope) error { + out.UserMessage = in.UserMessage + out.DebugMessage = in.DebugMessage + out.Type = v1alpha3.ResourceErrorType(in.Type) + out.Severity = v1alpha3.ResourceErrorSeverity(in.Severity) + return nil +} + +// Convert_v1alpha2_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo is an autogenerated conversion function. +func Convert_v1alpha2_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(in *ResourceErrorInfo, out *v1alpha3.ResourceErrorInfo, s conversion.Scope) error { + return autoConvert_v1alpha2_ResourceErrorInfo_To_v1alpha3_ResourceErrorInfo(in, out, s) +} + +func autoConvert_v1alpha3_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(in *v1alpha3.ResourceErrorInfo, out *ResourceErrorInfo, s conversion.Scope) error { + out.UserMessage = in.UserMessage + out.DebugMessage = in.DebugMessage + out.Type = ResourceErrorType(in.Type) + out.Severity = ResourceErrorSeverity(in.Severity) + return nil +} + +// Convert_v1alpha3_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo is an autogenerated conversion function. +func Convert_v1alpha3_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(in *v1alpha3.ResourceErrorInfo, out *ResourceErrorInfo, s conversion.Scope) error { + return autoConvert_v1alpha3_ResourceErrorInfo_To_v1alpha2_ResourceErrorInfo(in, out, s) +} + +func autoConvert_v1alpha2_Servers_To_v1alpha3_Servers(in *Servers, out *v1alpha3.Servers, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_ServersSpec_To_v1alpha3_ServersSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_ServersStatus_To_v1alpha3_ServersStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_Servers_To_v1alpha3_Servers is an autogenerated conversion function. +func Convert_v1alpha2_Servers_To_v1alpha3_Servers(in *Servers, out *v1alpha3.Servers, s conversion.Scope) error { + return autoConvert_v1alpha2_Servers_To_v1alpha3_Servers(in, out, s) +} + +func autoConvert_v1alpha3_Servers_To_v1alpha2_Servers(in *v1alpha3.Servers, out *Servers, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_ServersSpec_To_v1alpha2_ServersSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_ServersStatus_To_v1alpha2_ServersStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_Servers_To_v1alpha2_Servers is an autogenerated conversion function. +func Convert_v1alpha3_Servers_To_v1alpha2_Servers(in *v1alpha3.Servers, out *Servers, s conversion.Scope) error { + return autoConvert_v1alpha3_Servers_To_v1alpha2_Servers(in, out, s) +} + +func autoConvert_v1alpha2_ServersList_To_v1alpha3_ServersList(in *ServersList, out *v1alpha3.ServersList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.Servers)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_ServersList_To_v1alpha3_ServersList is an autogenerated conversion function. +func Convert_v1alpha2_ServersList_To_v1alpha3_ServersList(in *ServersList, out *v1alpha3.ServersList, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersList_To_v1alpha3_ServersList(in, out, s) +} + +func autoConvert_v1alpha3_ServersList_To_v1alpha2_ServersList(in *v1alpha3.ServersList, out *ServersList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]Servers)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_ServersList_To_v1alpha2_ServersList is an autogenerated conversion function. +func Convert_v1alpha3_ServersList_To_v1alpha2_ServersList(in *v1alpha3.ServersList, out *ServersList, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersList_To_v1alpha2_ServersList(in, out, s) +} + +func autoConvert_v1alpha2_ServersSpec_To_v1alpha3_ServersSpec(in *ServersSpec, out *v1alpha3.ServersSpec, s conversion.Scope) error { + out.AllocationSets = *(*[]v1alpha3.ServersSpecAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + return nil +} + +// Convert_v1alpha2_ServersSpec_To_v1alpha3_ServersSpec is an autogenerated conversion function. +func Convert_v1alpha2_ServersSpec_To_v1alpha3_ServersSpec(in *ServersSpec, out *v1alpha3.ServersSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersSpec_To_v1alpha3_ServersSpec(in, out, s) +} + +func autoConvert_v1alpha3_ServersSpec_To_v1alpha2_ServersSpec(in *v1alpha3.ServersSpec, out *ServersSpec, s conversion.Scope) error { + out.AllocationSets = *(*[]ServersSpecAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + return nil +} + +// Convert_v1alpha3_ServersSpec_To_v1alpha2_ServersSpec is an autogenerated conversion function. +func Convert_v1alpha3_ServersSpec_To_v1alpha2_ServersSpec(in *v1alpha3.ServersSpec, out *ServersSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersSpec_To_v1alpha2_ServersSpec(in, out, s) +} + +func autoConvert_v1alpha2_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(in *ServersSpecAllocationSet, out *v1alpha3.ServersSpecAllocationSet, s conversion.Scope) error { + out.Label = in.Label + out.AllocationSize = in.AllocationSize + out.Storage = *(*[]v1alpha3.ServersSpecStorage)(unsafe.Pointer(&in.Storage)) + return nil +} + +// Convert_v1alpha2_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet is an autogenerated conversion function. +func Convert_v1alpha2_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(in *ServersSpecAllocationSet, out *v1alpha3.ServersSpecAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersSpecAllocationSet_To_v1alpha3_ServersSpecAllocationSet(in, out, s) +} + +func autoConvert_v1alpha3_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(in *v1alpha3.ServersSpecAllocationSet, out *ServersSpecAllocationSet, s conversion.Scope) error { + out.Label = in.Label + out.AllocationSize = in.AllocationSize + out.Storage = *(*[]ServersSpecStorage)(unsafe.Pointer(&in.Storage)) + return nil +} + +// Convert_v1alpha3_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet is an autogenerated conversion function. +func Convert_v1alpha3_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(in *v1alpha3.ServersSpecAllocationSet, out *ServersSpecAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersSpecAllocationSet_To_v1alpha2_ServersSpecAllocationSet(in, out, s) +} + +func autoConvert_v1alpha2_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(in *ServersSpecStorage, out *v1alpha3.ServersSpecStorage, s conversion.Scope) error { + out.Name = in.Name + out.AllocationCount = in.AllocationCount + return nil +} + +// Convert_v1alpha2_ServersSpecStorage_To_v1alpha3_ServersSpecStorage is an autogenerated conversion function. +func Convert_v1alpha2_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(in *ServersSpecStorage, out *v1alpha3.ServersSpecStorage, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersSpecStorage_To_v1alpha3_ServersSpecStorage(in, out, s) +} + +func autoConvert_v1alpha3_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(in *v1alpha3.ServersSpecStorage, out *ServersSpecStorage, s conversion.Scope) error { + out.Name = in.Name + out.AllocationCount = in.AllocationCount + return nil +} + +// Convert_v1alpha3_ServersSpecStorage_To_v1alpha2_ServersSpecStorage is an autogenerated conversion function. +func Convert_v1alpha3_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(in *v1alpha3.ServersSpecStorage, out *ServersSpecStorage, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersSpecStorage_To_v1alpha2_ServersSpecStorage(in, out, s) +} + +func autoConvert_v1alpha2_ServersStatus_To_v1alpha3_ServersStatus(in *ServersStatus, out *v1alpha3.ServersStatus, s conversion.Scope) error { + out.Ready = in.Ready + out.LastUpdate = (*metav1.MicroTime)(unsafe.Pointer(in.LastUpdate)) + out.AllocationSets = *(*[]v1alpha3.ServersStatusAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + if err := Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_ServersStatus_To_v1alpha3_ServersStatus is an autogenerated conversion function. +func Convert_v1alpha2_ServersStatus_To_v1alpha3_ServersStatus(in *ServersStatus, out *v1alpha3.ServersStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersStatus_To_v1alpha3_ServersStatus(in, out, s) +} + +func autoConvert_v1alpha3_ServersStatus_To_v1alpha2_ServersStatus(in *v1alpha3.ServersStatus, out *ServersStatus, s conversion.Scope) error { + out.Ready = in.Ready + out.LastUpdate = (*metav1.MicroTime)(unsafe.Pointer(in.LastUpdate)) + out.AllocationSets = *(*[]ServersStatusAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + if err := Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_ServersStatus_To_v1alpha2_ServersStatus is an autogenerated conversion function. +func Convert_v1alpha3_ServersStatus_To_v1alpha2_ServersStatus(in *v1alpha3.ServersStatus, out *ServersStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersStatus_To_v1alpha2_ServersStatus(in, out, s) +} + +func autoConvert_v1alpha2_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(in *ServersStatusAllocationSet, out *v1alpha3.ServersStatusAllocationSet, s conversion.Scope) error { + out.Label = in.Label + out.Storage = *(*map[string]v1alpha3.ServersStatusStorage)(unsafe.Pointer(&in.Storage)) + return nil +} + +// Convert_v1alpha2_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet is an autogenerated conversion function. +func Convert_v1alpha2_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(in *ServersStatusAllocationSet, out *v1alpha3.ServersStatusAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersStatusAllocationSet_To_v1alpha3_ServersStatusAllocationSet(in, out, s) +} + +func autoConvert_v1alpha3_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(in *v1alpha3.ServersStatusAllocationSet, out *ServersStatusAllocationSet, s conversion.Scope) error { + out.Label = in.Label + out.Storage = *(*map[string]ServersStatusStorage)(unsafe.Pointer(&in.Storage)) + return nil +} + +// Convert_v1alpha3_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet is an autogenerated conversion function. +func Convert_v1alpha3_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(in *v1alpha3.ServersStatusAllocationSet, out *ServersStatusAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersStatusAllocationSet_To_v1alpha2_ServersStatusAllocationSet(in, out, s) +} + +func autoConvert_v1alpha2_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(in *ServersStatusStorage, out *v1alpha3.ServersStatusStorage, s conversion.Scope) error { + out.AllocationSize = in.AllocationSize + return nil +} + +// Convert_v1alpha2_ServersStatusStorage_To_v1alpha3_ServersStatusStorage is an autogenerated conversion function. +func Convert_v1alpha2_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(in *ServersStatusStorage, out *v1alpha3.ServersStatusStorage, s conversion.Scope) error { + return autoConvert_v1alpha2_ServersStatusStorage_To_v1alpha3_ServersStatusStorage(in, out, s) +} + +func autoConvert_v1alpha3_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(in *v1alpha3.ServersStatusStorage, out *ServersStatusStorage, s conversion.Scope) error { + out.AllocationSize = in.AllocationSize + return nil +} + +// Convert_v1alpha3_ServersStatusStorage_To_v1alpha2_ServersStatusStorage is an autogenerated conversion function. +func Convert_v1alpha3_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(in *v1alpha3.ServersStatusStorage, out *ServersStatusStorage, s conversion.Scope) error { + return autoConvert_v1alpha3_ServersStatusStorage_To_v1alpha2_ServersStatusStorage(in, out, s) +} + +func autoConvert_v1alpha2_Storage_To_v1alpha3_Storage(in *Storage, out *v1alpha3.Storage, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_StorageSpec_To_v1alpha3_StorageSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_StorageStatus_To_v1alpha3_StorageStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_Storage_To_v1alpha3_Storage is an autogenerated conversion function. +func Convert_v1alpha2_Storage_To_v1alpha3_Storage(in *Storage, out *v1alpha3.Storage, s conversion.Scope) error { + return autoConvert_v1alpha2_Storage_To_v1alpha3_Storage(in, out, s) +} + +func autoConvert_v1alpha3_Storage_To_v1alpha2_Storage(in *v1alpha3.Storage, out *Storage, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_StorageSpec_To_v1alpha2_StorageSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_StorageStatus_To_v1alpha2_StorageStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_Storage_To_v1alpha2_Storage is an autogenerated conversion function. +func Convert_v1alpha3_Storage_To_v1alpha2_Storage(in *v1alpha3.Storage, out *Storage, s conversion.Scope) error { + return autoConvert_v1alpha3_Storage_To_v1alpha2_Storage(in, out, s) +} + +func autoConvert_v1alpha2_StorageAccess_To_v1alpha3_StorageAccess(in *StorageAccess, out *v1alpha3.StorageAccess, s conversion.Scope) error { + out.Protocol = v1alpha3.StorageAccessProtocol(in.Protocol) + out.Servers = *(*[]v1alpha3.Node)(unsafe.Pointer(&in.Servers)) + out.Computes = *(*[]v1alpha3.Node)(unsafe.Pointer(&in.Computes)) + return nil +} + +// Convert_v1alpha2_StorageAccess_To_v1alpha3_StorageAccess is an autogenerated conversion function. +func Convert_v1alpha2_StorageAccess_To_v1alpha3_StorageAccess(in *StorageAccess, out *v1alpha3.StorageAccess, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageAccess_To_v1alpha3_StorageAccess(in, out, s) +} + +func autoConvert_v1alpha3_StorageAccess_To_v1alpha2_StorageAccess(in *v1alpha3.StorageAccess, out *StorageAccess, s conversion.Scope) error { + out.Protocol = StorageAccessProtocol(in.Protocol) + out.Servers = *(*[]Node)(unsafe.Pointer(&in.Servers)) + out.Computes = *(*[]Node)(unsafe.Pointer(&in.Computes)) + return nil +} + +// Convert_v1alpha3_StorageAccess_To_v1alpha2_StorageAccess is an autogenerated conversion function. +func Convert_v1alpha3_StorageAccess_To_v1alpha2_StorageAccess(in *v1alpha3.StorageAccess, out *StorageAccess, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageAccess_To_v1alpha2_StorageAccess(in, out, s) +} + +func autoConvert_v1alpha2_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(in *StorageAllocationSet, out *v1alpha3.StorageAllocationSet, s conversion.Scope) error { + out.AllocationStrategy = v1alpha3.AllocationStrategy(in.AllocationStrategy) + out.MinimumCapacity = in.MinimumCapacity + out.Label = in.Label + if err := Convert_v1alpha2_AllocationSetConstraints_To_v1alpha3_AllocationSetConstraints(&in.Constraints, &out.Constraints, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_StorageAllocationSet_To_v1alpha3_StorageAllocationSet is an autogenerated conversion function. +func Convert_v1alpha2_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(in *StorageAllocationSet, out *v1alpha3.StorageAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageAllocationSet_To_v1alpha3_StorageAllocationSet(in, out, s) +} + +func autoConvert_v1alpha3_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(in *v1alpha3.StorageAllocationSet, out *StorageAllocationSet, s conversion.Scope) error { + out.AllocationStrategy = AllocationStrategy(in.AllocationStrategy) + out.MinimumCapacity = in.MinimumCapacity + out.Label = in.Label + if err := Convert_v1alpha3_AllocationSetConstraints_To_v1alpha2_AllocationSetConstraints(&in.Constraints, &out.Constraints, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_StorageAllocationSet_To_v1alpha2_StorageAllocationSet is an autogenerated conversion function. +func Convert_v1alpha3_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(in *v1alpha3.StorageAllocationSet, out *StorageAllocationSet, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageAllocationSet_To_v1alpha2_StorageAllocationSet(in, out, s) +} + +func autoConvert_v1alpha2_StorageBreakdown_To_v1alpha3_StorageBreakdown(in *StorageBreakdown, out *v1alpha3.StorageBreakdown, s conversion.Scope) error { + out.Lifetime = in.Lifetime + out.Reference = in.Reference + out.AllocationSets = *(*[]v1alpha3.StorageAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + return nil +} + +// Convert_v1alpha2_StorageBreakdown_To_v1alpha3_StorageBreakdown is an autogenerated conversion function. +func Convert_v1alpha2_StorageBreakdown_To_v1alpha3_StorageBreakdown(in *StorageBreakdown, out *v1alpha3.StorageBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageBreakdown_To_v1alpha3_StorageBreakdown(in, out, s) +} + +func autoConvert_v1alpha3_StorageBreakdown_To_v1alpha2_StorageBreakdown(in *v1alpha3.StorageBreakdown, out *StorageBreakdown, s conversion.Scope) error { + out.Lifetime = in.Lifetime + out.Reference = in.Reference + out.AllocationSets = *(*[]StorageAllocationSet)(unsafe.Pointer(&in.AllocationSets)) + return nil +} + +// Convert_v1alpha3_StorageBreakdown_To_v1alpha2_StorageBreakdown is an autogenerated conversion function. +func Convert_v1alpha3_StorageBreakdown_To_v1alpha2_StorageBreakdown(in *v1alpha3.StorageBreakdown, out *StorageBreakdown, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageBreakdown_To_v1alpha2_StorageBreakdown(in, out, s) +} + +func autoConvert_v1alpha2_StorageDevice_To_v1alpha3_StorageDevice(in *StorageDevice, out *v1alpha3.StorageDevice, s conversion.Scope) error { + out.Model = in.Model + out.SerialNumber = in.SerialNumber + out.FirmwareVersion = in.FirmwareVersion + out.Slot = in.Slot + out.Capacity = in.Capacity + out.WearLevel = (*int64)(unsafe.Pointer(in.WearLevel)) + out.Status = v1alpha3.ResourceStatus(in.Status) + return nil +} + +// Convert_v1alpha2_StorageDevice_To_v1alpha3_StorageDevice is an autogenerated conversion function. +func Convert_v1alpha2_StorageDevice_To_v1alpha3_StorageDevice(in *StorageDevice, out *v1alpha3.StorageDevice, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageDevice_To_v1alpha3_StorageDevice(in, out, s) +} + +func autoConvert_v1alpha3_StorageDevice_To_v1alpha2_StorageDevice(in *v1alpha3.StorageDevice, out *StorageDevice, s conversion.Scope) error { + out.Model = in.Model + out.SerialNumber = in.SerialNumber + out.FirmwareVersion = in.FirmwareVersion + out.Slot = in.Slot + out.Capacity = in.Capacity + out.WearLevel = (*int64)(unsafe.Pointer(in.WearLevel)) + out.Status = ResourceStatus(in.Status) + return nil +} + +// Convert_v1alpha3_StorageDevice_To_v1alpha2_StorageDevice is an autogenerated conversion function. +func Convert_v1alpha3_StorageDevice_To_v1alpha2_StorageDevice(in *v1alpha3.StorageDevice, out *StorageDevice, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageDevice_To_v1alpha2_StorageDevice(in, out, s) +} + +func autoConvert_v1alpha2_StorageList_To_v1alpha3_StorageList(in *StorageList, out *v1alpha3.StorageList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.Storage)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_StorageList_To_v1alpha3_StorageList is an autogenerated conversion function. +func Convert_v1alpha2_StorageList_To_v1alpha3_StorageList(in *StorageList, out *v1alpha3.StorageList, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageList_To_v1alpha3_StorageList(in, out, s) +} + +func autoConvert_v1alpha3_StorageList_To_v1alpha2_StorageList(in *v1alpha3.StorageList, out *StorageList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]Storage)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_StorageList_To_v1alpha2_StorageList is an autogenerated conversion function. +func Convert_v1alpha3_StorageList_To_v1alpha2_StorageList(in *v1alpha3.StorageList, out *StorageList, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageList_To_v1alpha2_StorageList(in, out, s) +} + +func autoConvert_v1alpha2_StorageSpec_To_v1alpha3_StorageSpec(in *StorageSpec, out *v1alpha3.StorageSpec, s conversion.Scope) error { + out.State = v1alpha3.ResourceState(in.State) + out.Mode = in.Mode + return nil +} + +// Convert_v1alpha2_StorageSpec_To_v1alpha3_StorageSpec is an autogenerated conversion function. +func Convert_v1alpha2_StorageSpec_To_v1alpha3_StorageSpec(in *StorageSpec, out *v1alpha3.StorageSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageSpec_To_v1alpha3_StorageSpec(in, out, s) +} + +func autoConvert_v1alpha3_StorageSpec_To_v1alpha2_StorageSpec(in *v1alpha3.StorageSpec, out *StorageSpec, s conversion.Scope) error { + out.State = ResourceState(in.State) + out.Mode = in.Mode + return nil +} + +// Convert_v1alpha3_StorageSpec_To_v1alpha2_StorageSpec is an autogenerated conversion function. +func Convert_v1alpha3_StorageSpec_To_v1alpha2_StorageSpec(in *v1alpha3.StorageSpec, out *StorageSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageSpec_To_v1alpha2_StorageSpec(in, out, s) +} + +func autoConvert_v1alpha2_StorageStatus_To_v1alpha3_StorageStatus(in *StorageStatus, out *v1alpha3.StorageStatus, s conversion.Scope) error { + out.Type = v1alpha3.StorageType(in.Type) + out.Devices = *(*[]v1alpha3.StorageDevice)(unsafe.Pointer(&in.Devices)) + if err := Convert_v1alpha2_StorageAccess_To_v1alpha3_StorageAccess(&in.Access, &out.Access, s); err != nil { + return err + } + out.Capacity = in.Capacity + out.Status = v1alpha3.ResourceStatus(in.Status) + out.RebootRequired = in.RebootRequired + out.Message = in.Message + return nil +} + +// Convert_v1alpha2_StorageStatus_To_v1alpha3_StorageStatus is an autogenerated conversion function. +func Convert_v1alpha2_StorageStatus_To_v1alpha3_StorageStatus(in *StorageStatus, out *v1alpha3.StorageStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_StorageStatus_To_v1alpha3_StorageStatus(in, out, s) +} + +func autoConvert_v1alpha3_StorageStatus_To_v1alpha2_StorageStatus(in *v1alpha3.StorageStatus, out *StorageStatus, s conversion.Scope) error { + out.Type = StorageType(in.Type) + out.Devices = *(*[]StorageDevice)(unsafe.Pointer(&in.Devices)) + if err := Convert_v1alpha3_StorageAccess_To_v1alpha2_StorageAccess(&in.Access, &out.Access, s); err != nil { + return err + } + out.Capacity = in.Capacity + out.Status = ResourceStatus(in.Status) + out.RebootRequired = in.RebootRequired + out.Message = in.Message + return nil +} + +// Convert_v1alpha3_StorageStatus_To_v1alpha2_StorageStatus is an autogenerated conversion function. +func Convert_v1alpha3_StorageStatus_To_v1alpha2_StorageStatus(in *v1alpha3.StorageStatus, out *StorageStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_StorageStatus_To_v1alpha2_StorageStatus(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfiguration_To_v1alpha3_SystemConfiguration(in *SystemConfiguration, out *v1alpha3.SystemConfiguration, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_SystemConfiguration_To_v1alpha3_SystemConfiguration is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfiguration_To_v1alpha3_SystemConfiguration(in *SystemConfiguration, out *v1alpha3.SystemConfiguration, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfiguration_To_v1alpha3_SystemConfiguration(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfiguration_To_v1alpha2_SystemConfiguration(in *v1alpha3.SystemConfiguration, out *SystemConfiguration, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_SystemConfiguration_To_v1alpha2_SystemConfiguration is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfiguration_To_v1alpha2_SystemConfiguration(in *v1alpha3.SystemConfiguration, out *SystemConfiguration, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfiguration_To_v1alpha2_SystemConfiguration(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(in *SystemConfigurationComputeNodeReference, out *v1alpha3.SystemConfigurationComputeNodeReference, s conversion.Scope) error { + out.Name = in.Name + out.Index = in.Index + return nil +} + +// Convert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(in *SystemConfigurationComputeNodeReference, out *v1alpha3.SystemConfigurationComputeNodeReference, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfigurationComputeNodeReference_To_v1alpha3_SystemConfigurationComputeNodeReference(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(in *v1alpha3.SystemConfigurationComputeNodeReference, out *SystemConfigurationComputeNodeReference, s conversion.Scope) error { + out.Name = in.Name + out.Index = in.Index + return nil +} + +// Convert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(in *v1alpha3.SystemConfigurationComputeNodeReference, out *SystemConfigurationComputeNodeReference, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationComputeNodeReference_To_v1alpha2_SystemConfigurationComputeNodeReference(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfigurationExternalComputeNode_To_v1alpha3_SystemConfigurationExternalComputeNode(in *SystemConfigurationExternalComputeNode, out *v1alpha3.SystemConfigurationExternalComputeNode, s conversion.Scope) error { + out.Name = in.Name + return nil +} + +// Convert_v1alpha2_SystemConfigurationExternalComputeNode_To_v1alpha3_SystemConfigurationExternalComputeNode is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfigurationExternalComputeNode_To_v1alpha3_SystemConfigurationExternalComputeNode(in *SystemConfigurationExternalComputeNode, out *v1alpha3.SystemConfigurationExternalComputeNode, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfigurationExternalComputeNode_To_v1alpha3_SystemConfigurationExternalComputeNode(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfigurationExternalComputeNode_To_v1alpha2_SystemConfigurationExternalComputeNode(in *v1alpha3.SystemConfigurationExternalComputeNode, out *SystemConfigurationExternalComputeNode, s conversion.Scope) error { + out.Name = in.Name + return nil +} + +// Convert_v1alpha3_SystemConfigurationExternalComputeNode_To_v1alpha2_SystemConfigurationExternalComputeNode is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationExternalComputeNode_To_v1alpha2_SystemConfigurationExternalComputeNode(in *v1alpha3.SystemConfigurationExternalComputeNode, out *SystemConfigurationExternalComputeNode, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationExternalComputeNode_To_v1alpha2_SystemConfigurationExternalComputeNode(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(in *SystemConfigurationList, out *v1alpha3.SystemConfigurationList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.SystemConfiguration)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_SystemConfigurationList_To_v1alpha3_SystemConfigurationList is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(in *SystemConfigurationList, out *v1alpha3.SystemConfigurationList, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfigurationList_To_v1alpha3_SystemConfigurationList(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(in *v1alpha3.SystemConfigurationList, out *SystemConfigurationList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]SystemConfiguration)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_SystemConfigurationList_To_v1alpha2_SystemConfigurationList is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(in *v1alpha3.SystemConfigurationList, out *SystemConfigurationList, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationList_To_v1alpha2_SystemConfigurationList(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(in *SystemConfigurationSpec, out *v1alpha3.SystemConfigurationSpec, s conversion.Scope) error { + out.ExternalComputeNodes = *(*[]v1alpha3.SystemConfigurationExternalComputeNode)(unsafe.Pointer(&in.ExternalComputeNodes)) + out.StorageNodes = *(*[]v1alpha3.SystemConfigurationStorageNode)(unsafe.Pointer(&in.StorageNodes)) + out.Ports = *(*[]intstr.IntOrString)(unsafe.Pointer(&in.Ports)) + out.PortsCooldownInSeconds = in.PortsCooldownInSeconds + return nil +} + +// Convert_v1alpha2_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(in *SystemConfigurationSpec, out *v1alpha3.SystemConfigurationSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfigurationSpec_To_v1alpha3_SystemConfigurationSpec(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(in *v1alpha3.SystemConfigurationSpec, out *SystemConfigurationSpec, s conversion.Scope) error { + out.ExternalComputeNodes = *(*[]SystemConfigurationExternalComputeNode)(unsafe.Pointer(&in.ExternalComputeNodes)) + out.StorageNodes = *(*[]SystemConfigurationStorageNode)(unsafe.Pointer(&in.StorageNodes)) + out.Ports = *(*[]intstr.IntOrString)(unsafe.Pointer(&in.Ports)) + out.PortsCooldownInSeconds = in.PortsCooldownInSeconds + return nil +} + +// Convert_v1alpha3_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(in *v1alpha3.SystemConfigurationSpec, out *SystemConfigurationSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationSpec_To_v1alpha2_SystemConfigurationSpec(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(in *SystemConfigurationStatus, out *v1alpha3.SystemConfigurationStatus, s conversion.Scope) error { + out.Ready = in.Ready + if err := Convert_v1alpha2_ResourceError_To_v1alpha3_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(in *SystemConfigurationStatus, out *v1alpha3.SystemConfigurationStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfigurationStatus_To_v1alpha3_SystemConfigurationStatus(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(in *v1alpha3.SystemConfigurationStatus, out *SystemConfigurationStatus, s conversion.Scope) error { + out.Ready = in.Ready + if err := Convert_v1alpha3_ResourceError_To_v1alpha2_ResourceError(&in.ResourceError, &out.ResourceError, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(in *v1alpha3.SystemConfigurationStatus, out *SystemConfigurationStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationStatus_To_v1alpha2_SystemConfigurationStatus(in, out, s) +} + +func autoConvert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(in *SystemConfigurationStorageNode, out *v1alpha3.SystemConfigurationStorageNode, s conversion.Scope) error { + out.Type = in.Type + out.Name = in.Name + out.ComputesAccess = *(*[]v1alpha3.SystemConfigurationComputeNodeReference)(unsafe.Pointer(&in.ComputesAccess)) + return nil +} + +// Convert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode is an autogenerated conversion function. +func Convert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(in *SystemConfigurationStorageNode, out *v1alpha3.SystemConfigurationStorageNode, s conversion.Scope) error { + return autoConvert_v1alpha2_SystemConfigurationStorageNode_To_v1alpha3_SystemConfigurationStorageNode(in, out, s) +} + +func autoConvert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(in *v1alpha3.SystemConfigurationStorageNode, out *SystemConfigurationStorageNode, s conversion.Scope) error { + out.Type = in.Type + out.Name = in.Name + out.ComputesAccess = *(*[]SystemConfigurationComputeNodeReference)(unsafe.Pointer(&in.ComputesAccess)) + return nil +} + +// Convert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode is an autogenerated conversion function. +func Convert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(in *v1alpha3.SystemConfigurationStorageNode, out *SystemConfigurationStorageNode, s conversion.Scope) error { + return autoConvert_v1alpha3_SystemConfigurationStorageNode_To_v1alpha2_SystemConfigurationStorageNode(in, out, s) +} + +func autoConvert_v1alpha2_Workflow_To_v1alpha3_Workflow(in *Workflow, out *v1alpha3.Workflow, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha2_WorkflowSpec_To_v1alpha3_WorkflowSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha2_WorkflowStatus_To_v1alpha3_WorkflowStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha2_Workflow_To_v1alpha3_Workflow is an autogenerated conversion function. +func Convert_v1alpha2_Workflow_To_v1alpha3_Workflow(in *Workflow, out *v1alpha3.Workflow, s conversion.Scope) error { + return autoConvert_v1alpha2_Workflow_To_v1alpha3_Workflow(in, out, s) +} + +func autoConvert_v1alpha3_Workflow_To_v1alpha2_Workflow(in *v1alpha3.Workflow, out *Workflow, s conversion.Scope) error { + out.ObjectMeta = in.ObjectMeta + if err := Convert_v1alpha3_WorkflowSpec_To_v1alpha2_WorkflowSpec(&in.Spec, &out.Spec, s); err != nil { + return err + } + if err := Convert_v1alpha3_WorkflowStatus_To_v1alpha2_WorkflowStatus(&in.Status, &out.Status, s); err != nil { + return err + } + return nil +} + +// Convert_v1alpha3_Workflow_To_v1alpha2_Workflow is an autogenerated conversion function. +func Convert_v1alpha3_Workflow_To_v1alpha2_Workflow(in *v1alpha3.Workflow, out *Workflow, s conversion.Scope) error { + return autoConvert_v1alpha3_Workflow_To_v1alpha2_Workflow(in, out, s) +} + +func autoConvert_v1alpha2_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(in *WorkflowDriverStatus, out *v1alpha3.WorkflowDriverStatus, s conversion.Scope) error { + out.DriverID = in.DriverID + out.TaskID = in.TaskID + out.DWDIndex = in.DWDIndex + out.WatchState = v1alpha3.WorkflowState(in.WatchState) + out.LastHB = in.LastHB + out.Completed = in.Completed + out.Status = in.Status + out.Message = in.Message + out.Error = in.Error + out.CompleteTime = (*metav1.MicroTime)(unsafe.Pointer(in.CompleteTime)) + return nil +} + +// Convert_v1alpha2_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus is an autogenerated conversion function. +func Convert_v1alpha2_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(in *WorkflowDriverStatus, out *v1alpha3.WorkflowDriverStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_WorkflowDriverStatus_To_v1alpha3_WorkflowDriverStatus(in, out, s) +} + +func autoConvert_v1alpha3_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(in *v1alpha3.WorkflowDriverStatus, out *WorkflowDriverStatus, s conversion.Scope) error { + out.DriverID = in.DriverID + out.TaskID = in.TaskID + out.DWDIndex = in.DWDIndex + out.WatchState = WorkflowState(in.WatchState) + out.LastHB = in.LastHB + out.Completed = in.Completed + out.Status = in.Status + out.Message = in.Message + out.Error = in.Error + out.CompleteTime = (*metav1.MicroTime)(unsafe.Pointer(in.CompleteTime)) + return nil +} + +// Convert_v1alpha3_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(in *v1alpha3.WorkflowDriverStatus, out *WorkflowDriverStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowDriverStatus_To_v1alpha2_WorkflowDriverStatus(in, out, s) +} + +func autoConvert_v1alpha2_WorkflowList_To_v1alpha3_WorkflowList(in *WorkflowList, out *v1alpha3.WorkflowList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]v1alpha3.Workflow)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha2_WorkflowList_To_v1alpha3_WorkflowList is an autogenerated conversion function. +func Convert_v1alpha2_WorkflowList_To_v1alpha3_WorkflowList(in *WorkflowList, out *v1alpha3.WorkflowList, s conversion.Scope) error { + return autoConvert_v1alpha2_WorkflowList_To_v1alpha3_WorkflowList(in, out, s) +} + +func autoConvert_v1alpha3_WorkflowList_To_v1alpha2_WorkflowList(in *v1alpha3.WorkflowList, out *WorkflowList, s conversion.Scope) error { + out.ListMeta = in.ListMeta + out.Items = *(*[]Workflow)(unsafe.Pointer(&in.Items)) + return nil +} + +// Convert_v1alpha3_WorkflowList_To_v1alpha2_WorkflowList is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowList_To_v1alpha2_WorkflowList(in *v1alpha3.WorkflowList, out *WorkflowList, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowList_To_v1alpha2_WorkflowList(in, out, s) +} + +func autoConvert_v1alpha2_WorkflowSpec_To_v1alpha3_WorkflowSpec(in *WorkflowSpec, out *v1alpha3.WorkflowSpec, s conversion.Scope) error { + out.DesiredState = v1alpha3.WorkflowState(in.DesiredState) + out.WLMID = in.WLMID + out.JobID = in.JobID + out.UserID = in.UserID + out.GroupID = in.GroupID + out.Hurry = in.Hurry + out.DWDirectives = *(*[]string)(unsafe.Pointer(&in.DWDirectives)) + return nil +} + +// Convert_v1alpha2_WorkflowSpec_To_v1alpha3_WorkflowSpec is an autogenerated conversion function. +func Convert_v1alpha2_WorkflowSpec_To_v1alpha3_WorkflowSpec(in *WorkflowSpec, out *v1alpha3.WorkflowSpec, s conversion.Scope) error { + return autoConvert_v1alpha2_WorkflowSpec_To_v1alpha3_WorkflowSpec(in, out, s) +} + +func autoConvert_v1alpha3_WorkflowSpec_To_v1alpha2_WorkflowSpec(in *v1alpha3.WorkflowSpec, out *WorkflowSpec, s conversion.Scope) error { + out.DesiredState = WorkflowState(in.DesiredState) + out.WLMID = in.WLMID + out.JobID = in.JobID + out.UserID = in.UserID + out.GroupID = in.GroupID + out.Hurry = in.Hurry + out.DWDirectives = *(*[]string)(unsafe.Pointer(&in.DWDirectives)) + return nil +} + +// Convert_v1alpha3_WorkflowSpec_To_v1alpha2_WorkflowSpec is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowSpec_To_v1alpha2_WorkflowSpec(in *v1alpha3.WorkflowSpec, out *WorkflowSpec, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowSpec_To_v1alpha2_WorkflowSpec(in, out, s) +} + +func autoConvert_v1alpha2_WorkflowStatus_To_v1alpha3_WorkflowStatus(in *WorkflowStatus, out *v1alpha3.WorkflowStatus, s conversion.Scope) error { + out.State = v1alpha3.WorkflowState(in.State) + out.Ready = in.Ready + out.Status = in.Status + out.Message = in.Message + out.Env = *(*map[string]string)(unsafe.Pointer(&in.Env)) + out.Drivers = *(*[]v1alpha3.WorkflowDriverStatus)(unsafe.Pointer(&in.Drivers)) + out.DirectiveBreakdowns = *(*[]v1.ObjectReference)(unsafe.Pointer(&in.DirectiveBreakdowns)) + out.Computes = in.Computes + out.DesiredStateChange = (*metav1.MicroTime)(unsafe.Pointer(in.DesiredStateChange)) + out.ReadyChange = (*metav1.MicroTime)(unsafe.Pointer(in.ReadyChange)) + out.ElapsedTimeLastState = in.ElapsedTimeLastState + return nil +} + +// Convert_v1alpha2_WorkflowStatus_To_v1alpha3_WorkflowStatus is an autogenerated conversion function. +func Convert_v1alpha2_WorkflowStatus_To_v1alpha3_WorkflowStatus(in *WorkflowStatus, out *v1alpha3.WorkflowStatus, s conversion.Scope) error { + return autoConvert_v1alpha2_WorkflowStatus_To_v1alpha3_WorkflowStatus(in, out, s) +} + +func autoConvert_v1alpha3_WorkflowStatus_To_v1alpha2_WorkflowStatus(in *v1alpha3.WorkflowStatus, out *WorkflowStatus, s conversion.Scope) error { + out.State = WorkflowState(in.State) + out.Ready = in.Ready + out.Status = in.Status + out.Message = in.Message + out.Env = *(*map[string]string)(unsafe.Pointer(&in.Env)) + out.Drivers = *(*[]WorkflowDriverStatus)(unsafe.Pointer(&in.Drivers)) + out.DirectiveBreakdowns = *(*[]v1.ObjectReference)(unsafe.Pointer(&in.DirectiveBreakdowns)) + out.Computes = in.Computes + out.DesiredStateChange = (*metav1.MicroTime)(unsafe.Pointer(in.DesiredStateChange)) + out.ReadyChange = (*metav1.MicroTime)(unsafe.Pointer(in.ReadyChange)) + out.ElapsedTimeLastState = in.ElapsedTimeLastState + return nil +} + +// Convert_v1alpha3_WorkflowStatus_To_v1alpha2_WorkflowStatus is an autogenerated conversion function. +func Convert_v1alpha3_WorkflowStatus_To_v1alpha2_WorkflowStatus(in *v1alpha3.WorkflowStatus, out *WorkflowStatus, s conversion.Scope) error { + return autoConvert_v1alpha3_WorkflowStatus_To_v1alpha2_WorkflowStatus(in, out, s) +} diff --git a/api/v1alpha2/zz_generated.deepcopy.go b/api/v1alpha2/zz_generated.deepcopy.go index 97071e31..b98aeed9 100644 --- a/api/v1alpha2/zz_generated.deepcopy.go +++ b/api/v1alpha2/zz_generated.deepcopy.go @@ -26,7 +26,7 @@ package v1alpha2 import ( "github.com/DataWorkflowServices/dws/utils/dwdparse" "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/runtime" + runtime "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/intstr" ) diff --git a/api/v1alpha3/zz_generated.deepcopy.go b/api/v1alpha3/zz_generated.deepcopy.go index a2044c76..d558ad8d 100644 --- a/api/v1alpha3/zz_generated.deepcopy.go +++ b/api/v1alpha3/zz_generated.deepcopy.go @@ -24,16 +24,59 @@ package v1alpha3 import ( - runtime "k8s.io/apimachinery/pkg/runtime" + "github.com/DataWorkflowServices/dws/utils/dwdparse" + "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/intstr" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllocationSetColocationConstraint) DeepCopyInto(out *AllocationSetColocationConstraint) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationSetColocationConstraint. +func (in *AllocationSetColocationConstraint) DeepCopy() *AllocationSetColocationConstraint { + if in == nil { + return nil + } + out := new(AllocationSetColocationConstraint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllocationSetConstraints) DeepCopyInto(out *AllocationSetConstraints) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.Colocation != nil { + in, out := &in.Colocation, &out.Colocation + *out = make([]AllocationSetColocationConstraint, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationSetConstraints. +func (in *AllocationSetConstraints) DeepCopy() *AllocationSetConstraints { + if in == nil { + return nil + } + out := new(AllocationSetConstraints) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClientMount) DeepCopyInto(out *ClientMount) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMount. @@ -54,6 +97,118 @@ func (in *ClientMount) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountDevice) DeepCopyInto(out *ClientMountDevice) { + *out = *in + if in.Lustre != nil { + in, out := &in.Lustre, &out.Lustre + *out = new(ClientMountDeviceLustre) + **out = **in + } + if in.LVM != nil { + in, out := &in.LVM, &out.LVM + *out = new(ClientMountDeviceLVM) + (*in).DeepCopyInto(*out) + } + if in.DeviceReference != nil { + in, out := &in.DeviceReference, &out.DeviceReference + *out = new(ClientMountDeviceReference) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountDevice. +func (in *ClientMountDevice) DeepCopy() *ClientMountDevice { + if in == nil { + return nil + } + out := new(ClientMountDevice) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountDeviceLVM) DeepCopyInto(out *ClientMountDeviceLVM) { + *out = *in + if in.NVMeInfo != nil { + in, out := &in.NVMeInfo, &out.NVMeInfo + *out = make([]ClientMountNVMeDesc, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountDeviceLVM. +func (in *ClientMountDeviceLVM) DeepCopy() *ClientMountDeviceLVM { + if in == nil { + return nil + } + out := new(ClientMountDeviceLVM) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountDeviceLustre) DeepCopyInto(out *ClientMountDeviceLustre) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountDeviceLustre. +func (in *ClientMountDeviceLustre) DeepCopy() *ClientMountDeviceLustre { + if in == nil { + return nil + } + out := new(ClientMountDeviceLustre) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountDeviceReference) DeepCopyInto(out *ClientMountDeviceReference) { + *out = *in + out.ObjectReference = in.ObjectReference +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountDeviceReference. +func (in *ClientMountDeviceReference) DeepCopy() *ClientMountDeviceReference { + if in == nil { + return nil + } + out := new(ClientMountDeviceReference) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountInfo) DeepCopyInto(out *ClientMountInfo) { + *out = *in + in.Device.DeepCopyInto(&out.Device) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountInfo. +func (in *ClientMountInfo) DeepCopy() *ClientMountInfo { + if in == nil { + return nil + } + out := new(ClientMountInfo) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountInfoStatus) DeepCopyInto(out *ClientMountInfoStatus) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountInfoStatus. +func (in *ClientMountInfoStatus) DeepCopy() *ClientMountInfoStatus { + if in == nil { + return nil + } + out := new(ClientMountInfoStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClientMountList) DeepCopyInto(out *ClientMountList) { *out = *in @@ -86,9 +241,31 @@ func (in *ClientMountList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientMountNVMeDesc) DeepCopyInto(out *ClientMountNVMeDesc) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountNVMeDesc. +func (in *ClientMountNVMeDesc) DeepCopy() *ClientMountNVMeDesc { + if in == nil { + return nil + } + out := new(ClientMountNVMeDesc) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClientMountSpec) DeepCopyInto(out *ClientMountSpec) { *out = *in + if in.Mounts != nil { + in, out := &in.Mounts, &out.Mounts + *out = make([]ClientMountInfo, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountSpec. @@ -104,6 +281,12 @@ func (in *ClientMountSpec) DeepCopy() *ClientMountSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClientMountStatus) DeepCopyInto(out *ClientMountStatus) { *out = *in + if in.Mounts != nil { + in, out := &in.Mounts, &out.Mounts + *out = make([]ClientMountInfoStatus, len(*in)) + copy(*out, *in) + } + in.ResourceError.DeepCopyInto(&out.ResourceError) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientMountStatus. @@ -117,115 +300,103 @@ func (in *ClientMountStatus) DeepCopy() *ClientMountStatus { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Computes) DeepCopyInto(out *Computes) { +func (in *ComputeBreakdown) DeepCopyInto(out *ComputeBreakdown) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + in.Constraints.DeepCopyInto(&out.Constraints) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Computes. -func (in *Computes) DeepCopy() *Computes { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeBreakdown. +func (in *ComputeBreakdown) DeepCopy() *ComputeBreakdown { if in == nil { return nil } - out := new(Computes) + out := new(ComputeBreakdown) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Computes) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ComputesList) DeepCopyInto(out *ComputesList) { +func (in *ComputeConstraints) DeepCopyInto(out *ComputeConstraints) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Computes, len(*in)) + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = make([]ComputeLocationConstraint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputesList. -func (in *ComputesList) DeepCopy() *ComputesList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeConstraints. +func (in *ComputeConstraints) DeepCopy() *ComputeConstraints { if in == nil { return nil } - out := new(ComputesList) + out := new(ComputeConstraints) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ComputesList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ComputesSpec) DeepCopyInto(out *ComputesSpec) { +func (in *ComputeLocationAccess) DeepCopyInto(out *ComputeLocationAccess) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputesSpec. -func (in *ComputesSpec) DeepCopy() *ComputesSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeLocationAccess. +func (in *ComputeLocationAccess) DeepCopy() *ComputeLocationAccess { if in == nil { return nil } - out := new(ComputesSpec) + out := new(ComputeLocationAccess) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ComputesStatus) DeepCopyInto(out *ComputesStatus) { +func (in *ComputeLocationConstraint) DeepCopyInto(out *ComputeLocationConstraint) { *out = *in + if in.Access != nil { + in, out := &in.Access, &out.Access + *out = make([]ComputeLocationAccess, len(*in)) + copy(*out, *in) + } + out.Reference = in.Reference } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputesStatus. -func (in *ComputesStatus) DeepCopy() *ComputesStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeLocationConstraint. +func (in *ComputeLocationConstraint) DeepCopy() *ComputeLocationConstraint { if in == nil { return nil } - out := new(ComputesStatus) + out := new(ComputeLocationConstraint) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DWDirectiveRule) DeepCopyInto(out *DWDirectiveRule) { +func (in *Computes) DeepCopyInto(out *Computes) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + if in.Data != nil { + in, out := &in.Data, &out.Data + *out = make([]ComputesData, len(*in)) + copy(*out, *in) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DWDirectiveRule. -func (in *DWDirectiveRule) DeepCopy() *DWDirectiveRule { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Computes. +func (in *Computes) DeepCopy() *Computes { if in == nil { return nil } - out := new(DWDirectiveRule) + out := new(Computes) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *DWDirectiveRule) DeepCopyObject() runtime.Object { +func (in *Computes) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -233,31 +404,46 @@ func (in *DWDirectiveRule) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DWDirectiveRuleList) DeepCopyInto(out *DWDirectiveRuleList) { +func (in *ComputesData) DeepCopyInto(out *ComputesData) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputesData. +func (in *ComputesData) DeepCopy() *ComputesData { + if in == nil { + return nil + } + out := new(ComputesData) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ComputesList) DeepCopyInto(out *ComputesList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]DWDirectiveRule, len(*in)) + *out = make([]Computes, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DWDirectiveRuleList. -func (in *DWDirectiveRuleList) DeepCopy() *DWDirectiveRuleList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputesList. +func (in *ComputesList) DeepCopy() *ComputesList { if in == nil { return nil } - out := new(DWDirectiveRuleList) + out := new(ComputesList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *DWDirectiveRuleList) DeepCopyObject() runtime.Object { +func (in *ComputesList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -265,42 +451,76 @@ func (in *DWDirectiveRuleList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DWDirectiveRuleSpec) DeepCopyInto(out *DWDirectiveRuleSpec) { +func (in *DWDirectiveRule) DeepCopyInto(out *DWDirectiveRule) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + if in.Spec != nil { + in, out := &in.Spec, &out.Spec + *out = make([]dwdparse.DWDirectiveRuleSpec, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DWDirectiveRuleSpec. -func (in *DWDirectiveRuleSpec) DeepCopy() *DWDirectiveRuleSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DWDirectiveRule. +func (in *DWDirectiveRule) DeepCopy() *DWDirectiveRule { if in == nil { return nil } - out := new(DWDirectiveRuleSpec) + out := new(DWDirectiveRule) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DWDirectiveRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DWDirectiveRuleStatus) DeepCopyInto(out *DWDirectiveRuleStatus) { +func (in *DWDirectiveRuleList) DeepCopyInto(out *DWDirectiveRuleList) { *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DWDirectiveRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DWDirectiveRuleStatus. -func (in *DWDirectiveRuleStatus) DeepCopy() *DWDirectiveRuleStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DWDirectiveRuleList. +func (in *DWDirectiveRuleList) DeepCopy() *DWDirectiveRuleList { if in == nil { return nil } - out := new(DWDirectiveRuleStatus) + out := new(DWDirectiveRuleList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DWDirectiveRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DirectiveBreakdown) DeepCopyInto(out *DirectiveBreakdown) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) out.Spec = in.Spec - out.Status = in.Status + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectiveBreakdown. @@ -371,6 +591,22 @@ func (in *DirectiveBreakdownSpec) DeepCopy() *DirectiveBreakdownSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DirectiveBreakdownStatus) DeepCopyInto(out *DirectiveBreakdownStatus) { *out = *in + if in.Storage != nil { + in, out := &in.Storage, &out.Storage + *out = new(StorageBreakdown) + (*in).DeepCopyInto(*out) + } + if in.Compute != nil { + in, out := &in.Compute, &out.Compute + *out = new(ComputeBreakdown) + (*in).DeepCopyInto(*out) + } + if in.RequiredDaemons != nil { + in, out := &in.RequiredDaemons, &out.RequiredDaemons + *out = make([]string, len(*in)) + copy(*out, *in) + } + in.ResourceError.DeepCopyInto(&out.ResourceError) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectiveBreakdownStatus. @@ -383,13 +619,28 @@ func (in *DirectiveBreakdownStatus) DeepCopy() *DirectiveBreakdownStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Node) DeepCopyInto(out *Node) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. +func (in *Node) DeepCopy() *Node { + if in == nil { + return nil + } + out := new(Node) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistentStorageInstance) DeepCopyInto(out *PersistentStorageInstance) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentStorageInstance. @@ -445,6 +696,11 @@ func (in *PersistentStorageInstanceList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistentStorageInstanceSpec) DeepCopyInto(out *PersistentStorageInstanceSpec) { *out = *in + if in.ConsumerReferences != nil { + in, out := &in.ConsumerReferences, &out.ConsumerReferences + *out = make([]v1.ObjectReference, len(*in)) + copy(*out, *in) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentStorageInstanceSpec. @@ -460,6 +716,8 @@ func (in *PersistentStorageInstanceSpec) DeepCopy() *PersistentStorageInstanceSp // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistentStorageInstanceStatus) DeepCopyInto(out *PersistentStorageInstanceStatus) { *out = *in + out.Servers = in.Servers + in.ResourceError.DeepCopyInto(&out.ResourceError) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentStorageInstanceStatus. @@ -472,13 +730,48 @@ func (in *PersistentStorageInstanceStatus) DeepCopy() *PersistentStorageInstance return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceError) DeepCopyInto(out *ResourceError) { + *out = *in + if in.Error != nil { + in, out := &in.Error, &out.Error + *out = new(ResourceErrorInfo) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceError. +func (in *ResourceError) DeepCopy() *ResourceError { + if in == nil { + return nil + } + out := new(ResourceError) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceErrorInfo) DeepCopyInto(out *ResourceErrorInfo) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceErrorInfo. +func (in *ResourceErrorInfo) DeepCopy() *ResourceErrorInfo { + if in == nil { + return nil + } + out := new(ResourceErrorInfo) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Servers) DeepCopyInto(out *Servers) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Servers. @@ -534,6 +827,13 @@ func (in *ServersList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServersSpec) DeepCopyInto(out *ServersSpec) { *out = *in + if in.AllocationSets != nil { + in, out := &in.AllocationSets, &out.AllocationSets + *out = make([]ServersSpecAllocationSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSpec. @@ -546,9 +846,56 @@ func (in *ServersSpec) DeepCopy() *ServersSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSpecAllocationSet) DeepCopyInto(out *ServersSpecAllocationSet) { + *out = *in + if in.Storage != nil { + in, out := &in.Storage, &out.Storage + *out = make([]ServersSpecStorage, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSpecAllocationSet. +func (in *ServersSpecAllocationSet) DeepCopy() *ServersSpecAllocationSet { + if in == nil { + return nil + } + out := new(ServersSpecAllocationSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersSpecStorage) DeepCopyInto(out *ServersSpecStorage) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersSpecStorage. +func (in *ServersSpecStorage) DeepCopy() *ServersSpecStorage { + if in == nil { + return nil + } + out := new(ServersSpecStorage) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServersStatus) DeepCopyInto(out *ServersStatus) { *out = *in + if in.LastUpdate != nil { + in, out := &in.LastUpdate, &out.LastUpdate + *out = (*in).DeepCopy() + } + if in.AllocationSets != nil { + in, out := &in.AllocationSets, &out.AllocationSets + *out = make([]ServersStatusAllocationSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + in.ResourceError.DeepCopyInto(&out.ResourceError) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersStatus. @@ -561,13 +908,50 @@ func (in *ServersStatus) DeepCopy() *ServersStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersStatusAllocationSet) DeepCopyInto(out *ServersStatusAllocationSet) { + *out = *in + if in.Storage != nil { + in, out := &in.Storage, &out.Storage + *out = make(map[string]ServersStatusStorage, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersStatusAllocationSet. +func (in *ServersStatusAllocationSet) DeepCopy() *ServersStatusAllocationSet { + if in == nil { + return nil + } + out := new(ServersStatusAllocationSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServersStatusStorage) DeepCopyInto(out *ServersStatusStorage) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServersStatusStorage. +func (in *ServersStatusStorage) DeepCopy() *ServersStatusStorage { + if in == nil { + return nil + } + out := new(ServersStatusStorage) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Storage) DeepCopyInto(out *Storage) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) out.Spec = in.Spec - out.Status = in.Status + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage. @@ -588,6 +972,90 @@ func (in *Storage) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccess) DeepCopyInto(out *StorageAccess) { + *out = *in + if in.Servers != nil { + in, out := &in.Servers, &out.Servers + *out = make([]Node, len(*in)) + copy(*out, *in) + } + if in.Computes != nil { + in, out := &in.Computes, &out.Computes + *out = make([]Node, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccess. +func (in *StorageAccess) DeepCopy() *StorageAccess { + if in == nil { + return nil + } + out := new(StorageAccess) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAllocationSet) DeepCopyInto(out *StorageAllocationSet) { + *out = *in + in.Constraints.DeepCopyInto(&out.Constraints) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAllocationSet. +func (in *StorageAllocationSet) DeepCopy() *StorageAllocationSet { + if in == nil { + return nil + } + out := new(StorageAllocationSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageBreakdown) DeepCopyInto(out *StorageBreakdown) { + *out = *in + out.Reference = in.Reference + if in.AllocationSets != nil { + in, out := &in.AllocationSets, &out.AllocationSets + *out = make([]StorageAllocationSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBreakdown. +func (in *StorageBreakdown) DeepCopy() *StorageBreakdown { + if in == nil { + return nil + } + out := new(StorageBreakdown) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageDevice) DeepCopyInto(out *StorageDevice) { + *out = *in + if in.WearLevel != nil { + in, out := &in.WearLevel, &out.WearLevel + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageDevice. +func (in *StorageDevice) DeepCopy() *StorageDevice { + if in == nil { + return nil + } + out := new(StorageDevice) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StorageList) DeepCopyInto(out *StorageList) { *out = *in @@ -638,6 +1106,14 @@ func (in *StorageSpec) DeepCopy() *StorageSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StorageStatus) DeepCopyInto(out *StorageStatus) { *out = *in + if in.Devices != nil { + in, out := &in.Devices, &out.Devices + *out = make([]StorageDevice, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + in.Access.DeepCopyInto(&out.Access) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus. @@ -655,8 +1131,8 @@ func (in *SystemConfiguration) DeepCopyInto(out *SystemConfiguration) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemConfiguration. @@ -677,6 +1153,36 @@ func (in *SystemConfiguration) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemConfigurationComputeNodeReference) DeepCopyInto(out *SystemConfigurationComputeNodeReference) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemConfigurationComputeNodeReference. +func (in *SystemConfigurationComputeNodeReference) DeepCopy() *SystemConfigurationComputeNodeReference { + if in == nil { + return nil + } + out := new(SystemConfigurationComputeNodeReference) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemConfigurationExternalComputeNode) DeepCopyInto(out *SystemConfigurationExternalComputeNode) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemConfigurationExternalComputeNode. +func (in *SystemConfigurationExternalComputeNode) DeepCopy() *SystemConfigurationExternalComputeNode { + if in == nil { + return nil + } + out := new(SystemConfigurationExternalComputeNode) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SystemConfigurationList) DeepCopyInto(out *SystemConfigurationList) { *out = *in @@ -712,6 +1218,23 @@ func (in *SystemConfigurationList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SystemConfigurationSpec) DeepCopyInto(out *SystemConfigurationSpec) { *out = *in + if in.ExternalComputeNodes != nil { + in, out := &in.ExternalComputeNodes, &out.ExternalComputeNodes + *out = make([]SystemConfigurationExternalComputeNode, len(*in)) + copy(*out, *in) + } + if in.StorageNodes != nil { + in, out := &in.StorageNodes, &out.StorageNodes + *out = make([]SystemConfigurationStorageNode, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Ports != nil { + in, out := &in.Ports, &out.Ports + *out = make([]intstr.IntOrString, len(*in)) + copy(*out, *in) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemConfigurationSpec. @@ -727,6 +1250,7 @@ func (in *SystemConfigurationSpec) DeepCopy() *SystemConfigurationSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SystemConfigurationStatus) DeepCopyInto(out *SystemConfigurationStatus) { *out = *in + in.ResourceError.DeepCopyInto(&out.ResourceError) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemConfigurationStatus. @@ -739,13 +1263,33 @@ func (in *SystemConfigurationStatus) DeepCopy() *SystemConfigurationStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemConfigurationStorageNode) DeepCopyInto(out *SystemConfigurationStorageNode) { + *out = *in + if in.ComputesAccess != nil { + in, out := &in.ComputesAccess, &out.ComputesAccess + *out = make([]SystemConfigurationComputeNodeReference, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemConfigurationStorageNode. +func (in *SystemConfigurationStorageNode) DeepCopy() *SystemConfigurationStorageNode { + if in == nil { + return nil + } + out := new(SystemConfigurationStorageNode) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Workflow) DeepCopyInto(out *Workflow) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec - out.Status = in.Status + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow. @@ -766,6 +1310,25 @@ func (in *Workflow) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkflowDriverStatus) DeepCopyInto(out *WorkflowDriverStatus) { + *out = *in + if in.CompleteTime != nil { + in, out := &in.CompleteTime, &out.CompleteTime + *out = (*in).DeepCopy() + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowDriverStatus. +func (in *WorkflowDriverStatus) DeepCopy() *WorkflowDriverStatus { + if in == nil { + return nil + } + out := new(WorkflowDriverStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkflowList) DeepCopyInto(out *WorkflowList) { *out = *in @@ -801,6 +1364,12 @@ func (in *WorkflowList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec) { *out = *in + out.JobID = in.JobID + if in.DWDirectives != nil { + in, out := &in.DWDirectives, &out.DWDirectives + *out = make([]string, len(*in)) + copy(*out, *in) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowSpec. @@ -816,6 +1385,34 @@ func (in *WorkflowSpec) DeepCopy() *WorkflowSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus) { *out = *in + if in.Env != nil { + in, out := &in.Env, &out.Env + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Drivers != nil { + in, out := &in.Drivers, &out.Drivers + *out = make([]WorkflowDriverStatus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DirectiveBreakdowns != nil { + in, out := &in.DirectiveBreakdowns, &out.DirectiveBreakdowns + *out = make([]v1.ObjectReference, len(*in)) + copy(*out, *in) + } + out.Computes = in.Computes + if in.DesiredStateChange != nil { + in, out := &in.DesiredStateChange, &out.DesiredStateChange + *out = (*in).DeepCopy() + } + if in.ReadyChange != nil { + in, out := &in.ReadyChange, &out.ReadyChange + *out = (*in).DeepCopy() + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStatus. diff --git a/config/crd/bases/dataworkflowservices.github.io_clientmounts.yaml b/config/crd/bases/dataworkflowservices.github.io_clientmounts.yaml index 44053779..261f34a3 100644 --- a/config/crd/bases/dataworkflowservices.github.io_clientmounts.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_clientmounts.yaml @@ -569,6 +569,301 @@ spec: type: object type: object served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - description: The desired state + jsonPath: .spec.desiredState + name: DESIREDSTATE + type: string + - description: True if desired state is achieved + jsonPath: .status.allReady + name: READY + type: boolean + - jsonPath: .status.error.severity + name: ERROR + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha3 + schema: + openAPIV3Schema: + description: ClientMount is the Schema for the clientmounts API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: ClientMountSpec defines the desired state of ClientMount + properties: + desiredState: + description: Desired state of the mount point + enum: + - mounted + - unmounted + type: string + mounts: + description: List of mounts to create on this client + items: + description: ClientMountInfo defines a single mount + properties: + compute: + description: Compute is the name of the compute node which shares + this mount if present. Empty if not shared. + type: string + device: + description: Description of the device to mount + properties: + deviceReference: + description: |- + ClientMountDeviceReference is an reference to a different Kubernetes object + where device information can be found + properties: + data: + description: Optional private data for the driver + type: integer + objectReference: + description: Object reference for the device information + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + required: + - objectReference + type: object + lustre: + description: Lustre specific device information + properties: + fileSystemName: + description: Lustre fsname + type: string + mgsAddresses: + description: List of mgsAddresses of the form [address]@[lnet] + type: string + required: + - fileSystemName + - mgsAddresses + type: object + lvm: + description: LVM logical volume specific device information + properties: + deviceType: + description: Type of underlying block deices used for + the PVs + enum: + - nvme + type: string + logicalVolume: + description: LVM logical volume name + type: string + nvmeInfo: + description: List of NVMe namespaces that are used by + the VG + items: + description: ClientMountNVMeDesc uniquely describes + an NVMe namespace + properties: + deviceSerial: + description: Serial number of the base NVMe device + type: string + namespaceGUID: + description: Globally unique namespace ID + type: string + namespaceID: + description: Id of the Namespace on the NVMe device + (e.g., "2") + type: string + required: + - deviceSerial + - namespaceGUID + - namespaceID + type: object + type: array + volumeGroup: + description: LVM volume group name + type: string + required: + - deviceType + type: object + type: + description: ClientMountDeviceType specifies the go type + for device type + enum: + - lustre + - lvm + - reference + type: string + required: + - type + type: object + groupID: + description: GroupID to set for the mount + format: int32 + type: integer + mountPath: + description: Client path for mount target + type: string + options: + description: Options for the file system mount + type: string + setPermissions: + description: SetPermissions will set UserID and GroupID on the + mount if true + type: boolean + targetType: + description: TargetType determines whether the mount target + is a file or a directory + enum: + - file + - directory + type: string + type: + description: mount type + enum: + - lustre + - xfs + - gfs2 + - none + type: string + userID: + description: UserID to set for the mount + format: int32 + type: integer + required: + - device + - mountPath + - options + - setPermissions + - targetType + - type + type: object + minItems: 1 + type: array + node: + description: Name of the client node that is targeted by this mount + type: string + required: + - desiredState + - mounts + - node + type: object + status: + description: ClientMountStatus defines the observed state of ClientMount + properties: + allReady: + description: Rollup of each mounts ready status + type: boolean + error: + description: Error information + properties: + debugMessage: + description: Internal debug message for the error + type: string + severity: + description: |- + Indication of how severe the error is. Minor will likely succeed, Major may + succeed, and Fatal will never succeed. + enum: + - Minor + - Major + - Fatal + type: string + type: + description: Internal or user error + enum: + - Internal + - User + - WLM + type: string + userMessage: + description: Optional user facing message if the error is relevant + to an end user + type: string + required: + - debugMessage + - severity + - type + type: object + mounts: + description: List of mount statuses + items: + description: ClientMountInfoStatus is the status for a single mount + point + properties: + ready: + description: Ready indicates whether status.state has been achieved + type: boolean + state: + description: Current state + enum: + - mounted + - unmounted + type: string + required: + - ready + - state + type: object + type: array + required: + - allReady + - mounts + type: object + type: object + served: true storage: true subresources: status: {} diff --git a/config/crd/bases/dataworkflowservices.github.io_computes.yaml b/config/crd/bases/dataworkflowservices.github.io_computes.yaml index 64d15601..0df0233f 100644 --- a/config/crd/bases/dataworkflowservices.github.io_computes.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_computes.yaml @@ -52,6 +52,43 @@ spec: served: true storage: false - name: v1alpha2 + schema: + openAPIV3Schema: + description: Computes is the Schema for the computes API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + data: + items: + description: ComputesData defines the compute nodes that are assigned + to the workflow + properties: + name: + description: Name is the identifer name for the compute node + type: string + required: + - name + type: object + type: array + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + type: object + served: true + storage: false + - name: v1alpha3 schema: openAPIV3Schema: description: Computes is the Schema for the computes API diff --git a/config/crd/bases/dataworkflowservices.github.io_directivebreakdowns.yaml b/config/crd/bases/dataworkflowservices.github.io_directivebreakdowns.yaml index 63f9cde1..1fee4813 100644 --- a/config/crd/bases/dataworkflowservices.github.io_directivebreakdowns.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_directivebreakdowns.yaml @@ -661,6 +661,343 @@ spec: type: object type: object served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - description: True if allocation sets have been generated + jsonPath: .status.ready + name: READY + type: boolean + - jsonPath: .status.error.severity + name: ERROR + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha3 + schema: + openAPIV3Schema: + description: DirectiveBreakdown is the Schema for the directivebreakdown API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: DirectiveBreakdownSpec defines the directive string to breakdown + properties: + directive: + description: 'Directive is a copy of the #DW for this breakdown' + type: string + userID: + description: User ID of the user associated with the job + format: int32 + type: integer + required: + - directive + - userID + type: object + status: + description: DirectiveBreakdownStatus defines the storage information + WLM needs to select NNF Nodes and request storage from the selected + nodes + properties: + compute: + description: Compute is the compute breakdown for the directive + properties: + constraints: + description: Constraints to use when picking compute nodes + properties: + location: + description: Location is a list of location constraints + items: + description: |- + ComputeLocationConstraint describes a constraints on which compute nodes can be used with + a directive based on their location + properties: + access: + items: + properties: + priority: + description: Priority specifies whether the location + constraint is mandatory or best effort + enum: + - mandatory + - bestEffort + type: string + type: + description: Type is the relationship between + the compute nodes and the resource in the Reference + enum: + - physical + - network + type: string + required: + - priority + - type + type: object + type: array + reference: + description: Reference is an object reference to a resource + that contains the location information + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + required: + - access + - reference + type: object + type: array + type: object + type: object + error: + description: Error information + properties: + debugMessage: + description: Internal debug message for the error + type: string + severity: + description: |- + Indication of how severe the error is. Minor will likely succeed, Major may + succeed, and Fatal will never succeed. + enum: + - Minor + - Major + - Fatal + type: string + type: + description: Internal or user error + enum: + - Internal + - User + - WLM + type: string + userMessage: + description: Optional user facing message if the error is relevant + to an end user + type: string + required: + - debugMessage + - severity + - type + type: object + ready: + description: Ready indicates whether AllocationSets have been generated + (true) or not (false) + type: boolean + requiredDaemons: + description: RequiredDeamons tells the WLM about any driver-specific + daemons it must enable for the job; it is assumed that the WLM knows + about the driver-specific daemons and that if the users are specifying + these then the WLM knows how to start them + items: + type: string + type: array + storage: + description: Storage is the storage breakdown for the directive + properties: + allocationSets: + description: 'AllocationSets lists the allocations required to + fulfill the #DW Directive' + items: + description: StorageAllocationSet defines the details of an + allocation set + properties: + allocationStrategy: + description: AllocationStrategy specifies the way to determine + the number of allocations of the MinimumCapacity required + for this AllocationSet. + enum: + - AllocatePerCompute + - AllocateAcrossServers + - AllocateSingleServer + type: string + constraints: + description: |- + Constraint is an additional requirement pertaining to the suitability of Storage resources that may be used + for this AllocationSet + properties: + colocation: + description: |- + Colocation is a list of constraints for which Storage resources + to pick in relation to Storage resources for other allocation sets. + items: + description: |- + AllocationSetColocationConstraint specifies how to colocate storage resources. + A colocation constraint specifies how the location(s) of an allocation set should be + selected with relation to other allocation sets. Locations for allocation sets with the + same colocation key should be picked according to the colocation type. + properties: + key: + description: |- + Key shared by all the allocation sets that have their location constrained + in relation to each other. + type: string + type: + description: Type of colocation constraint + enum: + - exclusive + type: string + required: + - key + - type + type: object + type: array + count: + description: Count is the number of the allocations + to make + minimum: 1 + type: integer + labels: + description: Labels is a list of labels is used to filter + the Storage resources + items: + type: string + type: array + scale: + description: Scale is a hint for the number of allocations + to make based on a 1-10 value + maximum: 10 + minimum: 1 + type: integer + type: object + label: + description: |- + Label is an identifier used to communicate from the DWS interface to internal interfaces + the filesystem use of this AllocationSet. + enum: + - raw + - xfs + - gfs2 + - mgt + - mdt + - mgtmdt + - ost + type: string + minimumCapacity: + description: |- + MinimumCapacity is the minumum number of bytes required to meet the needs of the filesystem that + will use the storage. + format: int64 + minimum: 1 + type: integer + required: + - allocationStrategy + - label + - minimumCapacity + type: object + type: array + lifetime: + description: Lifetime is the duration of the allocation + enum: + - job + - persistent + type: string + reference: + description: Reference is an ObjectReference to another resource + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + required: + - lifetime + type: object + required: + - ready + type: object + type: object + served: true storage: true subresources: status: {} diff --git a/config/crd/bases/dataworkflowservices.github.io_dwdirectiverules.yaml b/config/crd/bases/dataworkflowservices.github.io_dwdirectiverules.yaml index 8d77c240..154b7279 100644 --- a/config/crd/bases/dataworkflowservices.github.io_dwdirectiverules.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_dwdirectiverules.yaml @@ -95,6 +95,86 @@ spec: served: true storage: false - name: v1alpha2 + schema: + openAPIV3Schema: + description: DWDirectiveRule is the Schema for the DWDirective API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + items: + description: DWDirectiveRuleSpec defines the desired state of DWDirective + properties: + command: + description: 'Name of the #DW command. jobdw, stage_in, etc.' + type: string + driverLabel: + description: |- + Override for the Driver ID. If left empty this defaults to the + name of the DWDirectiveRule + type: string + ruleDefs: + description: 'List of key/value pairs this #DW command is expected + to have' + items: + description: DWDirectiveRuleDef defines the DWDirective parser + rules + properties: + isRequired: + type: boolean + isValueRequired: + type: boolean + key: + type: string + max: + type: integer + min: + type: integer + pattern: + type: string + patterns: + items: + type: string + type: array + type: + type: string + uniqueWithin: + type: string + required: + - key + - type + type: object + type: array + watchStates: + description: |- + Comma separated list of states that this rule wants to register for. + These watch states will result in an entry in the driver status array + in the Workflow resource + type: string + required: + - command + - ruleDefs + type: object + type: array + type: object + served: true + storage: false + - name: v1alpha3 schema: openAPIV3Schema: description: DWDirectiveRule is the Schema for the DWDirective API diff --git a/config/crd/bases/dataworkflowservices.github.io_persistentstorageinstances.yaml b/config/crd/bases/dataworkflowservices.github.io_persistentstorageinstances.yaml index 3ae7c4d5..daf1be5e 100644 --- a/config/crd/bases/dataworkflowservices.github.io_persistentstorageinstances.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_persistentstorageinstances.yaml @@ -441,6 +441,231 @@ spec: type: object type: object served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .status.error.severity + name: ERROR + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha3 + schema: + openAPIV3Schema: + description: PersistentStorageInstance is the Schema for the Persistentstorageinstances + API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: PersistentStorageInstanceSpec defines the desired state of + PersistentStorageInstance + properties: + consumerReferences: + description: List of consumers using this persistent storage + items: + description: |- + ObjectReference contains enough information to let you inspect or modify the referred object. + --- + New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. + 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. + 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular + restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". + Those cannot be well described when embedded. + 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. + 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity + during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple + and the version of the actual struct is irrelevant. + 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type + will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. + + + Instead of using this type, create a locally provided and used type that is well-focused on your reference. + For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + type: array + dwDirective: + description: 'DWDirective is a copy of the #DW for this instance' + type: string + fsType: + description: FsType describes the File System Type for this storage + instance. + enum: + - raw + - xfs + - gfs2 + - lustre + type: string + name: + description: Name is the name given to this persistent storage instance. + type: string + state: + description: Desired state of the PersistentStorageInstance + enum: + - Active + - Destroying + type: string + userID: + description: User ID of the user that created the persistent storage + format: int32 + type: integer + required: + - dwDirective + - fsType + - name + - state + - userID + type: object + status: + description: PersistentStorageInstanceStatus defines the observed state + of PersistentStorageInstance + properties: + error: + description: Error information + properties: + debugMessage: + description: Internal debug message for the error + type: string + severity: + description: |- + Indication of how severe the error is. Minor will likely succeed, Major may + succeed, and Fatal will never succeed. + enum: + - Minor + - Major + - Fatal + type: string + type: + description: Internal or user error + enum: + - Internal + - User + - WLM + type: string + userMessage: + description: Optional user facing message if the error is relevant + to an end user + type: string + required: + - debugMessage + - severity + - type + type: object + servers: + description: Servers refers to the Servers resource that provides + the backing storage for this storage instance + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + state: + description: Current state of the PersistentStorageInstance + enum: + - Creating + - Active + - Destroying + type: string + required: + - state + type: object + type: object + served: true storage: true subresources: status: {} diff --git a/config/crd/bases/dataworkflowservices.github.io_servers.yaml b/config/crd/bases/dataworkflowservices.github.io_servers.yaml index 4b024427..8f7b0904 100644 --- a/config/crd/bases/dataworkflowservices.github.io_servers.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_servers.yaml @@ -289,6 +289,162 @@ spec: type: object type: object served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - description: True if allocation sets have been generated + jsonPath: .status.ready + name: READY + type: boolean + - jsonPath: .status.error.severity + name: ERROR + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha3 + schema: + openAPIV3Schema: + description: Servers is the Schema for the servers API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: ServersSpec defines the desired state of Servers + properties: + allocationSets: + items: + description: |- + ServersSpecAllocationSet is a set of allocations that all share the same allocation + size and allocation type (e.g., XFS) + properties: + allocationSize: + description: Allocation size in bytes + format: int64 + minimum: 1 + type: integer + label: + description: Label as specified in the DirectiveBreakdown + type: string + storage: + description: List of storage resources where allocations are + created + items: + description: |- + ServersSpecStorage specifies info required to identify the storage to + use, and the number of allocations to make on that storage. + ServersSpecAllocationSet.AllocationSize specifies the size of each allocation. + properties: + allocationCount: + description: The number of allocations to create of the + size in bytes specified in ServersSpecAllocationSet + minimum: 1 + type: integer + name: + description: The name of the storage + type: string + required: + - allocationCount + - name + type: object + type: array + required: + - allocationSize + - label + - storage + type: object + type: array + type: object + status: + description: |- + ServersStatus specifies whether the Servers has achieved the + ready condition along with the allocationSets that are managed + by the Servers resource. + properties: + allocationSets: + items: + description: ServersStatusAllocationSet is the status of a set of + allocations + properties: + label: + description: Label as specified in the DirectiveBreakdown + type: string + storage: + additionalProperties: + description: ServersStatusStorage is the status of the allocations + on a storage + properties: + allocationSize: + description: Allocation size in bytes + format: int64 + type: integer + required: + - allocationSize + type: object + description: List of storage resources that have allocations + type: object + required: + - label + - storage + type: object + type: array + error: + description: Error information + properties: + debugMessage: + description: Internal debug message for the error + type: string + severity: + description: |- + Indication of how severe the error is. Minor will likely succeed, Major may + succeed, and Fatal will never succeed. + enum: + - Minor + - Major + - Fatal + type: string + type: + description: Internal or user error + enum: + - Internal + - User + - WLM + type: string + userMessage: + description: Optional user facing message if the error is relevant + to an end user + type: string + required: + - debugMessage + - severity + - type + type: object + lastUpdate: + format: date-time + type: string + ready: + type: boolean + required: + - ready + type: object + type: object + served: true storage: true subresources: status: {} diff --git a/config/crd/bases/dataworkflowservices.github.io_storages.yaml b/config/crd/bases/dataworkflowservices.github.io_storages.yaml index ab445464..b6c56b8e 100644 --- a/config/crd/bases/dataworkflowservices.github.io_storages.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_storages.yaml @@ -421,6 +421,220 @@ spec: - spec type: object served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - description: State of the storage resource + jsonPath: .spec.state + name: State + type: string + - description: Status of the storage resource + jsonPath: .status.status + name: Status + type: string + - description: State of live updates + jsonPath: .spec.mode + name: Mode + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha3 + schema: + openAPIV3Schema: + description: Storage is the Schema for the storages API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: StorageSpec defines the desired specifications of Storage + resource + properties: + mode: + default: Live + description: |- + Mode indicates whether the resource is live and is being updated + by the reconcilers or whether it is in testing mode and is being + updated manually. + enum: + - Live + - Testing + type: string + state: + default: Enabled + description: State describes the desired state of the Storage resource. + enum: + - Enabled + - Disabled + type: string + type: object + status: + description: StorageData contains the data about the storage + properties: + access: + description: Access contains the information about where the storage + is accessible + properties: + computes: + description: Computes is the list of compute nodes that have access + to the storage + items: + description: Node provides the status of either a compute or + a server + properties: + name: + description: Name is the Kubernetes name of the node + type: string + status: + description: Status of the node + enum: + - Starting + - Ready + - Disabled + - NotPresent + - Offline + - Failed + - Degraded + - Drained + - Unknown + type: string + type: object + type: array + protocol: + description: Protocol is the method that this storage can be accessed + enum: + - PCIe + type: string + servers: + description: Servers is the list of non-compute nodes that have + access to the storage + items: + description: Node provides the status of either a compute or + a server + properties: + name: + description: Name is the Kubernetes name of the node + type: string + status: + description: Status of the node + enum: + - Starting + - Ready + - Disabled + - NotPresent + - Offline + - Failed + - Degraded + - Drained + - Unknown + type: string + type: object + type: array + type: object + capacity: + default: 0 + description: |- + Capacity is the number of bytes this storage provides. This is the + total accessible bytes as determined by the driver and may be different + than the sum of the devices' capacities. + format: int64 + type: integer + devices: + description: Devices is the list of physical devices that make up + this storage + items: + description: StorageDevice contains the details of the storage hardware + properties: + capacity: + description: |- + Capacity in bytes of the device. The full capacity may not + be usable depending on what the storage driver can provide. + format: int64 + type: integer + firmwareVersion: + description: The firmware version of this storage controller. + type: string + model: + description: Model is the manufacturer information about the + device + type: string + serialNumber: + description: The serial number for this storage controller. + type: string + slot: + description: Physical slot location of the storage controller. + type: string + status: + description: Status of the individual device + enum: + - Starting + - Ready + - Disabled + - NotPresent + - Offline + - Failed + - Degraded + - Drained + - Unknown + type: string + wearLevel: + description: |- + WearLevel in percent for SSDs. A value of 100 indicates the estimated endurance of the non-volatile memory + has been consumed, but may not indicate a storage failure. + format: int64 + type: integer + type: object + type: array + message: + description: Message provides additional details on the current status + of the resource + type: string + rebootRequired: + description: |- + Reboot Required is true if the node requires a reboot and false otherwise. A reboot my be + necessary to recover from certain hardware failures or high-availability clustering events. + type: boolean + status: + description: Status is the overall status of the storage + enum: + - Starting + - Ready + - Disabled + - NotPresent + - Offline + - Failed + - Degraded + - Drained + - Unknown + type: string + type: + description: Type describes what type of storage this is + enum: + - NVMe + type: string + required: + - capacity + type: object + required: + - spec + type: object + served: true storage: true subresources: status: {} diff --git a/config/crd/bases/dataworkflowservices.github.io_systemconfigurations.yaml b/config/crd/bases/dataworkflowservices.github.io_systemconfigurations.yaml index df6d0f59..1e0d6b22 100644 --- a/config/crd/bases/dataworkflowservices.github.io_systemconfigurations.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_systemconfigurations.yaml @@ -280,6 +280,162 @@ spec: type: object type: object served: true + storage: false + subresources: + status: {} + - additionalPrinterColumns: + - description: True if SystemConfiguration is reconciled + jsonPath: .status.ready + name: READY + type: boolean + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha3 + schema: + openAPIV3Schema: + description: SystemConfiguration is the Schema for the systemconfigurations + API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: |- + SystemConfigurationSpec describes the node layout of the system. This is filled in by + an administrator at software installation time. + properties: + externalComputeNodes: + description: |- + ExternalComputeNodes is the list of compute nodes that are not + directly matched with any of the StorageNodes. + items: + description: |- + SystemConfigurationExternalComputeNode describes a compute node that is + not directly matched with any of the nodes in the StorageNodes list. + properties: + name: + description: Name of the compute node + type: string + required: + - name + type: object + type: array + ports: + description: |- + Ports is the list of ports available for communication between nodes in the system. + Valid values are single integers, or a range of values of the form "START-END" where + START is an integer value that represents the start of a port range and END is an + integer value that represents the end of the port range (inclusive). + items: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + type: array + portsCooldownInSeconds: + default: 60 + description: |- + PortsCooldownInSeconds is the number of seconds to wait before a port can be reused. Defaults + to 60 seconds (to match the typical value for the kernel's TIME_WAIT). A value of 0 means the + ports can be reused immediately. + type: integer + storageNodes: + description: StorageNodes is the list of storage nodes on the system + items: + description: SystemConfigurationStorageNode describes a storage + node in the system + properties: + computesAccess: + description: ComputesAccess is the list of compute nodes that + can use the server + items: + description: |- + SystemConfigurationComputeNodeReference describes a compute node that + has access to a server. + properties: + index: + description: Index of the compute node from the server + type: integer + name: + description: Name of the compute node + type: string + required: + - index + - name + type: object + type: array + name: + description: Name of the server node + type: string + type: + description: Type is the type of server + type: string + required: + - name + - type + type: object + type: array + required: + - portsCooldownInSeconds + type: object + status: + description: SystemConfigurationStatus defines the status of SystemConfiguration + properties: + error: + description: Error information + properties: + debugMessage: + description: Internal debug message for the error + type: string + severity: + description: |- + Indication of how severe the error is. Minor will likely succeed, Major may + succeed, and Fatal will never succeed. + enum: + - Minor + - Major + - Fatal + type: string + type: + description: Internal or user error + enum: + - Internal + - User + - WLM + type: string + userMessage: + description: Optional user facing message if the error is relevant + to an end user + type: string + required: + - debugMessage + - severity + - type + type: object + ready: + description: Ready indicates when the SystemConfiguration has been + reconciled + type: boolean + required: + - ready + type: object + type: object + served: true storage: true subresources: status: {} diff --git a/config/crd/bases/dataworkflowservices.github.io_workflows.yaml b/config/crd/bases/dataworkflowservices.github.io_workflows.yaml index 4ef5cd43..ce4b53b0 100644 --- a/config/crd/bases/dataworkflowservices.github.io_workflows.yaml +++ b/config/crd/bases/dataworkflowservices.github.io_workflows.yaml @@ -729,5 +729,376 @@ spec: type: object type: object served: true + storage: false + subresources: {} + - additionalPrinterColumns: + - description: Current state + jsonPath: .status.state + name: STATE + type: string + - description: True if current state is achieved + jsonPath: .status.ready + name: READY + type: boolean + - description: Indicates achievement of current state + jsonPath: .status.status + name: STATUS + type: string + - description: Job ID + jsonPath: .spec.jobID + name: JOBID + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + - description: Desired state + jsonPath: .spec.desiredState + name: DESIREDSTATE + priority: 1 + type: string + - description: Time of most recent desiredState change + jsonPath: .status.desiredStateChange + name: DESIREDSTATECHANGE + priority: 1 + type: date + - description: Duration of last state change + jsonPath: .status.elapsedTimeLastState + name: ELAPSEDTIMELASTSTATE + priority: 1 + type: string + - description: UID + jsonPath: .spec.userID + name: UID + priority: 1 + type: string + - description: GID + jsonPath: .spec.groupID + name: GID + priority: 1 + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: Workflow is the Schema for the workflows API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: WorkflowSpec defines the desired state of Workflow + properties: + desiredState: + description: |- + Desired state for the workflow to be in. Unless progressing to the teardown state, + this can only be set to the next state when the current desired state has been achieved. + enum: + - Proposal + - Setup + - DataIn + - PreRun + - PostRun + - DataOut + - Teardown + type: string + dwDirectives: + description: 'List of #DW strings from a WLM job script' + items: + type: string + type: array + groupID: + description: |- + GroupID specifies the group ID for the workflow. The Group ID is used by the various states + in the workflow to ensure the group has permissions to perform certain actions. Used in + conjunction with User ID to run subtasks with UserID:GroupID credentials. + format: int32 + type: integer + hurry: + default: false + description: |- + Hurry indicates that the workflow's driver should kill the job in a hurry when this workflow enters its teardown state. + The driver must release all resources and unmount any filesystems that were mounted as part of the workflow, though some drivers would have done this anyway as part of their teardown state. + The driver must also kill any in-progress data transfers, or skip any data transfers that have not yet begun. + type: boolean + jobID: + anyOf: + - type: integer + - type: string + description: |- + JobID is the WLM job ID that corresponds to this workflow, and is + set by the WLM when it creates the workflow resource. + x-kubernetes-int-or-string: true + userID: + description: |- + UserID specifies the user ID for the workflow. The User ID is used by the various states + in the workflow to ensure the user has permissions to perform certain actions. Used in + conjunction with Group ID to run subtasks with UserID:GroupID credentials + format: int32 + type: integer + wlmID: + description: |- + WLMID identifies the Workflow Manager (WLM), and is set by the WLM + when it creates the workflow resource. + type: string + required: + - desiredState + - dwDirectives + - groupID + - jobID + - userID + - wlmID + type: object + status: + description: WorkflowStatus defines the observed state of the Workflow + properties: + computes: + description: Reference to Computes + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + desiredStateChange: + description: Time of the most recent desiredState change + format: date-time + type: string + directiveBreakdowns: + description: |- + List of #DW directive breakdowns indicating to WLM what to allocate on what Server + 1 DirectiveBreakdown per #DW Directive that requires storage + items: + description: |- + ObjectReference contains enough information to let you inspect or modify the referred object. + --- + New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. + 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. + 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular + restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". + Those cannot be well described when embedded. + 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. + 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity + during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple + and the version of the actual struct is irrelevant. + 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type + will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. + + + Instead of using this type, create a locally provided and used type that is well-focused on your reference. + For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . + properties: + apiVersion: + description: API version of the referent. + type: string + fieldPath: + description: |- + If referring to a piece of an object instead of an entire object, this string + should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + For example, if the object reference is to a container within a pod, this would take on a value like: + "spec.containers{name}" (where "name" refers to the name of the container that triggered + the event) or if no container name is specified "spec.containers[2]" (container with + index 2 in this pod). This syntax is chosen only to have some well-defined way of + referencing a part of an object. + TODO: this design is not final and this field is subject to change in the future. + type: string + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + resourceVersion: + description: |- + Specific resourceVersion to which this reference is made, if any. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + type: string + uid: + description: |- + UID of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + type: string + type: object + x-kubernetes-map-type: atomic + type: array + drivers: + description: List of registered drivers and related status. Updated + by drivers. + items: + description: WorkflowDriverStatus defines the status information + provided by integration drivers. + properties: + completeTime: + description: CompleteTime reflects the time that the workflow + reconciler marks the driver complete + format: date-time + type: string + completed: + type: boolean + driverID: + type: string + dwdIndex: + type: integer + error: + description: |- + Driver error string. This is not rolled up into the workflow's + overall status section + type: string + lastHB: + format: int64 + type: integer + message: + description: Message provides additional details on the current + status of the resource + type: string + status: + description: |- + User readable reason. + For the CDS driver, this could be the state of the underlying + data movement request + enum: + - Pending + - Queued + - Running + - Completed + - TransientCondition + - Error + - DriverWait + type: string + taskID: + type: string + watchState: + description: WorkflowState is the enumeration of the state of + the workflow + enum: + - Proposal + - Setup + - DataIn + - PreRun + - PostRun + - DataOut + - Teardown + type: string + required: + - completed + - driverID + - dwdIndex + - lastHB + - taskID + - watchState + type: object + type: array + elapsedTimeLastState: + description: Duration of the last state change + type: string + env: + additionalProperties: + type: string + description: "Set of DW environment variable settings for WLM to apply + to the job.\n\t\t- DW_JOB_STRIPED\n\t\t- DW_JOB_PRIVATE\n\t\t- DW_JOB_STRIPED_CACHE\n\t\t- + DW_JOB_LDBAL_CACHE\n\t\t- DW_PERSISTENT_STRIPED_{resname}" + type: object + message: + description: Message provides additional details on the current status + of the resource + type: string + ready: + description: |- + Ready can be 'True', 'False' + Indicates whether State has been reached. + type: boolean + readyChange: + description: Time of the most recent desiredState's achieving Ready + status + format: date-time + type: string + state: + description: |- + The state the resource is currently transitioning to. + Updated by the controller once started. + enum: + - Proposal + - Setup + - DataIn + - PreRun + - PostRun + - DataOut + - Teardown + type: string + status: + description: |- + User readable reason and status message. + - Completed: The workflow has reached the state in workflow.Status.State. + - DriverWait: The underlying drivers are currently running. + - TransientCondition: A driver has encountered an error that might be recoverable. + - Error: A driver has encountered an error that will not recover. + enum: + - Completed + - DriverWait + - TransientCondition + - Error + type: string + required: + - ready + type: object + type: object + served: true storage: true subresources: {}