...

Source file src/github.com/linkerd/linkerd2/controller/gen/apis/server/v1beta2/zz_generated.deepcopy.go

Documentation: github.com/linkerd/linkerd2/controller/gen/apis/server/v1beta2

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1beta2
    23  
    24  import (
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *Server) DeepCopyInto(out *Server) {
    31  	*out = *in
    32  	out.TypeMeta = in.TypeMeta
    33  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    34  	in.Spec.DeepCopyInto(&out.Spec)
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
    39  func (in *Server) DeepCopy() *Server {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(Server)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    49  func (in *Server) DeepCopyObject() runtime.Object {
    50  	if c := in.DeepCopy(); c != nil {
    51  		return c
    52  	}
    53  	return nil
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *ServerList) DeepCopyInto(out *ServerList) {
    58  	*out = *in
    59  	out.TypeMeta = in.TypeMeta
    60  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    61  	if in.Items != nil {
    62  		in, out := &in.Items, &out.Items
    63  		*out = make([]Server, len(*in))
    64  		for i := range *in {
    65  			(*in)[i].DeepCopyInto(&(*out)[i])
    66  		}
    67  	}
    68  	return
    69  }
    70  
    71  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList.
    72  func (in *ServerList) DeepCopy() *ServerList {
    73  	if in == nil {
    74  		return nil
    75  	}
    76  	out := new(ServerList)
    77  	in.DeepCopyInto(out)
    78  	return out
    79  }
    80  
    81  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    82  func (in *ServerList) DeepCopyObject() runtime.Object {
    83  	if c := in.DeepCopy(); c != nil {
    84  		return c
    85  	}
    86  	return nil
    87  }
    88  
    89  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    90  func (in *ServerSpec) DeepCopyInto(out *ServerSpec) {
    91  	*out = *in
    92  	if in.PodSelector != nil {
    93  		in, out := &in.PodSelector, &out.PodSelector
    94  		*out = new(v1.LabelSelector)
    95  		(*in).DeepCopyInto(*out)
    96  	}
    97  	if in.ExternalWorkloadSelector != nil {
    98  		in, out := &in.ExternalWorkloadSelector, &out.ExternalWorkloadSelector
    99  		*out = new(v1.LabelSelector)
   100  		(*in).DeepCopyInto(*out)
   101  	}
   102  	out.Port = in.Port
   103  	return
   104  }
   105  
   106  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
   107  func (in *ServerSpec) DeepCopy() *ServerSpec {
   108  	if in == nil {
   109  		return nil
   110  	}
   111  	out := new(ServerSpec)
   112  	in.DeepCopyInto(out)
   113  	return out
   114  }
   115  

View as plain text