From 9898f6e9aa967559963ddf13e411e665456d1870 Mon Sep 17 00:00:00 2001 From: rajashree Date: Mon, 23 Jul 2018 15:40:10 -0700 Subject: [PATCH] Generated changes - ADFS --- .../v3/zz_generated_deepcopy.go | 25 ++++++++++ .../v3public/zz_generated_deepcopy.go | 25 ++++++++++ .../management/v3/zz_generated_adfs_config.go | 48 +++++++++++++++++++ .../v3public/zz_generated_adfs_provider.go | 28 +++++++++++ 4 files changed, 126 insertions(+) create mode 100644 client/management/v3/zz_generated_adfs_config.go create mode 100644 client/management/v3public/zz_generated_adfs_provider.go diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index 1bad4814..2c2ac169 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -7,6 +7,31 @@ import ( version "k8s.io/apimachinery/pkg/version" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ADFSConfig) DeepCopyInto(out *ADFSConfig) { + *out = *in + in.SamlConfig.DeepCopyInto(&out.SamlConfig) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ADFSConfig. +func (in *ADFSConfig) DeepCopy() *ADFSConfig { + if in == nil { + return nil + } + out := new(ADFSConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ADFSConfig) 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 *AWSCloudProvider) DeepCopyInto(out *AWSCloudProvider) { *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 73f69a94..372a6e0f 100644 --- a/apis/management.cattle.io/v3public/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3public/zz_generated_deepcopy.go @@ -4,6 +4,31 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ADFSProvider) DeepCopyInto(out *ADFSProvider) { + *out = *in + in.SamlProvider.DeepCopyInto(&out.SamlProvider) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ADFSProvider. +func (in *ADFSProvider) DeepCopy() *ADFSProvider { + if in == nil { + return nil + } + out := new(ADFSProvider) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ADFSProvider) 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 *ActiveDirectoryProvider) DeepCopyInto(out *ActiveDirectoryProvider) { *out = *in diff --git a/client/management/v3/zz_generated_adfs_config.go b/client/management/v3/zz_generated_adfs_config.go new file mode 100644 index 00000000..c2824c51 --- /dev/null +++ b/client/management/v3/zz_generated_adfs_config.go @@ -0,0 +1,48 @@ +package client + +const ( + ADFSConfigType = "adfsConfig" + ADFSConfigFieldAccessMode = "accessMode" + ADFSConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds" + ADFSConfigFieldAnnotations = "annotations" + ADFSConfigFieldCreated = "created" + ADFSConfigFieldCreatorID = "creatorId" + ADFSConfigFieldDisplayNameField = "displayNameField" + ADFSConfigFieldEnabled = "enabled" + ADFSConfigFieldGroupsField = "groupsField" + ADFSConfigFieldIDPMetadataContent = "idpMetadataContent" + ADFSConfigFieldLabels = "labels" + ADFSConfigFieldName = "name" + ADFSConfigFieldOwnerReferences = "ownerReferences" + ADFSConfigFieldRancherAPIHost = "rancherApiHost" + ADFSConfigFieldRemoved = "removed" + ADFSConfigFieldSPSelfSignedCert = "spCert" + ADFSConfigFieldSPSelfSignedKey = "spKey" + ADFSConfigFieldType = "type" + ADFSConfigFieldUIDField = "uidField" + ADFSConfigFieldUUID = "uuid" + ADFSConfigFieldUserNameField = "userNameField" +) + +type ADFSConfig 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"` + SPSelfSignedCert string `json:"spCert,omitempty" yaml:"spCert,omitempty"` + SPSelfSignedKey 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_adfs_provider.go b/client/management/v3public/zz_generated_adfs_provider.go new file mode 100644 index 00000000..552a93d0 --- /dev/null +++ b/client/management/v3public/zz_generated_adfs_provider.go @@ -0,0 +1,28 @@ +package client + +const ( + ADFSProviderType = "adfsProvider" + ADFSProviderFieldAnnotations = "annotations" + ADFSProviderFieldCreated = "created" + ADFSProviderFieldCreatorID = "creatorId" + ADFSProviderFieldLabels = "labels" + ADFSProviderFieldName = "name" + ADFSProviderFieldOwnerReferences = "ownerReferences" + ADFSProviderFieldRedirectURL = "redirectUrl" + ADFSProviderFieldRemoved = "removed" + ADFSProviderFieldType = "type" + ADFSProviderFieldUUID = "uuid" +) + +type ADFSProvider 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"` +}