mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
0deebaf637
* Add HCCLink resource type * Register HCCLink resource type with basic validation * Add validation for required fields * Add test for default ACLs * Add no-op controller for HCCLink * Add resource-apis semantic validation check in hcclink controller * Add copyright headers * Rename HCCLink to Link * Add hcp_cluster_url to link proto * Update 'disabled' reason with more detail * Update link status name to consul.io/hcp/link * Change link version from v1 to v2 * Use feature flag/experiment to enable v2 resources with HCP
28 lines
760 B
Go
28 lines
760 B
Go
// Code generated by protoc-gen-deepcopy. DO NOT EDIT.
|
|
package hcpv2
|
|
|
|
import (
|
|
proto "google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// DeepCopyInto supports using Link within kubernetes types, where deepcopy-gen is used.
|
|
func (in *Link) DeepCopyInto(out *Link) {
|
|
proto.Reset(out)
|
|
proto.Merge(out, proto.Clone(in))
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link. Required by controller-gen.
|
|
func (in *Link) DeepCopy() *Link {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Link)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Link. Required by controller-gen.
|
|
func (in *Link) DeepCopyInterface() interface{} {
|
|
return in.DeepCopy()
|
|
}
|