...
1
2
3
4
19
20
21
22 package v1beta1
23
24 import (
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29
30 func (in *Cidr) DeepCopyInto(out *Cidr) {
31 *out = *in
32 if in.Except != nil {
33 in, out := &in.Except, &out.Except
34 *out = make([]string, len(*in))
35 copy(*out, *in)
36 }
37 return
38 }
39
40
41 func (in *Cidr) DeepCopy() *Cidr {
42 if in == nil {
43 return nil
44 }
45 out := new(Cidr)
46 in.DeepCopyInto(out)
47 return out
48 }
49
50
51 func (in *Client) DeepCopyInto(out *Client) {
52 *out = *in
53 if in.Networks != nil {
54 in, out := &in.Networks, &out.Networks
55 *out = make([]*Cidr, len(*in))
56 for i := range *in {
57 if (*in)[i] != nil {
58 in, out := &(*in)[i], &(*out)[i]
59 *out = new(Cidr)
60 (*in).DeepCopyInto(*out)
61 }
62 }
63 }
64 if in.MeshTLS != nil {
65 in, out := &in.MeshTLS, &out.MeshTLS
66 *out = new(MeshTLS)
67 (*in).DeepCopyInto(*out)
68 }
69 return
70 }
71
72
73 func (in *Client) DeepCopy() *Client {
74 if in == nil {
75 return nil
76 }
77 out := new(Client)
78 in.DeepCopyInto(out)
79 return out
80 }
81
82
83 func (in *MeshTLS) DeepCopyInto(out *MeshTLS) {
84 *out = *in
85 if in.Identities != nil {
86 in, out := &in.Identities, &out.Identities
87 *out = make([]string, len(*in))
88 copy(*out, *in)
89 }
90 if in.ServiceAccounts != nil {
91 in, out := &in.ServiceAccounts, &out.ServiceAccounts
92 *out = make([]*ServiceAccountName, len(*in))
93 for i := range *in {
94 if (*in)[i] != nil {
95 in, out := &(*in)[i], &(*out)[i]
96 *out = new(ServiceAccountName)
97 **out = **in
98 }
99 }
100 }
101 return
102 }
103
104
105 func (in *MeshTLS) DeepCopy() *MeshTLS {
106 if in == nil {
107 return nil
108 }
109 out := new(MeshTLS)
110 in.DeepCopyInto(out)
111 return out
112 }
113
114
115 func (in *Server) DeepCopyInto(out *Server) {
116 *out = *in
117 if in.Selector != nil {
118 in, out := &in.Selector, &out.Selector
119 *out = new(v1.LabelSelector)
120 (*in).DeepCopyInto(*out)
121 }
122 return
123 }
124
125
126 func (in *Server) DeepCopy() *Server {
127 if in == nil {
128 return nil
129 }
130 out := new(Server)
131 in.DeepCopyInto(out)
132 return out
133 }
134
135
136 func (in *ServerAuthorization) DeepCopyInto(out *ServerAuthorization) {
137 *out = *in
138 out.TypeMeta = in.TypeMeta
139 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
140 in.Spec.DeepCopyInto(&out.Spec)
141 return
142 }
143
144
145 func (in *ServerAuthorization) DeepCopy() *ServerAuthorization {
146 if in == nil {
147 return nil
148 }
149 out := new(ServerAuthorization)
150 in.DeepCopyInto(out)
151 return out
152 }
153
154
155 func (in *ServerAuthorization) DeepCopyObject() runtime.Object {
156 if c := in.DeepCopy(); c != nil {
157 return c
158 }
159 return nil
160 }
161
162
163 func (in *ServerAuthorizationList) DeepCopyInto(out *ServerAuthorizationList) {
164 *out = *in
165 out.TypeMeta = in.TypeMeta
166 in.ListMeta.DeepCopyInto(&out.ListMeta)
167 if in.Items != nil {
168 in, out := &in.Items, &out.Items
169 *out = make([]ServerAuthorization, len(*in))
170 for i := range *in {
171 (*in)[i].DeepCopyInto(&(*out)[i])
172 }
173 }
174 return
175 }
176
177
178 func (in *ServerAuthorizationList) DeepCopy() *ServerAuthorizationList {
179 if in == nil {
180 return nil
181 }
182 out := new(ServerAuthorizationList)
183 in.DeepCopyInto(out)
184 return out
185 }
186
187
188 func (in *ServerAuthorizationList) DeepCopyObject() runtime.Object {
189 if c := in.DeepCopy(); c != nil {
190 return c
191 }
192 return nil
193 }
194
195
196 func (in *ServerAuthorizationSpec) DeepCopyInto(out *ServerAuthorizationSpec) {
197 *out = *in
198 in.Server.DeepCopyInto(&out.Server)
199 in.Client.DeepCopyInto(&out.Client)
200 return
201 }
202
203
204 func (in *ServerAuthorizationSpec) DeepCopy() *ServerAuthorizationSpec {
205 if in == nil {
206 return nil
207 }
208 out := new(ServerAuthorizationSpec)
209 in.DeepCopyInto(out)
210 return out
211 }
212
213
214 func (in *ServiceAccountName) DeepCopyInto(out *ServiceAccountName) {
215 *out = *in
216 return
217 }
218
219
220 func (in *ServiceAccountName) DeepCopy() *ServiceAccountName {
221 if in == nil {
222 return nil
223 }
224 out := new(ServiceAccountName)
225 in.DeepCopyInto(out)
226 return out
227 }
228
View as plain text