api/v1beta1/zz_generated.deepcopy.go (298 lines of code) (raw):
//go:build !ignore_autogenerated
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT license.
*/
// Code generated by controller-gen. DO NOT EDIT.
package v1beta1
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
// 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
}
// 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 *FromCluster) DeepCopyInto(out *FromCluster) {
*out = *in
out.ClusterStatus = in.ClusterStatus
if in.Weight != nil {
in, out := &in.Weight, &out.Weight
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FromCluster.
func (in *FromCluster) DeepCopy() *FromCluster {
if in == nil {
return nil
}
out := new(FromCluster)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MonitorConfig) DeepCopyInto(out *MonitorConfig) {
*out = *in
if in.IntervalInSeconds != nil {
in, out := &in.IntervalInSeconds, &out.IntervalInSeconds
*out = new(int64)
**out = **in
}
if in.Path != nil {
in, out := &in.Path, &out.Path
*out = new(string)
**out = **in
}
if in.Port != nil {
in, out := &in.Port, &out.Port
*out = new(int64)
**out = **in
}
if in.Protocol != nil {
in, out := &in.Protocol, &out.Protocol
*out = new(TrafficManagerMonitorProtocol)
**out = **in
}
if in.TimeoutInSeconds != nil {
in, out := &in.TimeoutInSeconds, &out.TimeoutInSeconds
*out = new(int64)
**out = **in
}
if in.ToleratedNumberOfFailures != nil {
in, out := &in.ToleratedNumberOfFailures, &out.ToleratedNumberOfFailures
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorConfig.
func (in *MonitorConfig) DeepCopy() *MonitorConfig {
if in == nil {
return nil
}
out := new(MonitorConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerBackend) DeepCopyInto(out *TrafficManagerBackend) {
*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 TrafficManagerBackend.
func (in *TrafficManagerBackend) DeepCopy() *TrafficManagerBackend {
if in == nil {
return nil
}
out := new(TrafficManagerBackend)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *TrafficManagerBackend) 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 *TrafficManagerBackendList) DeepCopyInto(out *TrafficManagerBackendList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]TrafficManagerBackend, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerBackendList.
func (in *TrafficManagerBackendList) DeepCopy() *TrafficManagerBackendList {
if in == nil {
return nil
}
out := new(TrafficManagerBackendList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *TrafficManagerBackendList) 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 *TrafficManagerBackendRef) DeepCopyInto(out *TrafficManagerBackendRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerBackendRef.
func (in *TrafficManagerBackendRef) DeepCopy() *TrafficManagerBackendRef {
if in == nil {
return nil
}
out := new(TrafficManagerBackendRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerBackendSpec) DeepCopyInto(out *TrafficManagerBackendSpec) {
*out = *in
out.Profile = in.Profile
out.Backend = in.Backend
if in.Weight != nil {
in, out := &in.Weight, &out.Weight
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerBackendSpec.
func (in *TrafficManagerBackendSpec) DeepCopy() *TrafficManagerBackendSpec {
if in == nil {
return nil
}
out := new(TrafficManagerBackendSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerBackendStatus) DeepCopyInto(out *TrafficManagerBackendStatus) {
*out = *in
if in.Endpoints != nil {
in, out := &in.Endpoints, &out.Endpoints
*out = make([]TrafficManagerEndpointStatus, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
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])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerBackendStatus.
func (in *TrafficManagerBackendStatus) DeepCopy() *TrafficManagerBackendStatus {
if in == nil {
return nil
}
out := new(TrafficManagerBackendStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerEndpointStatus) DeepCopyInto(out *TrafficManagerEndpointStatus) {
*out = *in
if in.Weight != nil {
in, out := &in.Weight, &out.Weight
*out = new(int64)
**out = **in
}
if in.Target != nil {
in, out := &in.Target, &out.Target
*out = new(string)
**out = **in
}
if in.From != nil {
in, out := &in.From, &out.From
*out = new(FromCluster)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerEndpointStatus.
func (in *TrafficManagerEndpointStatus) DeepCopy() *TrafficManagerEndpointStatus {
if in == nil {
return nil
}
out := new(TrafficManagerEndpointStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerProfile) DeepCopyInto(out *TrafficManagerProfile) {
*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 TrafficManagerProfile.
func (in *TrafficManagerProfile) DeepCopy() *TrafficManagerProfile {
if in == nil {
return nil
}
out := new(TrafficManagerProfile)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *TrafficManagerProfile) 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 *TrafficManagerProfileList) DeepCopyInto(out *TrafficManagerProfileList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]TrafficManagerProfile, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerProfileList.
func (in *TrafficManagerProfileList) DeepCopy() *TrafficManagerProfileList {
if in == nil {
return nil
}
out := new(TrafficManagerProfileList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *TrafficManagerProfileList) 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 *TrafficManagerProfileRef) DeepCopyInto(out *TrafficManagerProfileRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerProfileRef.
func (in *TrafficManagerProfileRef) DeepCopy() *TrafficManagerProfileRef {
if in == nil {
return nil
}
out := new(TrafficManagerProfileRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerProfileSpec) DeepCopyInto(out *TrafficManagerProfileSpec) {
*out = *in
if in.MonitorConfig != nil {
in, out := &in.MonitorConfig, &out.MonitorConfig
*out = new(MonitorConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerProfileSpec.
func (in *TrafficManagerProfileSpec) DeepCopy() *TrafficManagerProfileSpec {
if in == nil {
return nil
}
out := new(TrafficManagerProfileSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrafficManagerProfileStatus) DeepCopyInto(out *TrafficManagerProfileStatus) {
*out = *in
if in.DNSName != nil {
in, out := &in.DNSName, &out.DNSName
*out = new(string)
**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])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficManagerProfileStatus.
func (in *TrafficManagerProfileStatus) DeepCopy() *TrafficManagerProfileStatus {
if in == nil {
return nil
}
out := new(TrafficManagerProfileStatus)
in.DeepCopyInto(out)
return out
}