...

Source file src/github.com/linkerd/linkerd2/controller/gen/apis/serverauthorization/v1beta1/zz_generated.deepcopy.go

Documentation: github.com/linkerd/linkerd2/controller/gen/apis/serverauthorization/v1beta1

     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 v1beta1
    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 *Cidr) DeepCopyInto(out *Cidr) {
    31  	*out = *in
    32  	if in.Except != nil {
    33  		in, out := &in.Except, &out.Except
    34  		*out = make([]string, len(*in))
    35  		copy(*out, *in)
    36  	}
    37  	return
    38  }
    39  
    40  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cidr.
    41  func (in *Cidr) DeepCopy() *Cidr {
    42  	if in == nil {
    43  		return nil
    44  	}
    45  	out := new(Cidr)
    46  	in.DeepCopyInto(out)
    47  	return out
    48  }
    49  
    50  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    51  func (in *Client) DeepCopyInto(out *Client) {
    52  	*out = *in
    53  	if in.Networks != nil {
    54  		in, out := &in.Networks, &out.Networks
    55  		*out = make([]*Cidr, len(*in))
    56  		for i := range *in {
    57  			if (*in)[i] != nil {
    58  				in, out := &(*in)[i], &(*out)[i]
    59  				*out = new(Cidr)
    60  				(*in).DeepCopyInto(*out)
    61  			}
    62  		}
    63  	}
    64  	if in.MeshTLS != nil {
    65  		in, out := &in.MeshTLS, &out.MeshTLS
    66  		*out = new(MeshTLS)
    67  		(*in).DeepCopyInto(*out)
    68  	}
    69  	return
    70  }
    71  
    72  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.
    73  func (in *Client) DeepCopy() *Client {
    74  	if in == nil {
    75  		return nil
    76  	}
    77  	out := new(Client)
    78  	in.DeepCopyInto(out)
    79  	return out
    80  }
    81  
    82  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    83  func (in *MeshTLS) DeepCopyInto(out *MeshTLS) {
    84  	*out = *in
    85  	if in.Identities != nil {
    86  		in, out := &in.Identities, &out.Identities
    87  		*out = make([]string, len(*in))
    88  		copy(*out, *in)
    89  	}
    90  	if in.ServiceAccounts != nil {
    91  		in, out := &in.ServiceAccounts, &out.ServiceAccounts
    92  		*out = make([]*ServiceAccountName, len(*in))
    93  		for i := range *in {
    94  			if (*in)[i] != nil {
    95  				in, out := &(*in)[i], &(*out)[i]
    96  				*out = new(ServiceAccountName)
    97  				**out = **in
    98  			}
    99  		}
   100  	}
   101  	return
   102  }
   103  
   104  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLS.
   105  func (in *MeshTLS) DeepCopy() *MeshTLS {
   106  	if in == nil {
   107  		return nil
   108  	}
   109  	out := new(MeshTLS)
   110  	in.DeepCopyInto(out)
   111  	return out
   112  }
   113  
   114  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   115  func (in *Server) DeepCopyInto(out *Server) {
   116  	*out = *in
   117  	if in.Selector != nil {
   118  		in, out := &in.Selector, &out.Selector
   119  		*out = new(v1.LabelSelector)
   120  		(*in).DeepCopyInto(*out)
   121  	}
   122  	return
   123  }
   124  
   125  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
   126  func (in *Server) DeepCopy() *Server {
   127  	if in == nil {
   128  		return nil
   129  	}
   130  	out := new(Server)
   131  	in.DeepCopyInto(out)
   132  	return out
   133  }
   134  
   135  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   136  func (in *ServerAuthorization) DeepCopyInto(out *ServerAuthorization) {
   137  	*out = *in
   138  	out.TypeMeta = in.TypeMeta
   139  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   140  	in.Spec.DeepCopyInto(&out.Spec)
   141  	return
   142  }
   143  
   144  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAuthorization.
   145  func (in *ServerAuthorization) DeepCopy() *ServerAuthorization {
   146  	if in == nil {
   147  		return nil
   148  	}
   149  	out := new(ServerAuthorization)
   150  	in.DeepCopyInto(out)
   151  	return out
   152  }
   153  
   154  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   155  func (in *ServerAuthorization) DeepCopyObject() runtime.Object {
   156  	if c := in.DeepCopy(); c != nil {
   157  		return c
   158  	}
   159  	return nil
   160  }
   161  
   162  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   163  func (in *ServerAuthorizationList) DeepCopyInto(out *ServerAuthorizationList) {
   164  	*out = *in
   165  	out.TypeMeta = in.TypeMeta
   166  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   167  	if in.Items != nil {
   168  		in, out := &in.Items, &out.Items
   169  		*out = make([]ServerAuthorization, len(*in))
   170  		for i := range *in {
   171  			(*in)[i].DeepCopyInto(&(*out)[i])
   172  		}
   173  	}
   174  	return
   175  }
   176  
   177  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAuthorizationList.
   178  func (in *ServerAuthorizationList) DeepCopy() *ServerAuthorizationList {
   179  	if in == nil {
   180  		return nil
   181  	}
   182  	out := new(ServerAuthorizationList)
   183  	in.DeepCopyInto(out)
   184  	return out
   185  }
   186  
   187  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   188  func (in *ServerAuthorizationList) DeepCopyObject() runtime.Object {
   189  	if c := in.DeepCopy(); c != nil {
   190  		return c
   191  	}
   192  	return nil
   193  }
   194  
   195  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   196  func (in *ServerAuthorizationSpec) DeepCopyInto(out *ServerAuthorizationSpec) {
   197  	*out = *in
   198  	in.Server.DeepCopyInto(&out.Server)
   199  	in.Client.DeepCopyInto(&out.Client)
   200  	return
   201  }
   202  
   203  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAuthorizationSpec.
   204  func (in *ServerAuthorizationSpec) DeepCopy() *ServerAuthorizationSpec {
   205  	if in == nil {
   206  		return nil
   207  	}
   208  	out := new(ServerAuthorizationSpec)
   209  	in.DeepCopyInto(out)
   210  	return out
   211  }
   212  
   213  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   214  func (in *ServiceAccountName) DeepCopyInto(out *ServiceAccountName) {
   215  	*out = *in
   216  	return
   217  }
   218  
   219  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountName.
   220  func (in *ServiceAccountName) DeepCopy() *ServiceAccountName {
   221  	if in == nil {
   222  		return nil
   223  	}
   224  	out := new(ServiceAccountName)
   225  	in.DeepCopyInto(out)
   226  	return out
   227  }
   228  

View as plain text