mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
ad06c96456
This commit adds a new type ComputedDestinations that will contain all destinations from any Destinations resources and will be name-aligned with a workload. This also adds an explicit-destinations controller that computes these resources. This is needed to simplify the tracking we need to do currently in the sidecar-proxy controller and makes it easier to query all explicit destinations that apply to a workload.
19 lines
513 B
Go
19 lines
513 B
Go
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
|
// source: pbmesh/v2beta1/computed_explicit_destinations.proto
|
|
|
|
package meshv2beta1
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *ComputedExplicitDestinations) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *ComputedExplicitDestinations) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|