444 lines
12 KiB
Go
444 lines
12 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2021.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
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 *KeycloakClient) DeepCopyInto(out *KeycloakClient) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakClient.
|
|
func (in *KeycloakClient) DeepCopy() *KeycloakClient {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakClient)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KeycloakClient) 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 *KeycloakClientList) DeepCopyInto(out *KeycloakClientList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KeycloakClient, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakClientList.
|
|
func (in *KeycloakClientList) DeepCopy() *KeycloakClientList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakClientList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KeycloakClientList) 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 *KeycloakClientSecret) DeepCopyInto(out *KeycloakClientSecret) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakClientSecret.
|
|
func (in *KeycloakClientSecret) DeepCopy() *KeycloakClientSecret {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakClientSecret)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeycloakClientSpec) DeepCopyInto(out *KeycloakClientSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Name != nil {
|
|
in, out := &in.Name, &out.Name
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Description != nil {
|
|
in, out := &in.Description, &out.Description
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Protocol != nil {
|
|
in, out := &in.Protocol, &out.Protocol
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ClientAuthenticatorType != nil {
|
|
in, out := &in.ClientAuthenticatorType, &out.ClientAuthenticatorType
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DirectAccessGrantsEnabled != nil {
|
|
in, out := &in.DirectAccessGrantsEnabled, &out.DirectAccessGrantsEnabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.PublicClient != nil {
|
|
in, out := &in.PublicClient, &out.PublicClient
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ImplicitFlowEnabled != nil {
|
|
in, out := &in.ImplicitFlowEnabled, &out.ImplicitFlowEnabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.StandardFlowEnabled != nil {
|
|
in, out := &in.StandardFlowEnabled, &out.StandardFlowEnabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ServiceAccountsEnabled != nil {
|
|
in, out := &in.ServiceAccountsEnabled, &out.ServiceAccountsEnabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RegistrationAccessToken != nil {
|
|
in, out := &in.RegistrationAccessToken, &out.RegistrationAccessToken
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SurrogateAuthRequired != nil {
|
|
in, out := &in.SurrogateAuthRequired, &out.SurrogateAuthRequired
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.BearerOnly != nil {
|
|
in, out := &in.BearerOnly, &out.BearerOnly
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ConsentRequired != nil {
|
|
in, out := &in.ConsentRequired, &out.ConsentRequired
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DefaultClientScopes != nil {
|
|
in, out := &in.DefaultClientScopes, &out.DefaultClientScopes
|
|
*out = new([]string)
|
|
if **in != nil {
|
|
in, out := *in, *out
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
if in.OptionalClientScopes != nil {
|
|
in, out := &in.OptionalClientScopes, &out.OptionalClientScopes
|
|
*out = new([]string)
|
|
if **in != nil {
|
|
in, out := *in, *out
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
if in.BaseURL != nil {
|
|
in, out := &in.BaseURL, &out.BaseURL
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.RootURL != nil {
|
|
in, out := &in.RootURL, &out.RootURL
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AdminURL != nil {
|
|
in, out := &in.AdminURL, &out.AdminURL
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.RedirectURIs != nil {
|
|
in, out := &in.RedirectURIs, &out.RedirectURIs
|
|
*out = new([]string)
|
|
if **in != nil {
|
|
in, out := *in, *out
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
if in.WebOrigins != nil {
|
|
in, out := &in.WebOrigins, &out.WebOrigins
|
|
*out = new([]string)
|
|
if **in != nil {
|
|
in, out := *in, *out
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(KeycloakClientSecret)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakClientSpec.
|
|
func (in *KeycloakClientSpec) DeepCopy() *KeycloakClientSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakClientSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeycloakClientStatus) DeepCopyInto(out *KeycloakClientStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakClientStatus.
|
|
func (in *KeycloakClientStatus) DeepCopy() *KeycloakClientStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakClientStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeycloakRealm) DeepCopyInto(out *KeycloakRealm) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakRealm.
|
|
func (in *KeycloakRealm) DeepCopy() *KeycloakRealm {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakRealm)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KeycloakRealm) 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 *KeycloakRealmList) DeepCopyInto(out *KeycloakRealmList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KeycloakRealm, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakRealmList.
|
|
func (in *KeycloakRealmList) DeepCopy() *KeycloakRealmList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakRealmList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KeycloakRealmList) 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 *KeycloakRealmSMTP) DeepCopyInto(out *KeycloakRealmSMTP) {
|
|
*out = *in
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(KeycloakRealmSMTPSecret)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakRealmSMTP.
|
|
func (in *KeycloakRealmSMTP) DeepCopy() *KeycloakRealmSMTP {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakRealmSMTP)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeycloakRealmSMTPSecret) DeepCopyInto(out *KeycloakRealmSMTPSecret) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakRealmSMTPSecret.
|
|
func (in *KeycloakRealmSMTPSecret) DeepCopy() *KeycloakRealmSMTPSecret {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakRealmSMTPSecret)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeycloakRealmSpec) DeepCopyInto(out *KeycloakRealmSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SMTP != nil {
|
|
in, out := &in.SMTP, &out.SMTP
|
|
*out = new(KeycloakRealmSMTP)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DisplayName != nil {
|
|
in, out := &in.DisplayName, &out.DisplayName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DisplayNameHTML != nil {
|
|
in, out := &in.DisplayNameHTML, &out.DisplayNameHTML
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LoginTheme != nil {
|
|
in, out := &in.LoginTheme, &out.LoginTheme
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LoginWithEmailAllowed != nil {
|
|
in, out := &in.LoginWithEmailAllowed, &out.LoginWithEmailAllowed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RegistrationAllowed != nil {
|
|
in, out := &in.RegistrationAllowed, &out.RegistrationAllowed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EditUsernameAllowed != nil {
|
|
in, out := &in.EditUsernameAllowed, &out.EditUsernameAllowed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RegistrationEmailAsUsername != nil {
|
|
in, out := &in.RegistrationEmailAsUsername, &out.RegistrationEmailAsUsername
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ResetPasswordAllowed != nil {
|
|
in, out := &in.ResetPasswordAllowed, &out.ResetPasswordAllowed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DuplicateEmailsAllowed != nil {
|
|
in, out := &in.DuplicateEmailsAllowed, &out.DuplicateEmailsAllowed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.VerifyEmail != nil {
|
|
in, out := &in.VerifyEmail, &out.VerifyEmail
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RememberMe != nil {
|
|
in, out := &in.RememberMe, &out.RememberMe
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakRealmSpec.
|
|
func (in *KeycloakRealmSpec) DeepCopy() *KeycloakRealmSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakRealmSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeycloakRealmStatus) DeepCopyInto(out *KeycloakRealmStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeycloakRealmStatus.
|
|
func (in *KeycloakRealmStatus) DeepCopy() *KeycloakRealmStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeycloakRealmStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|