...
1
2
3
4
5
6 package v1
7
8 import (
9 runtime "k8s.io/apimachinery/pkg/runtime"
10 )
11
12
13 func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) {
14 *out = *in
15 out.TypeMeta = in.TypeMeta
16 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
17 if in.Data != nil {
18 in, out := &in.Data, &out.Data
19 *out = make([]byte, len(*in))
20 copy(*out, *in)
21 }
22 return
23 }
24
25
26 func (in *RangeAllocation) DeepCopy() *RangeAllocation {
27 if in == nil {
28 return nil
29 }
30 out := new(RangeAllocation)
31 in.DeepCopyInto(out)
32 return out
33 }
34
35
36 func (in *RangeAllocation) DeepCopyObject() runtime.Object {
37 if c := in.DeepCopy(); c != nil {
38 return c
39 }
40 return nil
41 }
42
43
44 func (in *RangeAllocationList) DeepCopyInto(out *RangeAllocationList) {
45 *out = *in
46 out.TypeMeta = in.TypeMeta
47 in.ListMeta.DeepCopyInto(&out.ListMeta)
48 if in.Items != nil {
49 in, out := &in.Items, &out.Items
50 *out = make([]RangeAllocation, len(*in))
51 for i := range *in {
52 (*in)[i].DeepCopyInto(&(*out)[i])
53 }
54 }
55 return
56 }
57
58
59 func (in *RangeAllocationList) DeepCopy() *RangeAllocationList {
60 if in == nil {
61 return nil
62 }
63 out := new(RangeAllocationList)
64 in.DeepCopyInto(out)
65 return out
66 }
67
68
69 func (in *RangeAllocationList) DeepCopyObject() runtime.Object {
70 if c := in.DeepCopy(); c != nil {
71 return c
72 }
73 return nil
74 }
75
View as plain text