...
1
2
3
4
5 package v1alpha1
6
7 import (
8 "edge-infra.dev/pkg/edge/api/types"
9 "edge-infra.dev/pkg/k8s/runtime/inventory"
10 "k8s.io/apimachinery/pkg/apis/meta/v1"
11 runtime "k8s.io/apimachinery/pkg/runtime"
12 )
13
14
15 func (in *Cluster) DeepCopyInto(out *Cluster) {
16 *out = *in
17 out.TypeMeta = in.TypeMeta
18 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
19 in.Spec.DeepCopyInto(&out.Spec)
20 in.Status.DeepCopyInto(&out.Status)
21 }
22
23
24 func (in *Cluster) DeepCopy() *Cluster {
25 if in == nil {
26 return nil
27 }
28 out := new(Cluster)
29 in.DeepCopyInto(out)
30 return out
31 }
32
33
34 func (in *Cluster) DeepCopyObject() runtime.Object {
35 if c := in.DeepCopy(); c != nil {
36 return c
37 }
38 return nil
39 }
40
41
42 func (in *ClusterList) DeepCopyInto(out *ClusterList) {
43 *out = *in
44 out.TypeMeta = in.TypeMeta
45 in.ListMeta.DeepCopyInto(&out.ListMeta)
46 if in.Items != nil {
47 in, out := &in.Items, &out.Items
48 *out = make([]Cluster, len(*in))
49 for i := range *in {
50 (*in)[i].DeepCopyInto(&(*out)[i])
51 }
52 }
53 }
54
55
56 func (in *ClusterList) DeepCopy() *ClusterList {
57 if in == nil {
58 return nil
59 }
60 out := new(ClusterList)
61 in.DeepCopyInto(out)
62 return out
63 }
64
65
66 func (in *ClusterList) DeepCopyObject() runtime.Object {
67 if c := in.DeepCopy(); c != nil {
68 return c
69 }
70 return nil
71 }
72
73
74 func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
75 *out = *in
76 if in.ClusterArtifacts != nil {
77 in, out := &in.ClusterArtifacts, &out.ClusterArtifacts
78 *out = make([]types.ArtifactVersion, len(*in))
79 copy(*out, *in)
80 }
81 if in.Interval != nil {
82 in, out := &in.Interval, &out.Interval
83 *out = new(v1.Duration)
84 **out = **in
85 }
86 }
87
88
89 func (in *ClusterSpec) DeepCopy() *ClusterSpec {
90 if in == nil {
91 return nil
92 }
93 out := new(ClusterSpec)
94 in.DeepCopyInto(out)
95 return out
96 }
97
98
99 func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
100 *out = *in
101 if in.Conditions != nil {
102 in, out := &in.Conditions, &out.Conditions
103 *out = make([]v1.Condition, len(*in))
104 for i := range *in {
105 (*in)[i].DeepCopyInto(&(*out)[i])
106 }
107 }
108 in.ExternalInventory.DeepCopyInto(&out.ExternalInventory)
109 if in.Inventory != nil {
110 in, out := &in.Inventory, &out.Inventory
111 *out = new(inventory.ResourceInventory)
112 (*in).DeepCopyInto(*out)
113 }
114 }
115
116
117 func (in *ClusterStatus) DeepCopy() *ClusterStatus {
118 if in == nil {
119 return nil
120 }
121 out := new(ClusterStatus)
122 in.DeepCopyInto(out)
123 return out
124 }
125
126
127 func (in *ExternalResourceInventory) DeepCopyInto(out *ExternalResourceInventory) {
128 *out = *in
129 if in.SecretManagerSecrets != nil {
130 in, out := &in.SecretManagerSecrets, &out.SecretManagerSecrets
131 *out = make([]string, len(*in))
132 copy(*out, *in)
133 }
134 out.OktaClient = in.OktaClient
135 }
136
137
138 func (in *ExternalResourceInventory) DeepCopy() *ExternalResourceInventory {
139 if in == nil {
140 return nil
141 }
142 out := new(ExternalResourceInventory)
143 in.DeepCopyInto(out)
144 return out
145 }
146
147
148 func (in *OktaClient) DeepCopyInto(out *OktaClient) {
149 *out = *in
150 }
151
152
153 func (in *OktaClient) DeepCopy() *OktaClient {
154 if in == nil {
155 return nil
156 }
157 out := new(OktaClient)
158 in.DeepCopyInto(out)
159 return out
160 }
161
View as plain text