332 lines
10 KiB
Go
332 lines
10 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2017 The Kubernetes Authors.
|
|
|
|
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.
|
|
*/
|
|
|
|
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
|
|
|
|
package federation
|
|
|
|
import (
|
|
v1 "k8s.io/api/core/v1"
|
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
api "k8s.io/kubernetes/pkg/api"
|
|
reflect "reflect"
|
|
)
|
|
|
|
func init() {
|
|
SchemeBuilder.Register(RegisterDeepCopies)
|
|
}
|
|
|
|
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
|
// to allow building arbitrary schemes.
|
|
//
|
|
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
|
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
|
return scheme.AddGeneratedDeepCopyFuncs(
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*Cluster).DeepCopyInto(out.(*Cluster))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&Cluster{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClusterCondition).DeepCopyInto(out.(*ClusterCondition))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClusterCondition{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClusterList).DeepCopyInto(out.(*ClusterList))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClusterList{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClusterPreferences).DeepCopyInto(out.(*ClusterPreferences))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClusterPreferences{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClusterServiceIngress).DeepCopyInto(out.(*ClusterServiceIngress))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClusterServiceIngress{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClusterSpec).DeepCopyInto(out.(*ClusterSpec))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClusterSpec{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClusterStatus).DeepCopyInto(out.(*ClusterStatus))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClusterStatus{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*FederatedServiceIngress).DeepCopyInto(out.(*FederatedServiceIngress))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&FederatedServiceIngress{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ReplicaAllocationPreferences).DeepCopyInto(out.(*ReplicaAllocationPreferences))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ReplicaAllocationPreferences{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ServerAddressByClientCIDR).DeepCopyInto(out.(*ServerAddressByClientCIDR))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ServerAddressByClientCIDR{})},
|
|
)
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Cluster) DeepCopyInto(out *Cluster) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
|
|
func (in *Cluster) DeepCopy() *Cluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Cluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Cluster) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) {
|
|
*out = *in
|
|
in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
|
|
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
|
|
func (in *ClusterCondition) DeepCopy() *ClusterCondition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterCondition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterList) DeepCopyInto(out *ClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Cluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
|
|
func (in *ClusterList) DeepCopy() *ClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterPreferences) DeepCopyInto(out *ClusterPreferences) {
|
|
*out = *in
|
|
if in.MaxReplicas != nil {
|
|
in, out := &in.MaxReplicas, &out.MaxReplicas
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences.
|
|
func (in *ClusterPreferences) DeepCopy() *ClusterPreferences {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterPreferences)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterServiceIngress) DeepCopyInto(out *ClusterServiceIngress) {
|
|
*out = *in
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]v1.LoadBalancerIngress, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress.
|
|
func (in *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterServiceIngress)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
|
|
*out = *in
|
|
if in.ServerAddressByClientCIDRs != nil {
|
|
in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs
|
|
*out = make([]ServerAddressByClientCIDR, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SecretRef != nil {
|
|
in, out := &in.SecretRef, &out.SecretRef
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(api.LocalObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
|
|
func (in *ClusterSpec) DeepCopy() *ClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]ClusterCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Zones != nil {
|
|
in, out := &in.Zones, &out.Zones
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
|
|
func (in *ClusterStatus) DeepCopy() *ClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FederatedServiceIngress) DeepCopyInto(out *FederatedServiceIngress) {
|
|
*out = *in
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ClusterServiceIngress, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress.
|
|
func (in *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FederatedServiceIngress)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ReplicaAllocationPreferences) DeepCopyInto(out *ReplicaAllocationPreferences) {
|
|
*out = *in
|
|
if in.Clusters != nil {
|
|
in, out := &in.Clusters, &out.Clusters
|
|
*out = make(map[string]ClusterPreferences, len(*in))
|
|
for key, val := range *in {
|
|
newVal := new(ClusterPreferences)
|
|
val.DeepCopyInto(newVal)
|
|
(*out)[key] = *newVal
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences.
|
|
func (in *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ReplicaAllocationPreferences)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
|
|
func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServerAddressByClientCIDR)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|