...
1
2
3
4
19
20
21
22 package internalversion
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *List) DeepCopyInto(out *List) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ListMeta.DeepCopyInto(&out.ListMeta)
33 if in.Items != nil {
34 in, out := &in.Items, &out.Items
35 *out = make([]runtime.Object, len(*in))
36 for i := range *in {
37 if (*in)[i] != nil {
38 (*out)[i] = (*in)[i].DeepCopyObject()
39 }
40 }
41 }
42 return
43 }
44
45
46 func (in *List) DeepCopy() *List {
47 if in == nil {
48 return nil
49 }
50 out := new(List)
51 in.DeepCopyInto(out)
52 return out
53 }
54
55
56 func (in *List) DeepCopyObject() runtime.Object {
57 if c := in.DeepCopy(); c != nil {
58 return c
59 }
60 return nil
61 }
62
63
64 func (in *ListOptions) DeepCopyInto(out *ListOptions) {
65 *out = *in
66 out.TypeMeta = in.TypeMeta
67 if in.LabelSelector != nil {
68 out.LabelSelector = in.LabelSelector.DeepCopySelector()
69 }
70 if in.FieldSelector != nil {
71 out.FieldSelector = in.FieldSelector.DeepCopySelector()
72 }
73 if in.TimeoutSeconds != nil {
74 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
75 *out = new(int64)
76 **out = **in
77 }
78 if in.SendInitialEvents != nil {
79 in, out := &in.SendInitialEvents, &out.SendInitialEvents
80 *out = new(bool)
81 **out = **in
82 }
83 return
84 }
85
86
87 func (in *ListOptions) DeepCopy() *ListOptions {
88 if in == nil {
89 return nil
90 }
91 out := new(ListOptions)
92 in.DeepCopyInto(out)
93 return out
94 }
95
96
97 func (in *ListOptions) DeepCopyObject() runtime.Object {
98 if c := in.DeepCopy(); c != nil {
99 return c
100 }
101 return nil
102 }
103
View as plain text