apis/iap/v1alpha1/zz_generated.deepcopy.go (604 lines of code) (raw):
//go:build !ignore_autogenerated
// Copyright 2020 Google LLC
//
// 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 (
computev1beta1 "github.com/GoogleCloudPlatform/k8s-config-connector/apis/compute/v1beta1"
"github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/k8s/v1alpha1"
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 *AccessDeniedPageSettings) DeepCopyInto(out *AccessDeniedPageSettings) {
*out = *in
if in.AccessDeniedPageURI != nil {
in, out := &in.AccessDeniedPageURI, &out.AccessDeniedPageURI
*out = new(string)
**out = **in
}
if in.GenerateTroubleshootingURI != nil {
in, out := &in.GenerateTroubleshootingURI, &out.GenerateTroubleshootingURI
*out = new(bool)
**out = **in
}
if in.RemediationTokenGenerationEnabled != nil {
in, out := &in.RemediationTokenGenerationEnabled, &out.RemediationTokenGenerationEnabled
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessDeniedPageSettings.
func (in *AccessDeniedPageSettings) DeepCopy() *AccessDeniedPageSettings {
if in == nil {
return nil
}
out := new(AccessDeniedPageSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AccessSettings) DeepCopyInto(out *AccessSettings) {
*out = *in
if in.GcipSettings != nil {
in, out := &in.GcipSettings, &out.GcipSettings
*out = new(GcipSettings)
(*in).DeepCopyInto(*out)
}
if in.CorsSettings != nil {
in, out := &in.CorsSettings, &out.CorsSettings
*out = new(CorsSettings)
(*in).DeepCopyInto(*out)
}
if in.OauthSettings != nil {
in, out := &in.OauthSettings, &out.OauthSettings
*out = new(OAuthSettings)
(*in).DeepCopyInto(*out)
}
if in.ReauthSettings != nil {
in, out := &in.ReauthSettings, &out.ReauthSettings
*out = new(ReauthSettings)
(*in).DeepCopyInto(*out)
}
if in.AllowedDomainsSettings != nil {
in, out := &in.AllowedDomainsSettings, &out.AllowedDomainsSettings
*out = new(AllowedDomainsSettings)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessSettings.
func (in *AccessSettings) DeepCopy() *AccessSettings {
if in == nil {
return nil
}
out := new(AccessSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AllowedDomainsSettings) DeepCopyInto(out *AllowedDomainsSettings) {
*out = *in
if in.Enable != nil {
in, out := &in.Enable, &out.Enable
*out = new(bool)
**out = **in
}
if in.Domains != nil {
in, out := &in.Domains, &out.Domains
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedDomainsSettings.
func (in *AllowedDomainsSettings) DeepCopy() *AllowedDomainsSettings {
if in == nil {
return nil
}
out := new(AllowedDomainsSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AppEngineParent) DeepCopyInto(out *AppEngineParent) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
if in.ApplicationRef != nil {
in, out := &in.ApplicationRef, &out.ApplicationRef
*out = new(v1beta1.AppEngineApplicationRef)
**out = **in
}
if in.ServiceRef != nil {
in, out := &in.ServiceRef, &out.ServiceRef
*out = new(v1beta1.AppEngineServiceRef)
**out = **in
}
if in.VersionRef != nil {
in, out := &in.VersionRef, &out.VersionRef
*out = new(v1beta1.AppEngineVersionRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineParent.
func (in *AppEngineParent) DeepCopy() *AppEngineParent {
if in == nil {
return nil
}
out := new(AppEngineParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AppEngineRef) DeepCopyInto(out *AppEngineRef) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
if in.ApplicationRef != nil {
in, out := &in.ApplicationRef, &out.ApplicationRef
*out = new(v1beta1.AppEngineApplicationRef)
**out = **in
}
if in.ServiceRef != nil {
in, out := &in.ServiceRef, &out.ServiceRef
*out = new(v1beta1.AppEngineServiceRef)
**out = **in
}
if in.VersionRef != nil {
in, out := &in.VersionRef, &out.VersionRef
*out = new(v1beta1.AppEngineVersionRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEngineRef.
func (in *AppEngineRef) DeepCopy() *AppEngineRef {
if in == nil {
return nil
}
out := new(AppEngineRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ApplicationSettings) DeepCopyInto(out *ApplicationSettings) {
*out = *in
if in.CsmSettings != nil {
in, out := &in.CsmSettings, &out.CsmSettings
*out = new(CsmSettings)
(*in).DeepCopyInto(*out)
}
if in.AccessDeniedPageSettings != nil {
in, out := &in.AccessDeniedPageSettings, &out.AccessDeniedPageSettings
*out = new(AccessDeniedPageSettings)
(*in).DeepCopyInto(*out)
}
if in.CookieDomain != nil {
in, out := &in.CookieDomain, &out.CookieDomain
*out = new(string)
**out = **in
}
if in.AttributePropagationSettings != nil {
in, out := &in.AttributePropagationSettings, &out.AttributePropagationSettings
*out = new(AttributePropagationSettings)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSettings.
func (in *ApplicationSettings) DeepCopy() *ApplicationSettings {
if in == nil {
return nil
}
out := new(ApplicationSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AttributePropagationSettings) DeepCopyInto(out *AttributePropagationSettings) {
*out = *in
if in.Expression != nil {
in, out := &in.Expression, &out.Expression
*out = new(string)
**out = **in
}
if in.OutputCredentials != nil {
in, out := &in.OutputCredentials, &out.OutputCredentials
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Enable != nil {
in, out := &in.Enable, &out.Enable
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributePropagationSettings.
func (in *AttributePropagationSettings) DeepCopy() *AttributePropagationSettings {
if in == nil {
return nil
}
out := new(AttributePropagationSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeServiceParent) DeepCopyInto(out *ComputeServiceParent) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
if in.Region != nil {
in, out := &in.Region, &out.Region
*out = new(string)
**out = **in
}
if in.ServiceRef != nil {
in, out := &in.ServiceRef, &out.ServiceRef
*out = new(computev1beta1.ComputeBackendServiceRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeServiceParent.
func (in *ComputeServiceParent) DeepCopy() *ComputeServiceParent {
if in == nil {
return nil
}
out := new(ComputeServiceParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeServiceRef) DeepCopyInto(out *ComputeServiceRef) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
if in.Region != nil {
in, out := &in.Region, &out.Region
*out = new(string)
**out = **in
}
if in.ServiceRef != nil {
in, out := &in.ServiceRef, &out.ServiceRef
*out = new(computev1beta1.ComputeBackendServiceRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeServiceRef.
func (in *ComputeServiceRef) DeepCopy() *ComputeServiceRef {
if in == nil {
return nil
}
out := new(ComputeServiceRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CorsSettings) DeepCopyInto(out *CorsSettings) {
*out = *in
if in.AllowHTTPOptions != nil {
in, out := &in.AllowHTTPOptions, &out.AllowHTTPOptions
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsSettings.
func (in *CorsSettings) DeepCopy() *CorsSettings {
if in == nil {
return nil
}
out := new(CorsSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CsmSettings) DeepCopyInto(out *CsmSettings) {
*out = *in
if in.RctokenAud != nil {
in, out := &in.RctokenAud, &out.RctokenAud
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CsmSettings.
func (in *CsmSettings) DeepCopy() *CsmSettings {
if in == nil {
return nil
}
out := new(CsmSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FolderParent) DeepCopyInto(out *FolderParent) {
*out = *in
if in.Ref != nil {
in, out := &in.Ref, &out.Ref
*out = new(v1beta1.FolderRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderParent.
func (in *FolderParent) DeepCopy() *FolderParent {
if in == nil {
return nil
}
out := new(FolderParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GcipSettings) DeepCopyInto(out *GcipSettings) {
*out = *in
if in.TenantIDs != nil {
in, out := &in.TenantIDs, &out.TenantIDs
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.LoginPageURI != nil {
in, out := &in.LoginPageURI, &out.LoginPageURI
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcipSettings.
func (in *GcipSettings) DeepCopy() *GcipSettings {
if in == nil {
return nil
}
out := new(GcipSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IAPSettings) DeepCopyInto(out *IAPSettings) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPSettings.
func (in *IAPSettings) DeepCopy() *IAPSettings {
if in == nil {
return nil
}
out := new(IAPSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *IAPSettings) 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 *IAPSettingsIdentity) DeepCopyInto(out *IAPSettingsIdentity) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPSettingsIdentity.
func (in *IAPSettingsIdentity) DeepCopy() *IAPSettingsIdentity {
if in == nil {
return nil
}
out := new(IAPSettingsIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IAPSettingsList) DeepCopyInto(out *IAPSettingsList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]IAPSettings, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPSettingsList.
func (in *IAPSettingsList) DeepCopy() *IAPSettingsList {
if in == nil {
return nil
}
out := new(IAPSettingsList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *IAPSettingsList) 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 *IAPSettingsRef) DeepCopyInto(out *IAPSettingsRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPSettingsRef.
func (in *IAPSettingsRef) DeepCopy() *IAPSettingsRef {
if in == nil {
return nil
}
out := new(IAPSettingsRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IAPSettingsSpec) DeepCopyInto(out *IAPSettingsSpec) {
*out = *in
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
in.Parent.DeepCopyInto(&out.Parent)
if in.AccessSettings != nil {
in, out := &in.AccessSettings, &out.AccessSettings
*out = new(AccessSettings)
(*in).DeepCopyInto(*out)
}
if in.ApplicationSettings != nil {
in, out := &in.ApplicationSettings, &out.ApplicationSettings
*out = new(ApplicationSettings)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPSettingsSpec.
func (in *IAPSettingsSpec) DeepCopy() *IAPSettingsSpec {
if in == nil {
return nil
}
out := new(IAPSettingsSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IAPSettingsStatus) DeepCopyInto(out *IAPSettingsStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAPSettingsStatus.
func (in *IAPSettingsStatus) DeepCopy() *IAPSettingsStatus {
if in == nil {
return nil
}
out := new(IAPSettingsStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthSettings) DeepCopyInto(out *OAuthSettings) {
*out = *in
if in.LoginHint != nil {
in, out := &in.LoginHint, &out.LoginHint
*out = new(string)
**out = **in
}
if in.ProgrammaticClients != nil {
in, out := &in.ProgrammaticClients, &out.ProgrammaticClients
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthSettings.
func (in *OAuthSettings) DeepCopy() *OAuthSettings {
if in == nil {
return nil
}
out := new(OAuthSettings)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OrganizationParent) DeepCopyInto(out *OrganizationParent) {
*out = *in
if in.Ref != nil {
in, out := &in.Ref, &out.Ref
*out = new(v1beta1.OrganizationRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationParent.
func (in *OrganizationParent) DeepCopy() *OrganizationParent {
if in == nil {
return nil
}
out := new(OrganizationParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Parent) DeepCopyInto(out *Parent) {
*out = *in
if in.OrganizationRef != nil {
in, out := &in.OrganizationRef, &out.OrganizationRef
*out = new(v1beta1.OrganizationRef)
**out = **in
}
if in.FolderRef != nil {
in, out := &in.FolderRef, &out.FolderRef
*out = new(v1beta1.FolderRef)
**out = **in
}
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
if in.ProjectWebRef != nil {
in, out := &in.ProjectWebRef, &out.ProjectWebRef
*out = new(ProjectWebRef)
(*in).DeepCopyInto(*out)
}
if in.ComputeServiceRef != nil {
in, out := &in.ComputeServiceRef, &out.ComputeServiceRef
*out = new(ComputeServiceRef)
(*in).DeepCopyInto(*out)
}
if in.AppEngineRef != nil {
in, out := &in.AppEngineRef, &out.AppEngineRef
*out = new(AppEngineRef)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (in *Parent) DeepCopy() *Parent {
if in == nil {
return nil
}
out := new(Parent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProjectParent) DeepCopyInto(out *ProjectParent) {
*out = *in
if in.Ref != nil {
in, out := &in.Ref, &out.Ref
*out = new(v1beta1.ProjectRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectParent.
func (in *ProjectParent) DeepCopy() *ProjectParent {
if in == nil {
return nil
}
out := new(ProjectParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProjectWebParent) DeepCopyInto(out *ProjectWebParent) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWebParent.
func (in *ProjectWebParent) DeepCopy() *ProjectWebParent {
if in == nil {
return nil
}
out := new(ProjectWebParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ProjectWebRef) DeepCopyInto(out *ProjectWebRef) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectWebRef.
func (in *ProjectWebRef) DeepCopy() *ProjectWebRef {
if in == nil {
return nil
}
out := new(ProjectWebRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ReauthSettings) DeepCopyInto(out *ReauthSettings) {
*out = *in
if in.Method != nil {
in, out := &in.Method, &out.Method
*out = new(string)
**out = **in
}
if in.MaxAge != nil {
in, out := &in.MaxAge, &out.MaxAge
*out = new(string)
**out = **in
}
if in.PolicyType != nil {
in, out := &in.PolicyType, &out.PolicyType
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReauthSettings.
func (in *ReauthSettings) DeepCopy() *ReauthSettings {
if in == nil {
return nil
}
out := new(ReauthSettings)
in.DeepCopyInto(out)
return out
}