Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1beta1 |
| 22 | |
| 23 | import ( |
| 24 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 25 | ) |
| 26 | |
| 27 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 28 | func (in *Lease) DeepCopyInto(out *Lease) { |
| 29 | *out = *in |
| 30 | out.TypeMeta = in.TypeMeta |
| 31 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 32 | in.Spec.DeepCopyInto(&out.Spec) |
| 33 | return |
| 34 | } |
| 35 | |
| 36 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease. |
| 37 | func (in *Lease) DeepCopy() *Lease { |
| 38 | if in == nil { |
| 39 | return nil |
| 40 | } |
| 41 | out := new(Lease) |
| 42 | in.DeepCopyInto(out) |
| 43 | return out |
| 44 | } |
| 45 | |
| 46 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 47 | func (in *Lease) DeepCopyObject() runtime.Object { |
| 48 | if c := in.DeepCopy(); c != nil { |
| 49 | return c |
| 50 | } |
| 51 | return nil |
| 52 | } |
| 53 | |
| 54 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 55 | func (in *LeaseList) DeepCopyInto(out *LeaseList) { |
| 56 | *out = *in |
| 57 | out.TypeMeta = in.TypeMeta |
| 58 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 59 | if in.Items != nil { |
| 60 | in, out := &in.Items, &out.Items |
| 61 | *out = make([]Lease, len(*in)) |
| 62 | for i := range *in { |
| 63 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 64 | } |
| 65 | } |
| 66 | return |
| 67 | } |
| 68 | |
| 69 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseList. |
| 70 | func (in *LeaseList) DeepCopy() *LeaseList { |
| 71 | if in == nil { |
| 72 | return nil |
| 73 | } |
| 74 | out := new(LeaseList) |
| 75 | in.DeepCopyInto(out) |
| 76 | return out |
| 77 | } |
| 78 | |
| 79 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 80 | func (in *LeaseList) DeepCopyObject() runtime.Object { |
| 81 | if c := in.DeepCopy(); c != nil { |
| 82 | return c |
| 83 | } |
| 84 | return nil |
| 85 | } |
| 86 | |
| 87 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 88 | func (in *LeaseSpec) DeepCopyInto(out *LeaseSpec) { |
| 89 | *out = *in |
| 90 | if in.HolderIdentity != nil { |
| 91 | in, out := &in.HolderIdentity, &out.HolderIdentity |
| 92 | *out = new(string) |
| 93 | **out = **in |
| 94 | } |
| 95 | if in.LeaseDurationSeconds != nil { |
| 96 | in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds |
| 97 | *out = new(int32) |
| 98 | **out = **in |
| 99 | } |
| 100 | if in.AcquireTime != nil { |
| 101 | in, out := &in.AcquireTime, &out.AcquireTime |
| 102 | *out = (*in).DeepCopy() |
| 103 | } |
| 104 | if in.RenewTime != nil { |
| 105 | in, out := &in.RenewTime, &out.RenewTime |
| 106 | *out = (*in).DeepCopy() |
| 107 | } |
| 108 | if in.LeaseTransitions != nil { |
| 109 | in, out := &in.LeaseTransitions, &out.LeaseTransitions |
| 110 | *out = new(int32) |
| 111 | **out = **in |
| 112 | } |
| 113 | return |
| 114 | } |
| 115 | |
| 116 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseSpec. |
| 117 | func (in *LeaseSpec) DeepCopy() *LeaseSpec { |
| 118 | if in == nil { |
| 119 | return nil |
| 120 | } |
| 121 | out := new(LeaseSpec) |
| 122 | in.DeepCopyInto(out) |
| 123 | return out |
| 124 | } |