From b0633c41159d436662cd7cd15cea98e65f054ef3 Mon Sep 17 00:00:00 2001 From: carolyn Date: Tue, 15 May 2018 12:57:02 -0700 Subject: [PATCH] run go generate --- .../v3/zz_generated_deepcopy.go | 53 +++++++++++++++++++ .../v3public/zz_generated_deepcopy.go | 32 +++++++++++ .../v3/zz_generated_azure_adconfig.go | 44 +++++++++++++++ ..._generated_azure_adtest_and_apply_input.go | 16 ++++++ .../v3public/zz_generated_azure_adprovider.go | 26 +++++++++ 5 files changed, 171 insertions(+) create mode 100644 client/management/v3/zz_generated_azure_adconfig.go create mode 100644 client/management/v3/zz_generated_azure_adtest_and_apply_input.go create 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 4f5dcf80..f6d911d5 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -76,6 +76,14 @@ 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 @@ -1263,6 +1271,51 @@ 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 3fa35188..58f06deb 100644 --- a/apis/management.cattle.io/v3public/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3public/zz_generated_deepcopy.go @@ -29,6 +29,10 @@ 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 @@ -141,6 +145,34 @@ 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 new file mode 100644 index 00000000..ec91b9ef --- /dev/null +++ b/client/management/v3/zz_generated_azure_adconfig.go @@ -0,0 +1,44 @@ +package client + +const ( + AzureADConfigType = "azureADConfig" + AzureADConfigFieldAccessMode = "accessMode" + AzureADConfigFieldAdminAccountPassword = "adminAccountPassword" + AzureADConfigFieldAdminAccountUsername = "adminAccountUsername" + 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"` + AdminAccountPassword string `json:"adminAccountPassword,omitempty" yaml:"adminAccountPassword,omitempty"` + AdminAccountUsername string `json:"adminAccountUsername,omitempty" yaml:"adminAccountUsername,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 new file mode 100644 index 00000000..34e4db22 --- /dev/null +++ b/client/management/v3/zz_generated_azure_adtest_and_apply_input.go @@ -0,0 +1,16 @@ +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 new file mode 100644 index 00000000..28136c43 --- /dev/null +++ b/client/management/v3public/zz_generated_azure_adprovider.go @@ -0,0 +1,26 @@ +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"` +}