...

Source file src/github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/configcontroller/v1beta1/zz_generated.deepcopy.go

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/configcontroller/v1beta1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2020 Google LLC
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use this file except in compliance with the License.
     8  // You may obtain a copy of the License at
     9  //
    10  //     http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // *** DISCLAIMER ***
    19  // Config Connector's go-client for CRDs is currently in ALPHA, which means
    20  // that future versions of the go-client may include breaking changes.
    21  // Please try it out and give us feedback!
    22  
    23  // Code generated by main. DO NOT EDIT.
    24  
    25  package v1beta1
    26  
    27  import (
    28  	v1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
    29  	runtime "k8s.io/apimachinery/pkg/runtime"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *ConfigControllerInstance) DeepCopyInto(out *ConfigControllerInstance) {
    34  	*out = *in
    35  	out.TypeMeta = in.TypeMeta
    36  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    37  	in.Spec.DeepCopyInto(&out.Spec)
    38  	in.Status.DeepCopyInto(&out.Status)
    39  	return
    40  }
    41  
    42  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstance.
    43  func (in *ConfigControllerInstance) DeepCopy() *ConfigControllerInstance {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(ConfigControllerInstance)
    48  	in.DeepCopyInto(out)
    49  	return out
    50  }
    51  
    52  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    53  func (in *ConfigControllerInstance) DeepCopyObject() runtime.Object {
    54  	if c := in.DeepCopy(); c != nil {
    55  		return c
    56  	}
    57  	return nil
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *ConfigControllerInstanceList) DeepCopyInto(out *ConfigControllerInstanceList) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    65  	if in.Items != nil {
    66  		in, out := &in.Items, &out.Items
    67  		*out = make([]ConfigControllerInstance, len(*in))
    68  		for i := range *in {
    69  			(*in)[i].DeepCopyInto(&(*out)[i])
    70  		}
    71  	}
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstanceList.
    76  func (in *ConfigControllerInstanceList) DeepCopy() *ConfigControllerInstanceList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(ConfigControllerInstanceList)
    81  	in.DeepCopyInto(out)
    82  	return out
    83  }
    84  
    85  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    86  func (in *ConfigControllerInstanceList) DeepCopyObject() runtime.Object {
    87  	if c := in.DeepCopy(); c != nil {
    88  		return c
    89  	}
    90  	return nil
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *ConfigControllerInstanceSpec) DeepCopyInto(out *ConfigControllerInstanceSpec) {
    95  	*out = *in
    96  	in.ManagementConfig.DeepCopyInto(&out.ManagementConfig)
    97  	out.ProjectRef = in.ProjectRef
    98  	if in.ResourceID != nil {
    99  		in, out := &in.ResourceID, &out.ResourceID
   100  		*out = new(string)
   101  		**out = **in
   102  	}
   103  	if in.UsePrivateEndpoint != nil {
   104  		in, out := &in.UsePrivateEndpoint, &out.UsePrivateEndpoint
   105  		*out = new(bool)
   106  		**out = **in
   107  	}
   108  	return
   109  }
   110  
   111  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstanceSpec.
   112  func (in *ConfigControllerInstanceSpec) DeepCopy() *ConfigControllerInstanceSpec {
   113  	if in == nil {
   114  		return nil
   115  	}
   116  	out := new(ConfigControllerInstanceSpec)
   117  	in.DeepCopyInto(out)
   118  	return out
   119  }
   120  
   121  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   122  func (in *ConfigControllerInstanceStatus) DeepCopyInto(out *ConfigControllerInstanceStatus) {
   123  	*out = *in
   124  	if in.Conditions != nil {
   125  		in, out := &in.Conditions, &out.Conditions
   126  		*out = make([]v1alpha1.Condition, len(*in))
   127  		copy(*out, *in)
   128  	}
   129  	if in.GkeResourceLink != nil {
   130  		in, out := &in.GkeResourceLink, &out.GkeResourceLink
   131  		*out = new(string)
   132  		**out = **in
   133  	}
   134  	if in.ObservedGeneration != nil {
   135  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   136  		*out = new(int)
   137  		**out = **in
   138  	}
   139  	if in.State != nil {
   140  		in, out := &in.State, &out.State
   141  		*out = new(string)
   142  		**out = **in
   143  	}
   144  	return
   145  }
   146  
   147  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigControllerInstanceStatus.
   148  func (in *ConfigControllerInstanceStatus) DeepCopy() *ConfigControllerInstanceStatus {
   149  	if in == nil {
   150  		return nil
   151  	}
   152  	out := new(ConfigControllerInstanceStatus)
   153  	in.DeepCopyInto(out)
   154  	return out
   155  }
   156  
   157  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   158  func (in *InstanceFullManagementConfig) DeepCopyInto(out *InstanceFullManagementConfig) {
   159  	*out = *in
   160  	if in.ClusterCidrBlock != nil {
   161  		in, out := &in.ClusterCidrBlock, &out.ClusterCidrBlock
   162  		*out = new(string)
   163  		**out = **in
   164  	}
   165  	if in.ClusterNamedRange != nil {
   166  		in, out := &in.ClusterNamedRange, &out.ClusterNamedRange
   167  		*out = new(string)
   168  		**out = **in
   169  	}
   170  	if in.ManBlock != nil {
   171  		in, out := &in.ManBlock, &out.ManBlock
   172  		*out = new(string)
   173  		**out = **in
   174  	}
   175  	if in.MasterIPv4CidrBlock != nil {
   176  		in, out := &in.MasterIPv4CidrBlock, &out.MasterIPv4CidrBlock
   177  		*out = new(string)
   178  		**out = **in
   179  	}
   180  	if in.NetworkRef != nil {
   181  		in, out := &in.NetworkRef, &out.NetworkRef
   182  		*out = new(v1alpha1.ResourceRef)
   183  		**out = **in
   184  	}
   185  	if in.ServicesCidrBlock != nil {
   186  		in, out := &in.ServicesCidrBlock, &out.ServicesCidrBlock
   187  		*out = new(string)
   188  		**out = **in
   189  	}
   190  	if in.ServicesNamedRange != nil {
   191  		in, out := &in.ServicesNamedRange, &out.ServicesNamedRange
   192  		*out = new(string)
   193  		**out = **in
   194  	}
   195  	return
   196  }
   197  
   198  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceFullManagementConfig.
   199  func (in *InstanceFullManagementConfig) DeepCopy() *InstanceFullManagementConfig {
   200  	if in == nil {
   201  		return nil
   202  	}
   203  	out := new(InstanceFullManagementConfig)
   204  	in.DeepCopyInto(out)
   205  	return out
   206  }
   207  
   208  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   209  func (in *InstanceManagementConfig) DeepCopyInto(out *InstanceManagementConfig) {
   210  	*out = *in
   211  	if in.FullManagementConfig != nil {
   212  		in, out := &in.FullManagementConfig, &out.FullManagementConfig
   213  		*out = new(InstanceFullManagementConfig)
   214  		(*in).DeepCopyInto(*out)
   215  	}
   216  	if in.StandardManagementConfig != nil {
   217  		in, out := &in.StandardManagementConfig, &out.StandardManagementConfig
   218  		*out = new(InstanceStandardManagementConfig)
   219  		(*in).DeepCopyInto(*out)
   220  	}
   221  	return
   222  }
   223  
   224  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceManagementConfig.
   225  func (in *InstanceManagementConfig) DeepCopy() *InstanceManagementConfig {
   226  	if in == nil {
   227  		return nil
   228  	}
   229  	out := new(InstanceManagementConfig)
   230  	in.DeepCopyInto(out)
   231  	return out
   232  }
   233  
   234  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   235  func (in *InstanceStandardManagementConfig) DeepCopyInto(out *InstanceStandardManagementConfig) {
   236  	*out = *in
   237  	if in.ClusterCidrBlock != nil {
   238  		in, out := &in.ClusterCidrBlock, &out.ClusterCidrBlock
   239  		*out = new(string)
   240  		**out = **in
   241  	}
   242  	if in.ClusterNamedRange != nil {
   243  		in, out := &in.ClusterNamedRange, &out.ClusterNamedRange
   244  		*out = new(string)
   245  		**out = **in
   246  	}
   247  	if in.ManBlock != nil {
   248  		in, out := &in.ManBlock, &out.ManBlock
   249  		*out = new(string)
   250  		**out = **in
   251  	}
   252  	if in.NetworkRef != nil {
   253  		in, out := &in.NetworkRef, &out.NetworkRef
   254  		*out = new(v1alpha1.ResourceRef)
   255  		**out = **in
   256  	}
   257  	if in.ServicesCidrBlock != nil {
   258  		in, out := &in.ServicesCidrBlock, &out.ServicesCidrBlock
   259  		*out = new(string)
   260  		**out = **in
   261  	}
   262  	if in.ServicesNamedRange != nil {
   263  		in, out := &in.ServicesNamedRange, &out.ServicesNamedRange
   264  		*out = new(string)
   265  		**out = **in
   266  	}
   267  	return
   268  }
   269  
   270  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStandardManagementConfig.
   271  func (in *InstanceStandardManagementConfig) DeepCopy() *InstanceStandardManagementConfig {
   272  	if in == nil {
   273  		return nil
   274  	}
   275  	out := new(InstanceStandardManagementConfig)
   276  	in.DeepCopyInto(out)
   277  	return out
   278  }
   279  

View as plain text