consul/proto-public/pbmesh/v2beta1/expose_deepcopy.gen.go
Ashwin Venkatesh c2a0d4f9ca
Create DeepCopy() and Json Marshal/Unmarshal for proto-public (#19015)
* Override Marshal/UnmarshalJSON for proto-public types
* Generate Deepcopy() for proto-public types for Kubernetes CRDs.
2023-10-13 14:55:58 +00:00

49 lines
1.5 KiB
Go

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