github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/networking/kinds/orb/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  /*
     4  
     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  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package orb
    22  
    23  import (
    24  	"k8s.io/api/core/v1"
    25  )
    26  
    27  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    28  func (in *Spec) DeepCopyInto(out *Spec) {
    29  	*out = *in
    30  	if in.NodeSelector != nil {
    31  		in, out := &in.NodeSelector, &out.NodeSelector
    32  		*out = make(map[string]string, len(*in))
    33  		for key, val := range *in {
    34  			(*out)[key] = val
    35  		}
    36  	}
    37  	if in.Tolerations != nil {
    38  		in, out := &in.Tolerations, &out.Tolerations
    39  		*out = make([]v1.Toleration, len(*in))
    40  		for i := range *in {
    41  			(*in)[i].DeepCopyInto(&(*out)[i])
    42  		}
    43  	}
    44  }
    45  
    46  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
    47  func (in *Spec) DeepCopy() *Spec {
    48  	if in == nil {
    49  		return nil
    50  	}
    51  	out := new(Spec)
    52  	in.DeepCopyInto(out)
    53  	return out
    54  }