1
0
mirror of https://github.com/rancher/types.git synced 2025-07-15 22:15:49 +00:00

Generated changes

This commit is contained in:
Dan Ramich 2018-06-11 10:08:25 -07:00 committed by Craig Jellick
parent a6785a56fe
commit 49325930b2
7 changed files with 240 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -0,0 +1,10 @@
package client
const (
AzureADConfigTestOutputType = "azureADConfigTestOutput"
AzureADConfigTestOutputFieldRedirectURL = "redirectUrl"
)
type AzureADConfigTestOutput struct {
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
}

View File

@ -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"`
}

View File

@ -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"`
}