...

Source file src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1/zz_generated.deepcopy.go

Documentation: k8s.io/kube-aggregator/pkg/apis/apiregistration/v1

     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 v1
    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 *APIService) DeepCopyInto(out *APIService) {
    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 APIService.
    39  func (in *APIService) DeepCopy() *APIService {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(APIService)
    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 *APIService) 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 *APIServiceCondition) DeepCopyInto(out *APIServiceCondition) {
    58  	*out = *in
    59  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
    60  	return
    61  }
    62  
    63  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition.
    64  func (in *APIServiceCondition) DeepCopy() *APIServiceCondition {
    65  	if in == nil {
    66  		return nil
    67  	}
    68  	out := new(APIServiceCondition)
    69  	in.DeepCopyInto(out)
    70  	return out
    71  }
    72  
    73  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    74  func (in *APIServiceList) DeepCopyInto(out *APIServiceList) {
    75  	*out = *in
    76  	out.TypeMeta = in.TypeMeta
    77  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    78  	if in.Items != nil {
    79  		in, out := &in.Items, &out.Items
    80  		*out = make([]APIService, len(*in))
    81  		for i := range *in {
    82  			(*in)[i].DeepCopyInto(&(*out)[i])
    83  		}
    84  	}
    85  	return
    86  }
    87  
    88  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList.
    89  func (in *APIServiceList) DeepCopy() *APIServiceList {
    90  	if in == nil {
    91  		return nil
    92  	}
    93  	out := new(APIServiceList)
    94  	in.DeepCopyInto(out)
    95  	return out
    96  }
    97  
    98  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    99  func (in *APIServiceList) DeepCopyObject() runtime.Object {
   100  	if c := in.DeepCopy(); c != nil {
   101  		return c
   102  	}
   103  	return nil
   104  }
   105  
   106  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   107  func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) {
   108  	*out = *in
   109  	if in.Service != nil {
   110  		in, out := &in.Service, &out.Service
   111  		*out = new(ServiceReference)
   112  		(*in).DeepCopyInto(*out)
   113  	}
   114  	if in.CABundle != nil {
   115  		in, out := &in.CABundle, &out.CABundle
   116  		*out = make([]byte, len(*in))
   117  		copy(*out, *in)
   118  	}
   119  	return
   120  }
   121  
   122  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec.
   123  func (in *APIServiceSpec) DeepCopy() *APIServiceSpec {
   124  	if in == nil {
   125  		return nil
   126  	}
   127  	out := new(APIServiceSpec)
   128  	in.DeepCopyInto(out)
   129  	return out
   130  }
   131  
   132  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   133  func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus) {
   134  	*out = *in
   135  	if in.Conditions != nil {
   136  		in, out := &in.Conditions, &out.Conditions
   137  		*out = make([]APIServiceCondition, len(*in))
   138  		for i := range *in {
   139  			(*in)[i].DeepCopyInto(&(*out)[i])
   140  		}
   141  	}
   142  	return
   143  }
   144  
   145  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus.
   146  func (in *APIServiceStatus) DeepCopy() *APIServiceStatus {
   147  	if in == nil {
   148  		return nil
   149  	}
   150  	out := new(APIServiceStatus)
   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 *ServiceReference) DeepCopyInto(out *ServiceReference) {
   157  	*out = *in
   158  	if in.Port != nil {
   159  		in, out := &in.Port, &out.Port
   160  		*out = new(int32)
   161  		**out = **in
   162  	}
   163  	return
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
   167  func (in *ServiceReference) DeepCopy() *ServiceReference {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(ServiceReference)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  

View as plain text