...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/vpcaccess/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 *ConnectorSubnet) DeepCopyInto(out *ConnectorSubnet) {
    34  	*out = *in
    35  	if in.NameRef != nil {
    36  		in, out := &in.NameRef, &out.NameRef
    37  		*out = new(v1alpha1.ResourceRef)
    38  		**out = **in
    39  	}
    40  	if in.ProjectRef != nil {
    41  		in, out := &in.ProjectRef, &out.ProjectRef
    42  		*out = new(v1alpha1.ResourceRef)
    43  		**out = **in
    44  	}
    45  	return
    46  }
    47  
    48  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorSubnet.
    49  func (in *ConnectorSubnet) DeepCopy() *ConnectorSubnet {
    50  	if in == nil {
    51  		return nil
    52  	}
    53  	out := new(ConnectorSubnet)
    54  	in.DeepCopyInto(out)
    55  	return out
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *VPCAccessConnector) DeepCopyInto(out *VPCAccessConnector) {
    60  	*out = *in
    61  	out.TypeMeta = in.TypeMeta
    62  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    63  	in.Spec.DeepCopyInto(&out.Spec)
    64  	in.Status.DeepCopyInto(&out.Status)
    65  	return
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCAccessConnector.
    69  func (in *VPCAccessConnector) DeepCopy() *VPCAccessConnector {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(VPCAccessConnector)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    79  func (in *VPCAccessConnector) DeepCopyObject() runtime.Object {
    80  	if c := in.DeepCopy(); c != nil {
    81  		return c
    82  	}
    83  	return nil
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in *VPCAccessConnectorList) DeepCopyInto(out *VPCAccessConnectorList) {
    88  	*out = *in
    89  	out.TypeMeta = in.TypeMeta
    90  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    91  	if in.Items != nil {
    92  		in, out := &in.Items, &out.Items
    93  		*out = make([]VPCAccessConnector, len(*in))
    94  		for i := range *in {
    95  			(*in)[i].DeepCopyInto(&(*out)[i])
    96  		}
    97  	}
    98  	return
    99  }
   100  
   101  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCAccessConnectorList.
   102  func (in *VPCAccessConnectorList) DeepCopy() *VPCAccessConnectorList {
   103  	if in == nil {
   104  		return nil
   105  	}
   106  	out := new(VPCAccessConnectorList)
   107  	in.DeepCopyInto(out)
   108  	return out
   109  }
   110  
   111  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   112  func (in *VPCAccessConnectorList) DeepCopyObject() runtime.Object {
   113  	if c := in.DeepCopy(); c != nil {
   114  		return c
   115  	}
   116  	return nil
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *VPCAccessConnectorSpec) DeepCopyInto(out *VPCAccessConnectorSpec) {
   121  	*out = *in
   122  	if in.IpCidrRange != nil {
   123  		in, out := &in.IpCidrRange, &out.IpCidrRange
   124  		*out = new(string)
   125  		**out = **in
   126  	}
   127  	if in.MachineType != nil {
   128  		in, out := &in.MachineType, &out.MachineType
   129  		*out = new(string)
   130  		**out = **in
   131  	}
   132  	if in.MaxInstances != nil {
   133  		in, out := &in.MaxInstances, &out.MaxInstances
   134  		*out = new(int)
   135  		**out = **in
   136  	}
   137  	if in.MaxThroughput != nil {
   138  		in, out := &in.MaxThroughput, &out.MaxThroughput
   139  		*out = new(int)
   140  		**out = **in
   141  	}
   142  	if in.MinInstances != nil {
   143  		in, out := &in.MinInstances, &out.MinInstances
   144  		*out = new(int)
   145  		**out = **in
   146  	}
   147  	if in.MinThroughput != nil {
   148  		in, out := &in.MinThroughput, &out.MinThroughput
   149  		*out = new(int)
   150  		**out = **in
   151  	}
   152  	if in.NetworkRef != nil {
   153  		in, out := &in.NetworkRef, &out.NetworkRef
   154  		*out = new(v1alpha1.ResourceRef)
   155  		**out = **in
   156  	}
   157  	out.ProjectRef = in.ProjectRef
   158  	if in.ResourceID != nil {
   159  		in, out := &in.ResourceID, &out.ResourceID
   160  		*out = new(string)
   161  		**out = **in
   162  	}
   163  	if in.Subnet != nil {
   164  		in, out := &in.Subnet, &out.Subnet
   165  		*out = new(ConnectorSubnet)
   166  		(*in).DeepCopyInto(*out)
   167  	}
   168  	return
   169  }
   170  
   171  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCAccessConnectorSpec.
   172  func (in *VPCAccessConnectorSpec) DeepCopy() *VPCAccessConnectorSpec {
   173  	if in == nil {
   174  		return nil
   175  	}
   176  	out := new(VPCAccessConnectorSpec)
   177  	in.DeepCopyInto(out)
   178  	return out
   179  }
   180  
   181  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   182  func (in *VPCAccessConnectorStatus) DeepCopyInto(out *VPCAccessConnectorStatus) {
   183  	*out = *in
   184  	if in.Conditions != nil {
   185  		in, out := &in.Conditions, &out.Conditions
   186  		*out = make([]v1alpha1.Condition, len(*in))
   187  		copy(*out, *in)
   188  	}
   189  	if in.ConnectedProjects != nil {
   190  		in, out := &in.ConnectedProjects, &out.ConnectedProjects
   191  		*out = make([]string, len(*in))
   192  		copy(*out, *in)
   193  	}
   194  	if in.ObservedGeneration != nil {
   195  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   196  		*out = new(int)
   197  		**out = **in
   198  	}
   199  	if in.SelfLink != nil {
   200  		in, out := &in.SelfLink, &out.SelfLink
   201  		*out = new(string)
   202  		**out = **in
   203  	}
   204  	if in.State != nil {
   205  		in, out := &in.State, &out.State
   206  		*out = new(string)
   207  		**out = **in
   208  	}
   209  	return
   210  }
   211  
   212  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCAccessConnectorStatus.
   213  func (in *VPCAccessConnectorStatus) DeepCopy() *VPCAccessConnectorStatus {
   214  	if in == nil {
   215  		return nil
   216  	}
   217  	out := new(VPCAccessConnectorStatus)
   218  	in.DeepCopyInto(out)
   219  	return out
   220  }
   221  

View as plain text