...

Source file src/k8s.io/client-go/scale/scheme/zz_generated.deepcopy.go

Documentation: k8s.io/client-go/scale/scheme

     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 scheme
    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 *Scale) DeepCopyInto(out *Scale) {
    31  	*out = *in
    32  	out.TypeMeta = in.TypeMeta
    33  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    34  	out.Spec = in.Spec
    35  	in.Status.DeepCopyInto(&out.Status)
    36  	return
    37  }
    38  
    39  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
    40  func (in *Scale) DeepCopy() *Scale {
    41  	if in == nil {
    42  		return nil
    43  	}
    44  	out := new(Scale)
    45  	in.DeepCopyInto(out)
    46  	return out
    47  }
    48  
    49  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    50  func (in *Scale) DeepCopyObject() runtime.Object {
    51  	if c := in.DeepCopy(); c != nil {
    52  		return c
    53  	}
    54  	return nil
    55  }
    56  
    57  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    58  func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
    59  	*out = *in
    60  	return
    61  }
    62  
    63  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
    64  func (in *ScaleSpec) DeepCopy() *ScaleSpec {
    65  	if in == nil {
    66  		return nil
    67  	}
    68  	out := new(ScaleSpec)
    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 *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
    75  	*out = *in
    76  	if in.Selector != nil {
    77  		in, out := &in.Selector, &out.Selector
    78  		*out = new(v1.LabelSelector)
    79  		(*in).DeepCopyInto(*out)
    80  	}
    81  	return
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
    85  func (in *ScaleStatus) DeepCopy() *ScaleStatus {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(ScaleStatus)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  

View as plain text