diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index 2b90754a..966e5039 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -2608,6 +2608,31 @@ func (in *KafkaConfig) DeepCopy() *KafkaConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyCloakConfig) DeepCopyInto(out *KeyCloakConfig) { + *out = *in + in.SamlConfig.DeepCopyInto(&out.SamlConfig) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyCloakConfig. +func (in *KeyCloakConfig) DeepCopy() *KeyCloakConfig { + if in == nil { + return nil + } + out := new(KeyCloakConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KeyCloakConfig) 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 *KubeAPIService) DeepCopyInto(out *KubeAPIService) { *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 372a6e0f..0d8159ac 100644 --- a/apis/management.cattle.io/v3public/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3public/zz_generated_deepcopy.go @@ -263,6 +263,31 @@ func (in *GithubProvider) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyCloakProvider) DeepCopyInto(out *KeyCloakProvider) { + *out = *in + in.SamlProvider.DeepCopyInto(&out.SamlProvider) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyCloakProvider. +func (in *KeyCloakProvider) DeepCopy() *KeyCloakProvider { + if in == nil { + return nil + } + out := new(KeyCloakProvider) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KeyCloakProvider) 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 *LocalProvider) DeepCopyInto(out *LocalProvider) { *out = *in diff --git a/client/management/v3/zz_generated_key_cloak_config.go b/client/management/v3/zz_generated_key_cloak_config.go new file mode 100644 index 00000000..c8c35c36 --- /dev/null +++ b/client/management/v3/zz_generated_key_cloak_config.go @@ -0,0 +1,48 @@ +package client + +const ( + KeyCloakConfigType = "keyCloakConfig" + KeyCloakConfigFieldAccessMode = "accessMode" + KeyCloakConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds" + KeyCloakConfigFieldAnnotations = "annotations" + KeyCloakConfigFieldCreated = "created" + KeyCloakConfigFieldCreatorID = "creatorId" + KeyCloakConfigFieldDisplayNameField = "displayNameField" + KeyCloakConfigFieldEnabled = "enabled" + KeyCloakConfigFieldGroupsField = "groupsField" + KeyCloakConfigFieldIDPMetadataContent = "idpMetadataContent" + KeyCloakConfigFieldLabels = "labels" + KeyCloakConfigFieldName = "name" + KeyCloakConfigFieldOwnerReferences = "ownerReferences" + KeyCloakConfigFieldRancherAPIHost = "rancherApiHost" + KeyCloakConfigFieldRemoved = "removed" + KeyCloakConfigFieldSpCert = "spCert" + KeyCloakConfigFieldSpKey = "spKey" + KeyCloakConfigFieldType = "type" + KeyCloakConfigFieldUIDField = "uidField" + KeyCloakConfigFieldUUID = "uuid" + KeyCloakConfigFieldUserNameField = "userNameField" +) + +type KeyCloakConfig 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"` + Created string `json:"created,omitempty" yaml:"created,omitempty"` + CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` + DisplayNameField string `json:"displayNameField,omitempty" yaml:"displayNameField,omitempty"` + Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` + GroupsField string `json:"groupsField,omitempty" yaml:"groupsField,omitempty"` + IDPMetadataContent string `json:"idpMetadataContent,omitempty" yaml:"idpMetadataContent,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"` + RancherAPIHost string `json:"rancherApiHost,omitempty" yaml:"rancherApiHost,omitempty"` + Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` + SpCert string `json:"spCert,omitempty" yaml:"spCert,omitempty"` + SpKey string `json:"spKey,omitempty" yaml:"spKey,omitempty"` + Type string `json:"type,omitempty" yaml:"type,omitempty"` + UIDField string `json:"uidField,omitempty" yaml:"uidField,omitempty"` + UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` + UserNameField string `json:"userNameField,omitempty" yaml:"userNameField,omitempty"` +} diff --git a/client/management/v3public/zz_generated_key_cloak_provider.go b/client/management/v3public/zz_generated_key_cloak_provider.go new file mode 100644 index 00000000..e9bd4488 --- /dev/null +++ b/client/management/v3public/zz_generated_key_cloak_provider.go @@ -0,0 +1,28 @@ +package client + +const ( + KeyCloakProviderType = "keyCloakProvider" + KeyCloakProviderFieldAnnotations = "annotations" + KeyCloakProviderFieldCreated = "created" + KeyCloakProviderFieldCreatorID = "creatorId" + KeyCloakProviderFieldLabels = "labels" + KeyCloakProviderFieldName = "name" + KeyCloakProviderFieldOwnerReferences = "ownerReferences" + KeyCloakProviderFieldRedirectURL = "redirectUrl" + KeyCloakProviderFieldRemoved = "removed" + KeyCloakProviderFieldType = "type" + KeyCloakProviderFieldUUID = "uuid" +) + +type KeyCloakProvider 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"` +}