consul/proto-public/pbresource/annotations_deepcopy.gen.go

28 lines
873 B
Go
Raw Normal View History

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