...

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

Documentation: github.com/linkerd/linkerd2/controller/gen/apis/externalworkload/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  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *ExternalWorkload) DeepCopyInto(out *ExternalWorkload) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	in.Status.DeepCopyInto(&out.Status)
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalWorkload.
    39  func (in *ExternalWorkload) DeepCopy() *ExternalWorkload {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(ExternalWorkload)
    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 *ExternalWorkload) 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 *ExternalWorkloadList) DeepCopyInto(out *ExternalWorkloadList) {
    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([]ExternalWorkload, 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 ExternalWorkloadList.
    72  func (in *ExternalWorkloadList) DeepCopy() *ExternalWorkloadList {
    73  	if in == nil {
    74  		return nil
    75  	}
    76  	out := new(ExternalWorkloadList)
    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 *ExternalWorkloadList) 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 *ExternalWorkloadSpec) DeepCopyInto(out *ExternalWorkloadSpec) {
    91  	*out = *in
    92  	out.MeshTLS = in.MeshTLS
    93  	if in.Ports != nil {
    94  		in, out := &in.Ports, &out.Ports
    95  		*out = make([]PortSpec, len(*in))
    96  		copy(*out, *in)
    97  	}
    98  	if in.WorkloadIPs != nil {
    99  		in, out := &in.WorkloadIPs, &out.WorkloadIPs
   100  		*out = make([]WorkloadIP, len(*in))
   101  		copy(*out, *in)
   102  	}
   103  	return
   104  }
   105  
   106  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalWorkloadSpec.
   107  func (in *ExternalWorkloadSpec) DeepCopy() *ExternalWorkloadSpec {
   108  	if in == nil {
   109  		return nil
   110  	}
   111  	out := new(ExternalWorkloadSpec)
   112  	in.DeepCopyInto(out)
   113  	return out
   114  }
   115  
   116  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   117  func (in *ExternalWorkloadStatus) DeepCopyInto(out *ExternalWorkloadStatus) {
   118  	*out = *in
   119  	if in.Conditions != nil {
   120  		in, out := &in.Conditions, &out.Conditions
   121  		*out = make([]WorkloadCondition, len(*in))
   122  		for i := range *in {
   123  			(*in)[i].DeepCopyInto(&(*out)[i])
   124  		}
   125  	}
   126  	return
   127  }
   128  
   129  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalWorkloadStatus.
   130  func (in *ExternalWorkloadStatus) DeepCopy() *ExternalWorkloadStatus {
   131  	if in == nil {
   132  		return nil
   133  	}
   134  	out := new(ExternalWorkloadStatus)
   135  	in.DeepCopyInto(out)
   136  	return out
   137  }
   138  
   139  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   140  func (in *MeshTLS) DeepCopyInto(out *MeshTLS) {
   141  	*out = *in
   142  	return
   143  }
   144  
   145  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLS.
   146  func (in *MeshTLS) DeepCopy() *MeshTLS {
   147  	if in == nil {
   148  		return nil
   149  	}
   150  	out := new(MeshTLS)
   151  	in.DeepCopyInto(out)
   152  	return out
   153  }
   154  
   155  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   156  func (in *PortSpec) DeepCopyInto(out *PortSpec) {
   157  	*out = *in
   158  	return
   159  }
   160  
   161  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortSpec.
   162  func (in *PortSpec) DeepCopy() *PortSpec {
   163  	if in == nil {
   164  		return nil
   165  	}
   166  	out := new(PortSpec)
   167  	in.DeepCopyInto(out)
   168  	return out
   169  }
   170  
   171  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   172  func (in *WorkloadCondition) DeepCopyInto(out *WorkloadCondition) {
   173  	*out = *in
   174  	in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
   175  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   176  	return
   177  }
   178  
   179  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadCondition.
   180  func (in *WorkloadCondition) DeepCopy() *WorkloadCondition {
   181  	if in == nil {
   182  		return nil
   183  	}
   184  	out := new(WorkloadCondition)
   185  	in.DeepCopyInto(out)
   186  	return out
   187  }
   188  
   189  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   190  func (in *WorkloadIP) DeepCopyInto(out *WorkloadIP) {
   191  	*out = *in
   192  	return
   193  }
   194  
   195  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadIP.
   196  func (in *WorkloadIP) DeepCopy() *WorkloadIP {
   197  	if in == nil {
   198  		return nil
   199  	}
   200  	out := new(WorkloadIP)
   201  	in.DeepCopyInto(out)
   202  	return out
   203  }
   204  

View as plain text