mirror of https://github.com/hashicorp/consul
19 lines
473 B
Go
19 lines
473 B
Go
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
||
|
// source: pbcatalog/v2beta1/selector.proto
|
||
|
|
||
|
package catalogv2beta1
|
||
|
|
||
|
import (
|
||
|
"google.golang.org/protobuf/proto"
|
||
|
)
|
||
|
|
||
|
// MarshalBinary implements encoding.BinaryMarshaler
|
||
|
func (msg *WorkloadSelector) MarshalBinary() ([]byte, error) {
|
||
|
return proto.Marshal(msg)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
||
|
func (msg *WorkloadSelector) UnmarshalBinary(b []byte) error {
|
||
|
return proto.Unmarshal(b, msg)
|
||
|
}
|