From df51619c3e1229f2ae1ccc00a46907a5b61dc879 Mon Sep 17 00:00:00 2001 From: carolyn Date: Fri, 18 May 2018 10:39:24 -0700 Subject: [PATCH] run go generate --- .../v3/zz_generated_deepcopy.go | 53 ------------------- .../v3public/zz_generated_deepcopy.go | 32 ----------- .../v3/zz_generated_azure_adconfig.go | 40 -------------- ..._generated_azure_adtest_and_apply_input.go | 16 ------ .../v3public/zz_generated_azure_adprovider.go | 26 --------- 5 files changed, 167 deletions(-) delete mode 100644 client/management/v3/zz_generated_azure_adconfig.go delete mode 100644 client/management/v3/zz_generated_azure_adtest_and_apply_input.go delete mode 100644 client/management/v3public/zz_generated_azure_adprovider.go diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index 003a4e46..5da283f5 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -76,14 +76,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { in.(*AuthzConfig).DeepCopyInto(out.(*AuthzConfig)) return nil }, InType: reflect.TypeOf(&AuthzConfig{})}, - conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { - in.(*AzureADConfig).DeepCopyInto(out.(*AzureADConfig)) - return nil - }, InType: reflect.TypeOf(&AzureADConfig{})}, - conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { - in.(*AzureADTestAndApplyInput).DeepCopyInto(out.(*AzureADTestAndApplyInput)) - return nil - }, InType: reflect.TypeOf(&AzureADTestAndApplyInput{})}, conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { in.(*AzureCloudProvider).DeepCopyInto(out.(*AzureCloudProvider)) return nil @@ -1271,51 +1263,6 @@ func (in *AuthzConfig) DeepCopy() *AuthzConfig { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AzureADConfig) DeepCopyInto(out *AzureADConfig) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.AuthConfig.DeepCopyInto(&out.AuthConfig) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADConfig. -func (in *AzureADConfig) DeepCopy() *AzureADConfig { - if in == nil { - return nil - } - out := new(AzureADConfig) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AzureADConfig) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } else { - return nil - } -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AzureADTestAndApplyInput) DeepCopyInto(out *AzureADTestAndApplyInput) { - *out = *in - in.AzureADConfig.DeepCopyInto(&out.AzureADConfig) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADTestAndApplyInput. -func (in *AzureADTestAndApplyInput) DeepCopy() *AzureADTestAndApplyInput { - if in == nil { - return nil - } - out := new(AzureADTestAndApplyInput) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AzureCloudProvider) DeepCopyInto(out *AzureCloudProvider) { *out = *in diff --git a/apis/management.cattle.io/v3public/zz_generated_deepcopy.go b/apis/management.cattle.io/v3public/zz_generated_deepcopy.go index 58f06deb..3fa35188 100644 --- a/apis/management.cattle.io/v3public/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3public/zz_generated_deepcopy.go @@ -29,10 +29,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { in.(*AuthProviderList).DeepCopyInto(out.(*AuthProviderList)) return nil }, InType: reflect.TypeOf(&AuthProviderList{})}, - conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { - in.(*AzureADProvider).DeepCopyInto(out.(*AzureADProvider)) - return nil - }, InType: reflect.TypeOf(&AzureADProvider{})}, conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { in.(*BasicLogin).DeepCopyInto(out.(*BasicLogin)) return nil @@ -145,34 +141,6 @@ func (in *AuthProviderList) DeepCopyObject() runtime.Object { } } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AzureADProvider) DeepCopyInto(out *AzureADProvider) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.AuthProvider.DeepCopyInto(&out.AuthProvider) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADProvider. -func (in *AzureADProvider) DeepCopy() *AzureADProvider { - if in == nil { - return nil - } - out := new(AzureADProvider) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AzureADProvider) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } else { - return nil - } -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BasicLogin) DeepCopyInto(out *BasicLogin) { *out = *in diff --git a/client/management/v3/zz_generated_azure_adconfig.go b/client/management/v3/zz_generated_azure_adconfig.go deleted file mode 100644 index b7edbafc..00000000 --- a/client/management/v3/zz_generated_azure_adconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package client - -const ( - AzureADConfigType = "azureADConfig" - AzureADConfigFieldAccessMode = "accessMode" - AzureADConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds" - AzureADConfigFieldAnnotations = "annotations" - AzureADConfigFieldClientID = "clientId" - AzureADConfigFieldClientSecret = "clientSecret" - AzureADConfigFieldCreated = "created" - AzureADConfigFieldCreatorID = "creatorId" - AzureADConfigFieldDomain = "domain" - AzureADConfigFieldEnabled = "enabled" - AzureADConfigFieldLabels = "labels" - AzureADConfigFieldName = "name" - AzureADConfigFieldOwnerReferences = "ownerReferences" - AzureADConfigFieldRemoved = "removed" - AzureADConfigFieldTenantID = "tenantId" - AzureADConfigFieldType = "type" - AzureADConfigFieldUuid = "uuid" -) - -type AzureADConfig struct { - AccessMode string `json:"accessMode,omitempty" yaml:"accessMode,omitempty"` - AllowedPrincipalIDs []string `json:"allowedPrincipalIds,omitempty" yaml:"allowedPrincipalIds,omitempty"` - Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` - ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"` - ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"` - Created string `json:"created,omitempty" yaml:"created,omitempty"` - CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` - Domain string `json:"domain,omitempty" yaml:"domain,omitempty"` - Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - Name string `json:"name,omitempty" yaml:"name,omitempty"` - OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` - TenantID string `json:"tenantId,omitempty" yaml:"tenantId,omitempty"` - Type string `json:"type,omitempty" yaml:"type,omitempty"` - Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` -} diff --git a/client/management/v3/zz_generated_azure_adtest_and_apply_input.go b/client/management/v3/zz_generated_azure_adtest_and_apply_input.go deleted file mode 100644 index 34e4db22..00000000 --- a/client/management/v3/zz_generated_azure_adtest_and_apply_input.go +++ /dev/null @@ -1,16 +0,0 @@ -package client - -const ( - AzureADTestAndApplyInputType = "azureADTestAndApplyInput" - AzureADTestAndApplyInputFieldAzureADConfig = "azureAdConfig" - AzureADTestAndApplyInputFieldEnabled = "enabled" - AzureADTestAndApplyInputFieldPassword = "password" - AzureADTestAndApplyInputFieldUsername = "username" -) - -type AzureADTestAndApplyInput struct { - AzureADConfig *AzureADConfig `json:"azureAdConfig,omitempty" yaml:"azureAdConfig,omitempty"` - Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` - Password string `json:"password,omitempty" yaml:"password,omitempty"` - Username string `json:"username,omitempty" yaml:"username,omitempty"` -} diff --git a/client/management/v3public/zz_generated_azure_adprovider.go b/client/management/v3public/zz_generated_azure_adprovider.go deleted file mode 100644 index 28136c43..00000000 --- a/client/management/v3public/zz_generated_azure_adprovider.go +++ /dev/null @@ -1,26 +0,0 @@ -package client - -const ( - AzureADProviderType = "azureADProvider" - AzureADProviderFieldAnnotations = "annotations" - AzureADProviderFieldCreated = "created" - AzureADProviderFieldCreatorID = "creatorId" - AzureADProviderFieldLabels = "labels" - AzureADProviderFieldName = "name" - AzureADProviderFieldOwnerReferences = "ownerReferences" - AzureADProviderFieldRemoved = "removed" - AzureADProviderFieldType = "type" - AzureADProviderFieldUuid = "uuid" -) - -type AzureADProvider struct { - Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` - Created string `json:"created,omitempty" yaml:"created,omitempty"` - CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` - Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` - Name string `json:"name,omitempty" yaml:"name,omitempty"` - OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"` - Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` - Type string `json:"type,omitempty" yaml:"type,omitempty"` - Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"` -}