consul/proto-public/pbmesh/v2beta1/common_deepcopy.gen.go

49 lines
1.6 KiB
Go

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