...

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

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

     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 apiregistration
    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  		**out = **in
   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 ByGroupPriorityMinimum) DeepCopyInto(out *ByGroupPriorityMinimum) {
   157  	{
   158  		in := &in
   159  		*out = make(ByGroupPriorityMinimum, len(*in))
   160  		for i := range *in {
   161  			if (*in)[i] != nil {
   162  				in, out := &(*in)[i], &(*out)[i]
   163  				*out = new(APIService)
   164  				(*in).DeepCopyInto(*out)
   165  			}
   166  		}
   167  		return
   168  	}
   169  }
   170  
   171  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ByGroupPriorityMinimum.
   172  func (in ByGroupPriorityMinimum) DeepCopy() ByGroupPriorityMinimum {
   173  	if in == nil {
   174  		return nil
   175  	}
   176  	out := new(ByGroupPriorityMinimum)
   177  	in.DeepCopyInto(out)
   178  	return *out
   179  }
   180  
   181  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   182  func (in ByVersionPriority) DeepCopyInto(out *ByVersionPriority) {
   183  	{
   184  		in := &in
   185  		*out = make(ByVersionPriority, len(*in))
   186  		for i := range *in {
   187  			if (*in)[i] != nil {
   188  				in, out := &(*in)[i], &(*out)[i]
   189  				*out = new(APIService)
   190  				(*in).DeepCopyInto(*out)
   191  			}
   192  		}
   193  		return
   194  	}
   195  }
   196  
   197  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ByVersionPriority.
   198  func (in ByVersionPriority) DeepCopy() ByVersionPriority {
   199  	if in == nil {
   200  		return nil
   201  	}
   202  	out := new(ByVersionPriority)
   203  	in.DeepCopyInto(out)
   204  	return *out
   205  }
   206  
   207  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   208  func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
   209  	*out = *in
   210  	return
   211  }
   212  
   213  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
   214  func (in *ServiceReference) DeepCopy() *ServiceReference {
   215  	if in == nil {
   216  		return nil
   217  	}
   218  	out := new(ServiceReference)
   219  	in.DeepCopyInto(out)
   220  	return out
   221  }
   222  

View as plain text