1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *DnsSpec) DeepCopyInto(out *DnsSpec) {
30 if in.Nameservers != nil {
31 in, out := &in.Nameservers, &out.Nameservers
32 *out = make([]string, len(*in))
36 in, out := &in.Search, &out.Search
37 *out = make([]string, len(*in))
40 if in.Options != nil {
41 in, out := &in.Options, &out.Options
42 *out = make([]string, len(*in))
48 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSpec.
49 func (in *DnsSpec) DeepCopy() *DnsSpec {
58 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
59 func (in *IpSubnet) DeepCopyInto(out *IpSubnet) {
64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpSubnet.
65 func (in *IpSubnet) DeepCopy() *IpSubnet {
74 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
75 func (in *Network) DeepCopyInto(out *Network) {
77 out.TypeMeta = in.TypeMeta
78 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
79 in.Spec.DeepCopyInto(&out.Spec)
80 out.Status = in.Status
84 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
85 func (in *Network) DeepCopy() *Network {
94 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
95 func (in *Network) DeepCopyObject() runtime.Object {
96 if c := in.DeepCopy(); c != nil {
102 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
103 func (in *NetworkList) DeepCopyInto(out *NetworkList) {
105 out.TypeMeta = in.TypeMeta
106 in.ListMeta.DeepCopyInto(&out.ListMeta)
108 in, out := &in.Items, &out.Items
109 *out = make([]Network, len(*in))
111 (*in)[i].DeepCopyInto(&(*out)[i])
117 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.
118 func (in *NetworkList) DeepCopy() *NetworkList {
122 out := new(NetworkList)
127 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
128 func (in *NetworkList) DeepCopyObject() runtime.Object {
129 if c := in.DeepCopy(); c != nil {
135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
136 func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec) {
138 if in.Ipv4Subnets != nil {
139 in, out := &in.Ipv4Subnets, &out.Ipv4Subnets
140 *out = make([]IpSubnet, len(*in))
143 if in.Ipv6Subnets != nil {
144 in, out := &in.Ipv6Subnets, &out.Ipv6Subnets
145 *out = make([]IpSubnet, len(*in))
148 in.DNS.DeepCopyInto(&out.DNS)
149 if in.Routes != nil {
150 in, out := &in.Routes, &out.Routes
151 *out = make([]Route, len(*in))
157 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
158 func (in *NetworkSpec) DeepCopy() *NetworkSpec {
162 out := new(NetworkSpec)
167 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
168 func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus) {
173 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.
174 func (in *NetworkStatus) DeepCopy() *NetworkStatus {
178 out := new(NetworkStatus)
183 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
184 func (in *ProviderNetwork) DeepCopyInto(out *ProviderNetwork) {
186 out.TypeMeta = in.TypeMeta
187 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
188 in.Spec.DeepCopyInto(&out.Spec)
189 out.Status = in.Status
193 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetwork.
194 func (in *ProviderNetwork) DeepCopy() *ProviderNetwork {
198 out := new(ProviderNetwork)
203 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
204 func (in *ProviderNetwork) DeepCopyObject() runtime.Object {
205 if c := in.DeepCopy(); c != nil {
211 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
212 func (in *ProviderNetworkList) DeepCopyInto(out *ProviderNetworkList) {
214 out.TypeMeta = in.TypeMeta
215 in.ListMeta.DeepCopyInto(&out.ListMeta)
217 in, out := &in.Items, &out.Items
218 *out = make([]ProviderNetwork, len(*in))
220 (*in)[i].DeepCopyInto(&(*out)[i])
226 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkList.
227 func (in *ProviderNetworkList) DeepCopy() *ProviderNetworkList {
231 out := new(ProviderNetworkList)
236 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
237 func (in *ProviderNetworkList) DeepCopyObject() runtime.Object {
238 if c := in.DeepCopy(); c != nil {
244 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
245 func (in *ProviderNetworkSpec) DeepCopyInto(out *ProviderNetworkSpec) {
247 if in.Ipv4Subnets != nil {
248 in, out := &in.Ipv4Subnets, &out.Ipv4Subnets
249 *out = make([]IpSubnet, len(*in))
252 if in.Ipv6Subnets != nil {
253 in, out := &in.Ipv6Subnets, &out.Ipv6Subnets
254 *out = make([]IpSubnet, len(*in))
257 in.DNS.DeepCopyInto(&out.DNS)
258 if in.Routes != nil {
259 in, out := &in.Routes, &out.Routes
260 *out = make([]Route, len(*in))
263 in.Vlan.DeepCopyInto(&out.Vlan)
267 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkSpec.
268 func (in *ProviderNetworkSpec) DeepCopy() *ProviderNetworkSpec {
272 out := new(ProviderNetworkSpec)
277 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
278 func (in *ProviderNetworkStatus) DeepCopyInto(out *ProviderNetworkStatus) {
283 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderNetworkStatus.
284 func (in *ProviderNetworkStatus) DeepCopy() *ProviderNetworkStatus {
288 out := new(ProviderNetworkStatus)
293 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
294 func (in *Route) DeepCopyInto(out *Route) {
299 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
300 func (in *Route) DeepCopy() *Route {
309 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
310 func (in *VlanSpec) DeepCopyInto(out *VlanSpec) {
312 if in.NodeLabelList != nil {
313 in, out := &in.NodeLabelList, &out.NodeLabelList
314 *out = make([]string, len(*in))
320 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanSpec.
321 func (in *VlanSpec) DeepCopy() *VlanSpec {