mirror of
https://github.com/status-im/consul.git
synced 2025-02-13 06:06:40 +00:00
Adds a new gRPC streaming endpoint (WatchRoots) that dataplane clients will use to fetch the current list of active Connect CA roots and receive new lists whenever the roots are rotated.
29 lines
756 B
Go
29 lines
756 B
Go
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
|
// source: proto-public/pbconnectca/ca.proto
|
|
|
|
package pbconnectca
|
|
|
|
import (
|
|
"github.com/golang/protobuf/proto"
|
|
)
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *WatchRootsResponse) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *WatchRootsResponse) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *CARoot) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *CARoot) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|