diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index b0f99cd4..eefda03b 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -76,6 +76,18 @@ 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.(*AzureADConfigApplyInput).DeepCopyInto(out.(*AzureADConfigApplyInput)) + return nil + }, InType: reflect.TypeOf(&AzureADConfigApplyInput{})}, + conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { + in.(*AzureADConfigTestOutput).DeepCopyInto(out.(*AzureADConfigTestOutput)) + return nil + }, InType: reflect.TypeOf(&AzureADConfigTestOutput{})}, conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { in.(*AzureCloudProvider).DeepCopyInto(out.(*AzureCloudProvider)) return nil @@ -1303,6 +1315,67 @@ 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 *AzureADConfigApplyInput) DeepCopyInto(out *AzureADConfigApplyInput) { + *out = *in + in.Config.DeepCopyInto(&out.Config) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADConfigApplyInput. +func (in *AzureADConfigApplyInput) DeepCopy() *AzureADConfigApplyInput { + if in == nil { + return nil + } + out := new(AzureADConfigApplyInput) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureADConfigTestOutput) DeepCopyInto(out *AzureADConfigTestOutput) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADConfigTestOutput. +func (in *AzureADConfigTestOutput) DeepCopy() *AzureADConfigTestOutput { + if in == nil { + return nil + } + out := new(AzureADConfigTestOutput) + 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..6dfa1344 100644 --- a/apis/management.cattle.io/v3public/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3public/zz_generated_deepcopy.go @@ -29,6 +29,14 @@ 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.(*AzureADLogin).DeepCopyInto(out.(*AzureADLogin)) + return nil + }, InType: reflect.TypeOf(&AzureADLogin{})}, + 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 +149,51 @@ 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 *AzureADLogin) DeepCopyInto(out *AzureADLogin) { + *out = *in + out.GenericLogin = in.GenericLogin + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureADLogin. +func (in *AzureADLogin) DeepCopy() *AzureADLogin { + if in == nil { + return nil + } + out := new(AzureADLogin) + in.DeepCopyInto(out) + return out +} + +// 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..6f674a7d --- /dev/null +++ b/client/management/v3/zz_generated_azure_adconfig.go @@ -0,0 +1,48 @@ +package client + +const ( + AzureADConfigType = "azureADConfig" + AzureADConfigFieldAccessMode = "accessMode" + AzureADConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds" + AzureADConfigFieldAnnotations = "annotations" + AzureADConfigFieldApplicationID = "applicationId" + AzureADConfigFieldApplicationSecret = "applicationSecret" + AzureADConfigFieldAuthEndpoint = "authEndpoint" + AzureADConfigFieldCreated = "created" + AzureADConfigFieldCreatorID = "creatorId" + AzureADConfigFieldEnabled = "enabled" + AzureADConfigFieldEndpoint = "endpoint" + AzureADConfigFieldGraphEndpoint = "graphEndpoint" + AzureADConfigFieldLabels = "labels" + AzureADConfigFieldName = "name" + AzureADConfigFieldOwnerReferences = "ownerReferences" + AzureADConfigFieldRancherURL = "rancherUrl" + AzureADConfigFieldRemoved = "removed" + AzureADConfigFieldTenantID = "tenantId" + AzureADConfigFieldTokenEndpoint = "tokenEndpoint" + 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"` + ApplicationID string `json:"applicationId,omitempty" yaml:"applicationId,omitempty"` + ApplicationSecret string `json:"applicationSecret,omitempty" yaml:"applicationSecret,omitempty"` + AuthEndpoint string `json:"authEndpoint,omitempty" yaml:"authEndpoint,omitempty"` + Created string `json:"created,omitempty" yaml:"created,omitempty"` + CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` + Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` + Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"` + GraphEndpoint string `json:"graphEndpoint,omitempty" yaml:"graphEndpoint,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"` + RancherURL string `json:"rancherUrl,omitempty" yaml:"rancherUrl,omitempty"` + Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` + TenantID string `json:"tenantId,omitempty" yaml:"tenantId,omitempty"` + TokenEndpoint string `json:"tokenEndpoint,omitempty" yaml:"tokenEndpoint,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_adconfig_apply_input.go b/client/management/v3/zz_generated_azure_adconfig_apply_input.go new file mode 100644 index 00000000..a1e5b392 --- /dev/null +++ b/client/management/v3/zz_generated_azure_adconfig_apply_input.go @@ -0,0 +1,12 @@ +package client + +const ( + AzureADConfigApplyInputType = "azureADConfigApplyInput" + AzureADConfigApplyInputFieldCode = "code" + AzureADConfigApplyInputFieldConfig = "config" +) + +type AzureADConfigApplyInput struct { + Code string `json:"code,omitempty" yaml:"code,omitempty"` + Config *AzureADConfig `json:"config,omitempty" yaml:"config,omitempty"` +} diff --git a/client/management/v3/zz_generated_azure_adconfig_test_output.go b/client/management/v3/zz_generated_azure_adconfig_test_output.go new file mode 100644 index 00000000..4ce98279 --- /dev/null +++ b/client/management/v3/zz_generated_azure_adconfig_test_output.go @@ -0,0 +1,10 @@ +package client + +const ( + AzureADConfigTestOutputType = "azureADConfigTestOutput" + AzureADConfigTestOutputFieldRedirectURL = "redirectUrl" +) + +type AzureADConfigTestOutput struct { + RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"` +} diff --git a/client/management/v3public/zz_generated_azure_adlogin.go b/client/management/v3public/zz_generated_azure_adlogin.go new file mode 100644 index 00000000..bf33f306 --- /dev/null +++ b/client/management/v3public/zz_generated_azure_adlogin.go @@ -0,0 +1,16 @@ +package client + +const ( + AzureADLoginType = "azureADLogin" + AzureADLoginFieldCode = "code" + AzureADLoginFieldDescription = "description" + AzureADLoginFieldResponseType = "responseType" + AzureADLoginFieldTTLMillis = "ttl" +) + +type AzureADLogin struct { + Code string `json:"code,omitempty" yaml:"code,omitempty"` + Description string `json:"description,omitempty" yaml:"description,omitempty"` + ResponseType string `json:"responseType,omitempty" yaml:"responseType,omitempty"` + TTLMillis int64 `json:"ttl,omitempty" yaml:"ttl,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..8e0bb9e2 --- /dev/null +++ b/client/management/v3public/zz_generated_azure_adprovider.go @@ -0,0 +1,28 @@ +package client + +const ( + AzureADProviderType = "azureADProvider" + AzureADProviderFieldAnnotations = "annotations" + AzureADProviderFieldCreated = "created" + AzureADProviderFieldCreatorID = "creatorId" + AzureADProviderFieldLabels = "labels" + AzureADProviderFieldName = "name" + AzureADProviderFieldOwnerReferences = "ownerReferences" + AzureADProviderFieldRedirectURL = "redirectUrl" + 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"` + RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,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"` +}