consul/proto-public/pbmesh/v2beta1/destination_policy_deepcopy...

175 lines
5.9 KiB
Go

// Code generated by protoc-gen-deepcopy. DO NOT EDIT.
package meshv2beta1
import (
proto "google.golang.org/protobuf/proto"
)
// DeepCopyInto supports using DestinationPolicy within kubernetes types, where deepcopy-gen is used.
func (in *DestinationPolicy) DeepCopyInto(out *DestinationPolicy) {
p := proto.Clone(in).(*DestinationPolicy)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPolicy. Required by controller-gen.
func (in *DestinationPolicy) DeepCopy() *DestinationPolicy {
if in == nil {
return nil
}
out := new(DestinationPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationPolicy. Required by controller-gen.
func (in *DestinationPolicy) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using DestinationConfig within kubernetes types, where deepcopy-gen is used.
func (in *DestinationConfig) DeepCopyInto(out *DestinationConfig) {
p := proto.Clone(in).(*DestinationConfig)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfig. Required by controller-gen.
func (in *DestinationConfig) DeepCopy() *DestinationConfig {
if in == nil {
return nil
}
out := new(DestinationConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DestinationConfig. Required by controller-gen.
func (in *DestinationConfig) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using LocalityPrioritization within kubernetes types, where deepcopy-gen is used.
func (in *LocalityPrioritization) DeepCopyInto(out *LocalityPrioritization) {
p := proto.Clone(in).(*LocalityPrioritization)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalityPrioritization. Required by controller-gen.
func (in *LocalityPrioritization) DeepCopy() *LocalityPrioritization {
if in == nil {
return nil
}
out := new(LocalityPrioritization)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LocalityPrioritization. Required by controller-gen.
func (in *LocalityPrioritization) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using LoadBalancer within kubernetes types, where deepcopy-gen is used.
func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer) {
p := proto.Clone(in).(*LoadBalancer)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer. Required by controller-gen.
func (in *LoadBalancer) DeepCopy() *LoadBalancer {
if in == nil {
return nil
}
out := new(LoadBalancer)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer. Required by controller-gen.
func (in *LoadBalancer) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using RingHashConfig within kubernetes types, where deepcopy-gen is used.
func (in *RingHashConfig) DeepCopyInto(out *RingHashConfig) {
p := proto.Clone(in).(*RingHashConfig)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RingHashConfig. Required by controller-gen.
func (in *RingHashConfig) DeepCopy() *RingHashConfig {
if in == nil {
return nil
}
out := new(RingHashConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new RingHashConfig. Required by controller-gen.
func (in *RingHashConfig) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using LeastRequestConfig within kubernetes types, where deepcopy-gen is used.
func (in *LeastRequestConfig) DeepCopyInto(out *LeastRequestConfig) {
p := proto.Clone(in).(*LeastRequestConfig)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeastRequestConfig. Required by controller-gen.
func (in *LeastRequestConfig) DeepCopy() *LeastRequestConfig {
if in == nil {
return nil
}
out := new(LeastRequestConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new LeastRequestConfig. Required by controller-gen.
func (in *LeastRequestConfig) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using HashPolicy within kubernetes types, where deepcopy-gen is used.
func (in *HashPolicy) DeepCopyInto(out *HashPolicy) {
p := proto.Clone(in).(*HashPolicy)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HashPolicy. Required by controller-gen.
func (in *HashPolicy) DeepCopy() *HashPolicy {
if in == nil {
return nil
}
out := new(HashPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new HashPolicy. Required by controller-gen.
func (in *HashPolicy) DeepCopyInterface() interface{} {
return in.DeepCopy()
}
// DeepCopyInto supports using CookieConfig within kubernetes types, where deepcopy-gen is used.
func (in *CookieConfig) DeepCopyInto(out *CookieConfig) {
p := proto.Clone(in).(*CookieConfig)
*out = *p
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CookieConfig. Required by controller-gen.
func (in *CookieConfig) DeepCopy() *CookieConfig {
if in == nil {
return nil
}
out := new(CookieConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CookieConfig. Required by controller-gen.
func (in *CookieConfig) DeepCopyInterface() interface{} {
return in.DeepCopy()
}