mirror of
https://github.com/rancher/types.git
synced 2025-08-31 21:00:16 +00:00
generated code
This commit is contained in:
@@ -23,6 +23,14 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*Action).DeepCopyInto(out.(*Action))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&Action{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ActiveDirectoryConfig).DeepCopyInto(out.(*ActiveDirectoryConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ActiveDirectoryConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ActiveDirectoryTestAndApplyInput).DeepCopyInto(out.(*ActiveDirectoryTestAndApplyInput))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ActiveDirectoryTestAndApplyInput{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AlertCommonSpec).DeepCopyInto(out.(*AlertCommonSpec))
|
||||
return nil
|
||||
@@ -822,6 +830,56 @@ func (in *Action) DeepCopy() *Action {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ActiveDirectoryConfig) DeepCopyInto(out *ActiveDirectoryConfig) {
|
||||
*out = *in
|
||||
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)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryConfig.
|
||||
func (in *ActiveDirectoryConfig) DeepCopy() *ActiveDirectoryConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ActiveDirectoryConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ActiveDirectoryConfig) 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 *ActiveDirectoryTestAndApplyInput) DeepCopyInto(out *ActiveDirectoryTestAndApplyInput) {
|
||||
*out = *in
|
||||
in.ActiveDirectoryConfig.DeepCopyInto(&out.ActiveDirectoryConfig)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryTestAndApplyInput.
|
||||
func (in *ActiveDirectoryTestAndApplyInput) DeepCopy() *ActiveDirectoryTestAndApplyInput {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ActiveDirectoryTestAndApplyInput)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AlertCommonSpec) DeepCopyInto(out *AlertCommonSpec) {
|
||||
*out = *in
|
||||
|
@@ -17,6 +17,10 @@ func init() {
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ActiveDirectoryProvider).DeepCopyInto(out.(*ActiveDirectoryProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ActiveDirectoryProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AuthProvider).DeepCopyInto(out.(*AuthProvider))
|
||||
return nil
|
||||
@@ -25,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.(*BasicLogin).DeepCopyInto(out.(*BasicLogin))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&BasicLogin{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*GenericLogin).DeepCopyInto(out.(*GenericLogin))
|
||||
return nil
|
||||
@@ -37,10 +45,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*GithubProvider).DeepCopyInto(out.(*GithubProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&GithubProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*LocalLogin).DeepCopyInto(out.(*LocalLogin))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&LocalLogin{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*LocalProvider).DeepCopyInto(out.(*LocalProvider))
|
||||
return nil
|
||||
@@ -48,6 +52,34 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ActiveDirectoryProvider) DeepCopyInto(out *ActiveDirectoryProvider) {
|
||||
*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 ActiveDirectoryProvider.
|
||||
func (in *ActiveDirectoryProvider) DeepCopy() *ActiveDirectoryProvider {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ActiveDirectoryProvider)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *ActiveDirectoryProvider) 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 *AuthProvider) DeepCopyInto(out *AuthProvider) {
|
||||
*out = *in
|
||||
@@ -109,6 +141,23 @@ 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 *BasicLogin) DeepCopyInto(out *BasicLogin) {
|
||||
*out = *in
|
||||
out.GenericLogin = in.GenericLogin
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicLogin.
|
||||
func (in *BasicLogin) DeepCopy() *BasicLogin {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(BasicLogin)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *GenericLogin) DeepCopyInto(out *GenericLogin) {
|
||||
*out = *in
|
||||
@@ -170,23 +219,6 @@ func (in *GithubProvider) DeepCopyObject() runtime.Object {
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *LocalLogin) DeepCopyInto(out *LocalLogin) {
|
||||
*out = *in
|
||||
out.GenericLogin = in.GenericLogin
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalLogin.
|
||||
func (in *LocalLogin) DeepCopy() *LocalLogin {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(LocalLogin)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// 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
|
||||
|
76
client/management/v3/zz_generated_active_directory_config.go
Normal file
76
client/management/v3/zz_generated_active_directory_config.go
Normal file
@@ -0,0 +1,76 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ActiveDirectoryConfigType = "activeDirectoryConfig"
|
||||
ActiveDirectoryConfigFieldAccessMode = "accessMode"
|
||||
ActiveDirectoryConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds"
|
||||
ActiveDirectoryConfigFieldAnnotations = "annotations"
|
||||
ActiveDirectoryConfigFieldCertificate = "certificate"
|
||||
ActiveDirectoryConfigFieldConnectionTimeout = "connectionTimeout"
|
||||
ActiveDirectoryConfigFieldCreated = "created"
|
||||
ActiveDirectoryConfigFieldCreatorID = "creatorId"
|
||||
ActiveDirectoryConfigFieldDefaultLoginDomain = "defaultLoginDomain"
|
||||
ActiveDirectoryConfigFieldEnabled = "enabled"
|
||||
ActiveDirectoryConfigFieldGroupDNAttribute = "groupDNAttribute"
|
||||
ActiveDirectoryConfigFieldGroupMemberMappingAttribute = "groupMemberMappingAttribute"
|
||||
ActiveDirectoryConfigFieldGroupMemberUserAttribute = "groupMemberUserAttribute"
|
||||
ActiveDirectoryConfigFieldGroupNameAttribute = "groupNameAttribute"
|
||||
ActiveDirectoryConfigFieldGroupObjectClass = "groupObjectClass"
|
||||
ActiveDirectoryConfigFieldGroupSearchAttribute = "groupSearchAttribute"
|
||||
ActiveDirectoryConfigFieldGroupSearchBase = "groupSearchBase"
|
||||
ActiveDirectoryConfigFieldLabels = "labels"
|
||||
ActiveDirectoryConfigFieldName = "name"
|
||||
ActiveDirectoryConfigFieldOwnerReferences = "ownerReferences"
|
||||
ActiveDirectoryConfigFieldPort = "port"
|
||||
ActiveDirectoryConfigFieldRemoved = "removed"
|
||||
ActiveDirectoryConfigFieldServers = "servers"
|
||||
ActiveDirectoryConfigFieldServiceAccountPassword = "serviceAccountPassword"
|
||||
ActiveDirectoryConfigFieldServiceAccountUsername = "serviceAccountUsername"
|
||||
ActiveDirectoryConfigFieldTLS = "tls"
|
||||
ActiveDirectoryConfigFieldType = "type"
|
||||
ActiveDirectoryConfigFieldUserDisabledBitMask = "userDisabledBitMask"
|
||||
ActiveDirectoryConfigFieldUserEnabledAttribute = "userEnabledAttribute"
|
||||
ActiveDirectoryConfigFieldUserLoginAttribute = "userLoginAttribute"
|
||||
ActiveDirectoryConfigFieldUserNameAttribute = "userNameAttribute"
|
||||
ActiveDirectoryConfigFieldUserObjectClass = "userObjectClass"
|
||||
ActiveDirectoryConfigFieldUserSearchAttribute = "userSearchAttribute"
|
||||
ActiveDirectoryConfigFieldUserSearchBase = "userSearchBase"
|
||||
ActiveDirectoryConfigFieldUuid = "uuid"
|
||||
)
|
||||
|
||||
type ActiveDirectoryConfig struct {
|
||||
AccessMode string `json:"accessMode,omitempty"`
|
||||
AllowedPrincipalIDs []string `json:"allowedPrincipalIds,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Certificate string `json:"certificate,omitempty"`
|
||||
ConnectionTimeout *int64 `json:"connectionTimeout,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
DefaultLoginDomain string `json:"defaultLoginDomain,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
GroupDNAttribute string `json:"groupDNAttribute,omitempty"`
|
||||
GroupMemberMappingAttribute string `json:"groupMemberMappingAttribute,omitempty"`
|
||||
GroupMemberUserAttribute string `json:"groupMemberUserAttribute,omitempty"`
|
||||
GroupNameAttribute string `json:"groupNameAttribute,omitempty"`
|
||||
GroupObjectClass string `json:"groupObjectClass,omitempty"`
|
||||
GroupSearchAttribute string `json:"groupSearchAttribute,omitempty"`
|
||||
GroupSearchBase string `json:"groupSearchBase,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Port *int64 `json:"port,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
Servers []string `json:"servers,omitempty"`
|
||||
ServiceAccountPassword string `json:"serviceAccountPassword,omitempty"`
|
||||
ServiceAccountUsername string `json:"serviceAccountUsername,omitempty"`
|
||||
TLS bool `json:"tls,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
UserDisabledBitMask *int64 `json:"userDisabledBitMask,omitempty"`
|
||||
UserEnabledAttribute string `json:"userEnabledAttribute,omitempty"`
|
||||
UserLoginAttribute string `json:"userLoginAttribute,omitempty"`
|
||||
UserNameAttribute string `json:"userNameAttribute,omitempty"`
|
||||
UserObjectClass string `json:"userObjectClass,omitempty"`
|
||||
UserSearchAttribute string `json:"userSearchAttribute,omitempty"`
|
||||
UserSearchBase string `json:"userSearchBase,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ActiveDirectoryTestAndApplyInputType = "activeDirectoryTestAndApplyInput"
|
||||
ActiveDirectoryTestAndApplyInputFieldActiveDirectoryConfig = "activeDirectoryConfig"
|
||||
ActiveDirectoryTestAndApplyInputFieldEnabled = "enabled"
|
||||
ActiveDirectoryTestAndApplyInputFieldPassword = "password"
|
||||
ActiveDirectoryTestAndApplyInputFieldUsername = "username"
|
||||
)
|
||||
|
||||
type ActiveDirectoryTestAndApplyInput struct {
|
||||
ActiveDirectoryConfig *ActiveDirectoryConfig `json:"activeDirectoryConfig,omitempty"`
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
}
|
@@ -9,7 +9,6 @@ const (
|
||||
PrincipalFieldAnnotations = "annotations"
|
||||
PrincipalFieldCreated = "created"
|
||||
PrincipalFieldCreatorID = "creatorId"
|
||||
PrincipalFieldDisplayName = "displayName"
|
||||
PrincipalFieldExtraInfo = "extraInfo"
|
||||
PrincipalFieldLabels = "labels"
|
||||
PrincipalFieldLoginName = "loginName"
|
||||
@@ -29,7 +28,6 @@ type Principal struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
ExtraInfo map[string]string `json:"extraInfo,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
LoginName string `json:"loginName,omitempty"`
|
||||
|
@@ -0,0 +1,28 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ActiveDirectoryProviderType = "activeDirectoryProvider"
|
||||
ActiveDirectoryProviderFieldAnnotations = "annotations"
|
||||
ActiveDirectoryProviderFieldCreated = "created"
|
||||
ActiveDirectoryProviderFieldCreatorID = "creatorId"
|
||||
ActiveDirectoryProviderFieldDefaultLoginDomain = "defaultLoginDomain"
|
||||
ActiveDirectoryProviderFieldLabels = "labels"
|
||||
ActiveDirectoryProviderFieldName = "name"
|
||||
ActiveDirectoryProviderFieldOwnerReferences = "ownerReferences"
|
||||
ActiveDirectoryProviderFieldRemoved = "removed"
|
||||
ActiveDirectoryProviderFieldType = "type"
|
||||
ActiveDirectoryProviderFieldUuid = "uuid"
|
||||
)
|
||||
|
||||
type ActiveDirectoryProvider struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
DefaultLoginDomain string `json:"defaultLoginDomain,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
18
client/management/v3public/zz_generated_basic_login.go
Normal file
18
client/management/v3public/zz_generated_basic_login.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
BasicLoginType = "basicLogin"
|
||||
BasicLoginFieldDescription = "description"
|
||||
BasicLoginFieldPassword = "password"
|
||||
BasicLoginFieldResponseType = "responseType"
|
||||
BasicLoginFieldTTLMillis = "ttl"
|
||||
BasicLoginFieldUsername = "username"
|
||||
)
|
||||
|
||||
type BasicLogin struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
ResponseType string `json:"responseType,omitempty"`
|
||||
TTLMillis *int64 `json:"ttl,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
LocalLoginType = "localLogin"
|
||||
LocalLoginFieldDescription = "description"
|
||||
LocalLoginFieldPassword = "password"
|
||||
LocalLoginFieldResponseType = "responseType"
|
||||
LocalLoginFieldTTLMillis = "ttl"
|
||||
LocalLoginFieldUsername = "username"
|
||||
)
|
||||
|
||||
type LocalLogin struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
ResponseType string `json:"responseType,omitempty"`
|
||||
TTLMillis *int64 `json:"ttl,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user