consul/proto-public/pbmesh/v2beta1/computed_implicit_destinations_deepcopy.gen.go
R.B. Boyer 6742340878
mesh: add ComputedImplicitDestinations resource for future use (#20547)
Creates a new controller to create ComputedImplicitDestinations resources by 
composing ComputedRoutes, Services, and ComputedTrafficPermissions to 
infer all ParentRef services that could possibly send some portion of traffic to a 
Service that has at least one accessible Workload Identity. A followup PR will 
rewire the sidecar controller to make use of this new resource.

As this is a performance optimization, rather than a security feature the following 
aspects of traffic permissions have been ignored:

- DENY rules
- port rules (all ports are allowed)

Also:

- Add some v2 TestController machinery to help test complex dependency mappers.
2024-02-09 15:42:10 -06:00

49 lines
1.7 KiB
Go

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