1fd02a13c2
* Install `buf` instead of `protoc` * Created `buf.yaml` and `buf.gen.yaml` files in the two proto directories to control how `buf` generates/lints proto code. * Invoke `buf` instead of `protoc` * Added a `proto-format` make target. * Committed the reformatted proto files. * Added a `proto-lint` make target. * Integrated proto linting with CI * Fixed tons of proto linter warnings. * Got rid of deprecated builtin protoc-gen-go grpc plugin usage. Moved to direct usage of protoc-gen-go-grpc. * Unified all proto directories / go packages around using pb prefixes but ensuring all proto packages do not have the prefix.
59 lines
1.6 KiB
Go
59 lines
1.6 KiB
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 *WatchRootsRequest) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *WatchRootsRequest) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|
|
|
|
// 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)
|
|
}
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *SignRequest) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *SignRequest) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *SignResponse) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *SignResponse) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|