...
1
2
3
4
19
20
21
22 package metaonly
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 return
34 }
35
36
37 func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject {
38 if in == nil {
39 return nil
40 }
41 out := new(MetadataOnlyObject)
42 in.DeepCopyInto(out)
43 return out
44 }
45
46
47 func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object {
48 if c := in.DeepCopy(); c != nil {
49 return c
50 }
51 return nil
52 }
53
54
55 func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList) {
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([]MetadataOnlyObject, len(*in))
62 for i := range *in {
63 (*in)[i].DeepCopyInto(&(*out)[i])
64 }
65 }
66 return
67 }
68
69
70 func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList {
71 if in == nil {
72 return nil
73 }
74 out := new(MetadataOnlyObjectList)
75 in.DeepCopyInto(out)
76 return out
77 }
78
79
80 func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object {
81 if c := in.DeepCopy(); c != nil {
82 return c
83 }
84 return nil
85 }
86
View as plain text