1
0
mirror of https://github.com/rancher/types.git synced 2025-07-10 12:03:04 +00:00

run go generate

This commit is contained in:
carolyn 2018-08-14 13:33:49 -07:00 committed by Alena Prokharchyk
parent 36b68eaa57
commit bf4e7bc45d
4 changed files with 126 additions and 0 deletions

View File

@ -2608,6 +2608,31 @@ func (in *KafkaConfig) DeepCopy() *KafkaConfig {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KeyCloakConfig) DeepCopyInto(out *KeyCloakConfig) {
*out = *in
in.SamlConfig.DeepCopyInto(&out.SamlConfig)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyCloakConfig.
func (in *KeyCloakConfig) DeepCopy() *KeyCloakConfig {
if in == nil {
return nil
}
out := new(KeyCloakConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *KeyCloakConfig) 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 *KubeAPIService) DeepCopyInto(out *KubeAPIService) {
*out = *in

View File

@ -263,6 +263,31 @@ func (in *GithubProvider) DeepCopyObject() runtime.Object {
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KeyCloakProvider) DeepCopyInto(out *KeyCloakProvider) {
*out = *in
in.SamlProvider.DeepCopyInto(&out.SamlProvider)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyCloakProvider.
func (in *KeyCloakProvider) DeepCopy() *KeyCloakProvider {
if in == nil {
return nil
}
out := new(KeyCloakProvider)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *KeyCloakProvider) 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 *LocalProvider) DeepCopyInto(out *LocalProvider) {
*out = *in

View File

@ -0,0 +1,48 @@
package client
const (
KeyCloakConfigType = "keyCloakConfig"
KeyCloakConfigFieldAccessMode = "accessMode"
KeyCloakConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds"
KeyCloakConfigFieldAnnotations = "annotations"
KeyCloakConfigFieldCreated = "created"
KeyCloakConfigFieldCreatorID = "creatorId"
KeyCloakConfigFieldDisplayNameField = "displayNameField"
KeyCloakConfigFieldEnabled = "enabled"
KeyCloakConfigFieldGroupsField = "groupsField"
KeyCloakConfigFieldIDPMetadataContent = "idpMetadataContent"
KeyCloakConfigFieldLabels = "labels"
KeyCloakConfigFieldName = "name"
KeyCloakConfigFieldOwnerReferences = "ownerReferences"
KeyCloakConfigFieldRancherAPIHost = "rancherApiHost"
KeyCloakConfigFieldRemoved = "removed"
KeyCloakConfigFieldSpCert = "spCert"
KeyCloakConfigFieldSpKey = "spKey"
KeyCloakConfigFieldType = "type"
KeyCloakConfigFieldUIDField = "uidField"
KeyCloakConfigFieldUUID = "uuid"
KeyCloakConfigFieldUserNameField = "userNameField"
)
type KeyCloakConfig 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"`
SpCert string `json:"spCert,omitempty" yaml:"spCert,omitempty"`
SpKey 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"`
}

View File

@ -0,0 +1,28 @@
package client
const (
KeyCloakProviderType = "keyCloakProvider"
KeyCloakProviderFieldAnnotations = "annotations"
KeyCloakProviderFieldCreated = "created"
KeyCloakProviderFieldCreatorID = "creatorId"
KeyCloakProviderFieldLabels = "labels"
KeyCloakProviderFieldName = "name"
KeyCloakProviderFieldOwnerReferences = "ownerReferences"
KeyCloakProviderFieldRedirectURL = "redirectUrl"
KeyCloakProviderFieldRemoved = "removed"
KeyCloakProviderFieldType = "type"
KeyCloakProviderFieldUUID = "uuid"
)
type KeyCloakProvider 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"`
}