1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
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) {
30 out.TypeMeta = in.TypeMeta
31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32 in.Spec.DeepCopyInto(&out.Spec)
36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease.
37 func (in *Lease) DeepCopy() *Lease {
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 {
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) {
57 out.TypeMeta = in.TypeMeta
58 out.ListMeta = in.ListMeta
60 in, out := &in.Items, &out.Items
61 *out = make([]Lease, len(*in))
63 (*in)[i].DeepCopyInto(&(*out)[i])
69 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseList.
70 func (in *LeaseList) DeepCopy() *LeaseList {
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 {
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) {
90 if in.HolderIdentity != nil {
91 in, out := &in.HolderIdentity, &out.HolderIdentity
95 if in.LeaseDurationSeconds != nil {
96 in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
100 if in.AcquireTime != nil {
101 in, out := &in.AcquireTime, &out.AcquireTime
102 *out = (*in).DeepCopy()
104 if in.RenewTime != nil {
105 in, out := &in.RenewTime, &out.RenewTime
106 *out = (*in).DeepCopy()
108 if in.LeaseTransitions != nil {
109 in, out := &in.LeaseTransitions, &out.LeaseTransitions
116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseSpec.
117 func (in *LeaseSpec) DeepCopy() *LeaseSpec {
121 out := new(LeaseSpec)