mirror of
https://github.com/rancher/types.git
synced 2025-06-27 14:06:49 +00:00
run go generate
This commit is contained in:
parent
398db1812c
commit
b0633c4115
@ -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
|
||||
|
@ -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
|
||||
|
44
client/management/v3/zz_generated_azure_adconfig.go
Normal file
44
client/management/v3/zz_generated_azure_adconfig.go
Normal file
@ -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"`
|
||||
}
|
@ -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"`
|
||||
}
|
26
client/management/v3public/zz_generated_azure_adprovider.go
Normal file
26
client/management/v3public/zz_generated_azure_adprovider.go
Normal file
@ -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"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user