141 lines
3.9 KiB
Go
141 lines
3.9 KiB
Go
|
//go:build !ignore_autogenerated
|
||
|
|
||
|
/*
|
||
|
Copyright 2023 Peter Kurfer.
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
*/
|
||
|
|
||
|
// Code generated by controller-gen. DO NOT EDIT.
|
||
|
|
||
|
package v1alpha1
|
||
|
|
||
|
import (
|
||
|
"k8s.io/apimachinery/pkg/apis/meta/v1"
|
||
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||
|
netx "net"
|
||
|
)
|
||
|
|
||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
func (in *FloatingIP) DeepCopyInto(out *FloatingIP) {
|
||
|
*out = *in
|
||
|
out.TypeMeta = in.TypeMeta
|
||
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||
|
in.Spec.DeepCopyInto(&out.Spec)
|
||
|
in.Status.DeepCopyInto(&out.Status)
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatingIP.
|
||
|
func (in *FloatingIP) DeepCopy() *FloatingIP {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(FloatingIP)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *FloatingIP) DeepCopyObject() runtime.Object {
|
||
|
if c := in.DeepCopy(); c != nil {
|
||
|
return c
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
func (in *FloatingIPList) DeepCopyInto(out *FloatingIPList) {
|
||
|
*out = *in
|
||
|
out.TypeMeta = in.TypeMeta
|
||
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
if in.Items != nil {
|
||
|
in, out := &in.Items, &out.Items
|
||
|
*out = make([]FloatingIP, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatingIPList.
|
||
|
func (in *FloatingIPList) DeepCopy() *FloatingIPList {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(FloatingIPList)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *FloatingIPList) DeepCopyObject() runtime.Object {
|
||
|
if c := in.DeepCopy(); c != nil {
|
||
|
return c
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
func (in *FloatingIPSpec) DeepCopyInto(out *FloatingIPSpec) {
|
||
|
*out = *in
|
||
|
if in.Description != nil {
|
||
|
in, out := &in.Description, &out.Description
|
||
|
*out = new(string)
|
||
|
**out = **in
|
||
|
}
|
||
|
if in.Labels != nil {
|
||
|
in, out := &in.Labels, &out.Labels
|
||
|
*out = make(map[string]string, len(*in))
|
||
|
for key, val := range *in {
|
||
|
(*out)[key] = val
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatingIPSpec.
|
||
|
func (in *FloatingIPSpec) DeepCopy() *FloatingIPSpec {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(FloatingIPSpec)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
func (in *FloatingIPStatus) DeepCopyInto(out *FloatingIPStatus) {
|
||
|
*out = *in
|
||
|
if in.Conditions != nil {
|
||
|
in, out := &in.Conditions, &out.Conditions
|
||
|
*out = make([]v1.Condition, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
if in.IP != nil {
|
||
|
in, out := &in.IP, &out.IP
|
||
|
*out = make(netx.IP, len(*in))
|
||
|
copy(*out, *in)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatingIPStatus.
|
||
|
func (in *FloatingIPStatus) DeepCopy() *FloatingIPStatus {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(FloatingIPStatus)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|