...
1
2
3
4
5 package v1
6
7 import (
8 "edge-infra.dev/pkg/k8s/runtime/inventory"
9 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 )
12
13
14 func (in *PXE) DeepCopyInto(out *PXE) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
18 out.Spec = in.Spec
19 if in.Status != nil {
20 in, out := &in.Status, &out.Status
21 *out = new(PXEStatus)
22 (*in).DeepCopyInto(*out)
23 }
24 }
25
26
27 func (in *PXE) DeepCopy() *PXE {
28 if in == nil {
29 return nil
30 }
31 out := new(PXE)
32 in.DeepCopyInto(out)
33 return out
34 }
35
36
37 func (in *PXE) DeepCopyObject() runtime.Object {
38 if c := in.DeepCopy(); c != nil {
39 return c
40 }
41 return nil
42 }
43
44
45 func (in *PXEList) DeepCopyInto(out *PXEList) {
46 *out = *in
47 out.TypeMeta = in.TypeMeta
48 in.ListMeta.DeepCopyInto(&out.ListMeta)
49 if in.Items != nil {
50 in, out := &in.Items, &out.Items
51 *out = make([]PXE, len(*in))
52 for i := range *in {
53 (*in)[i].DeepCopyInto(&(*out)[i])
54 }
55 }
56 }
57
58
59 func (in *PXEList) DeepCopy() *PXEList {
60 if in == nil {
61 return nil
62 }
63 out := new(PXEList)
64 in.DeepCopyInto(out)
65 return out
66 }
67
68
69 func (in *PXEList) DeepCopyObject() runtime.Object {
70 if c := in.DeepCopy(); c != nil {
71 return c
72 }
73 return nil
74 }
75
76
77 func (in *PXESpec) DeepCopyInto(out *PXESpec) {
78 *out = *in
79 }
80
81
82 func (in *PXESpec) DeepCopy() *PXESpec {
83 if in == nil {
84 return nil
85 }
86 out := new(PXESpec)
87 in.DeepCopyInto(out)
88 return out
89 }
90
91
92 func (in *PXEStatus) DeepCopyInto(out *PXEStatus) {
93 *out = *in
94 if in.Conditions != nil {
95 in, out := &in.Conditions, &out.Conditions
96 *out = make([]metav1.Condition, len(*in))
97 for i := range *in {
98 (*in)[i].DeepCopyInto(&(*out)[i])
99 }
100 }
101 if in.Inventory != nil {
102 in, out := &in.Inventory, &out.Inventory
103 *out = new(inventory.ResourceInventory)
104 (*in).DeepCopyInto(*out)
105 }
106 }
107
108
109 func (in *PXEStatus) DeepCopy() *PXEStatus {
110 if in == nil {
111 return nil
112 }
113 out := new(PXEStatus)
114 in.DeepCopyInto(out)
115 return out
116 }
117
View as plain text