consul/proto-public/pbcatalog/v2beta1/failover_policy_deepcopy.ge...

70 lines
2.3 KiB
Go
Raw Normal View History

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