...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/tpu/v1alpha1

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

View as plain text