mirror of
https://github.com/rancher/types.git
synced 2025-08-29 09:02:45 +00:00
generated
This commit is contained in:
parent
129b55dbaf
commit
7fab5f1d80
@ -4717,11 +4717,7 @@ func (in *LdapConfig) DeepCopyInto(out *LdapConfig) {
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.AuthConfig.DeepCopyInto(&out.AuthConfig)
|
||||
if in.Servers != nil {
|
||||
in, out := &in.Servers, &out.Servers
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
in.LdapFields.DeepCopyInto(&out.LdapFields)
|
||||
return
|
||||
}
|
||||
|
||||
@ -4776,6 +4772,27 @@ func (in *LdapConfigList) DeepCopyObject() runtime.Object {
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *LdapFields) DeepCopyInto(out *LdapFields) {
|
||||
*out = *in
|
||||
if in.Servers != nil {
|
||||
in, out := &in.Servers, &out.Servers
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LdapFields.
|
||||
func (in *LdapFields) DeepCopy() *LdapFields {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(LdapFields)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *LdapTestAndApplyInput) DeepCopyInto(out *LdapTestAndApplyInput) {
|
||||
*out = *in
|
||||
@ -8979,6 +8996,32 @@ func (in *SettingList) DeepCopyObject() runtime.Object {
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ShibbolethConfig) DeepCopyInto(out *ShibbolethConfig) {
|
||||
*out = *in
|
||||
in.SamlConfig.DeepCopyInto(&out.SamlConfig)
|
||||
in.LdapFields.DeepCopyInto(&out.LdapFields)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShibbolethConfig.
|
||||
func (in *ShibbolethConfig) DeepCopy() *ShibbolethConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ShibbolethConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ShibbolethConfig) 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 *SlackConfig) DeepCopyInto(out *SlackConfig) {
|
||||
*out = *in
|
||||
|
@ -494,3 +494,28 @@ func (in *SamlProvider) DeepCopyObject() runtime.Object {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ShibbolethProvider) DeepCopyInto(out *ShibbolethProvider) {
|
||||
*out = *in
|
||||
in.SamlProvider.DeepCopyInto(&out.SamlProvider)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShibbolethProvider.
|
||||
func (in *ShibbolethProvider) DeepCopy() *ShibbolethProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ShibbolethProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ShibbolethProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
98
client/management/v3/zz_generated_shibboleth_config.go
Normal file
98
client/management/v3/zz_generated_shibboleth_config.go
Normal file
@ -0,0 +1,98 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ShibbolethConfigType = "shibbolethConfig"
|
||||
ShibbolethConfigFieldAccessMode = "accessMode"
|
||||
ShibbolethConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds"
|
||||
ShibbolethConfigFieldAnnotations = "annotations"
|
||||
ShibbolethConfigFieldCertificate = "certificate"
|
||||
ShibbolethConfigFieldConnectionTimeout = "connectionTimeout"
|
||||
ShibbolethConfigFieldCreated = "created"
|
||||
ShibbolethConfigFieldCreatorID = "creatorId"
|
||||
ShibbolethConfigFieldDisplayNameField = "displayNameField"
|
||||
ShibbolethConfigFieldEnabled = "enabled"
|
||||
ShibbolethConfigFieldGroupDNAttribute = "groupDNAttribute"
|
||||
ShibbolethConfigFieldGroupMemberMappingAttribute = "groupMemberMappingAttribute"
|
||||
ShibbolethConfigFieldGroupMemberUserAttribute = "groupMemberUserAttribute"
|
||||
ShibbolethConfigFieldGroupNameAttribute = "groupNameAttribute"
|
||||
ShibbolethConfigFieldGroupObjectClass = "groupObjectClass"
|
||||
ShibbolethConfigFieldGroupSearchAttribute = "groupSearchAttribute"
|
||||
ShibbolethConfigFieldGroupSearchBase = "groupSearchBase"
|
||||
ShibbolethConfigFieldGroupSearchFilter = "groupSearchFilter"
|
||||
ShibbolethConfigFieldGroupsField = "groupsField"
|
||||
ShibbolethConfigFieldIDPMetadataContent = "idpMetadataContent"
|
||||
ShibbolethConfigFieldLabels = "labels"
|
||||
ShibbolethConfigFieldName = "name"
|
||||
ShibbolethConfigFieldNestedGroupMembershipEnabled = "nestedGroupMembershipEnabled"
|
||||
ShibbolethConfigFieldOwnerReferences = "ownerReferences"
|
||||
ShibbolethConfigFieldPort = "port"
|
||||
ShibbolethConfigFieldRancherAPIHost = "rancherApiHost"
|
||||
ShibbolethConfigFieldRemoved = "removed"
|
||||
ShibbolethConfigFieldServers = "servers"
|
||||
ShibbolethConfigFieldServiceAccountDistinguishedName = "serviceAccountDistinguishedName"
|
||||
ShibbolethConfigFieldServiceAccountPassword = "serviceAccountPassword"
|
||||
ShibbolethConfigFieldSpCert = "spCert"
|
||||
ShibbolethConfigFieldSpKey = "spKey"
|
||||
ShibbolethConfigFieldTLS = "tls"
|
||||
ShibbolethConfigFieldType = "type"
|
||||
ShibbolethConfigFieldUIDField = "uidField"
|
||||
ShibbolethConfigFieldUUID = "uuid"
|
||||
ShibbolethConfigFieldUserDisabledBitMask = "userDisabledBitMask"
|
||||
ShibbolethConfigFieldUserEnabledAttribute = "userEnabledAttribute"
|
||||
ShibbolethConfigFieldUserLoginAttribute = "userLoginAttribute"
|
||||
ShibbolethConfigFieldUserMemberAttribute = "userMemberAttribute"
|
||||
ShibbolethConfigFieldUserNameAttribute = "userNameAttribute"
|
||||
ShibbolethConfigFieldUserNameField = "userNameField"
|
||||
ShibbolethConfigFieldUserObjectClass = "userObjectClass"
|
||||
ShibbolethConfigFieldUserSearchAttribute = "userSearchAttribute"
|
||||
ShibbolethConfigFieldUserSearchBase = "userSearchBase"
|
||||
ShibbolethConfigFieldUserSearchFilter = "userSearchFilter"
|
||||
)
|
||||
|
||||
type ShibbolethConfig 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"`
|
||||
Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"`
|
||||
ConnectionTimeout int64 `json:"connectionTimeout,omitempty" yaml:"connectionTimeout,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"`
|
||||
GroupDNAttribute string `json:"groupDNAttribute,omitempty" yaml:"groupDNAttribute,omitempty"`
|
||||
GroupMemberMappingAttribute string `json:"groupMemberMappingAttribute,omitempty" yaml:"groupMemberMappingAttribute,omitempty"`
|
||||
GroupMemberUserAttribute string `json:"groupMemberUserAttribute,omitempty" yaml:"groupMemberUserAttribute,omitempty"`
|
||||
GroupNameAttribute string `json:"groupNameAttribute,omitempty" yaml:"groupNameAttribute,omitempty"`
|
||||
GroupObjectClass string `json:"groupObjectClass,omitempty" yaml:"groupObjectClass,omitempty"`
|
||||
GroupSearchAttribute string `json:"groupSearchAttribute,omitempty" yaml:"groupSearchAttribute,omitempty"`
|
||||
GroupSearchBase string `json:"groupSearchBase,omitempty" yaml:"groupSearchBase,omitempty"`
|
||||
GroupSearchFilter string `json:"groupSearchFilter,omitempty" yaml:"groupSearchFilter,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"`
|
||||
NestedGroupMembershipEnabled bool `json:"nestedGroupMembershipEnabled,omitempty" yaml:"nestedGroupMembershipEnabled,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
RancherAPIHost string `json:"rancherApiHost,omitempty" yaml:"rancherApiHost,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
Servers []string `json:"servers,omitempty" yaml:"servers,omitempty"`
|
||||
ServiceAccountDistinguishedName string `json:"serviceAccountDistinguishedName,omitempty" yaml:"serviceAccountDistinguishedName,omitempty"`
|
||||
ServiceAccountPassword string `json:"serviceAccountPassword,omitempty" yaml:"serviceAccountPassword,omitempty"`
|
||||
SpCert string `json:"spCert,omitempty" yaml:"spCert,omitempty"`
|
||||
SpKey string `json:"spKey,omitempty" yaml:"spKey,omitempty"`
|
||||
TLS bool `json:"tls,omitempty" yaml:"tls,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"`
|
||||
UserDisabledBitMask int64 `json:"userDisabledBitMask,omitempty" yaml:"userDisabledBitMask,omitempty"`
|
||||
UserEnabledAttribute string `json:"userEnabledAttribute,omitempty" yaml:"userEnabledAttribute,omitempty"`
|
||||
UserLoginAttribute string `json:"userLoginAttribute,omitempty" yaml:"userLoginAttribute,omitempty"`
|
||||
UserMemberAttribute string `json:"userMemberAttribute,omitempty" yaml:"userMemberAttribute,omitempty"`
|
||||
UserNameAttribute string `json:"userNameAttribute,omitempty" yaml:"userNameAttribute,omitempty"`
|
||||
UserNameField string `json:"userNameField,omitempty" yaml:"userNameField,omitempty"`
|
||||
UserObjectClass string `json:"userObjectClass,omitempty" yaml:"userObjectClass,omitempty"`
|
||||
UserSearchAttribute string `json:"userSearchAttribute,omitempty" yaml:"userSearchAttribute,omitempty"`
|
||||
UserSearchBase string `json:"userSearchBase,omitempty" yaml:"userSearchBase,omitempty"`
|
||||
UserSearchFilter string `json:"userSearchFilter,omitempty" yaml:"userSearchFilter,omitempty"`
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ShibbolethProviderType = "shibbolethProvider"
|
||||
ShibbolethProviderFieldAnnotations = "annotations"
|
||||
ShibbolethProviderFieldCreated = "created"
|
||||
ShibbolethProviderFieldCreatorID = "creatorId"
|
||||
ShibbolethProviderFieldLabels = "labels"
|
||||
ShibbolethProviderFieldName = "name"
|
||||
ShibbolethProviderFieldOwnerReferences = "ownerReferences"
|
||||
ShibbolethProviderFieldRedirectURL = "redirectUrl"
|
||||
ShibbolethProviderFieldRemoved = "removed"
|
||||
ShibbolethProviderFieldType = "type"
|
||||
ShibbolethProviderFieldUUID = "uuid"
|
||||
)
|
||||
|
||||
type ShibbolethProvider 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"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user