2023-09-13 13:03:42 +00:00
|
|
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
2023-09-22 16:51:15 +00:00
|
|
|
// source: pbmesh/v2beta1/pbproxystate/traffic_permissions.proto
|
2023-09-13 13:03:42 +00:00
|
|
|
|
|
|
|
package pbproxystate
|
|
|
|
|
|
|
|
import (
|
|
|
|
"google.golang.org/protobuf/proto"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
2023-09-15 16:31:22 +00:00
|
|
|
func (msg *TrafficPermissions) MarshalBinary() ([]byte, error) {
|
2023-09-13 13:03:42 +00:00
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
2023-09-15 16:31:22 +00:00
|
|
|
func (msg *TrafficPermissions) UnmarshalBinary(b []byte) error {
|
2023-09-13 13:03:42 +00:00
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
2023-09-15 16:31:22 +00:00
|
|
|
func (msg *Permission) MarshalBinary() ([]byte, error) {
|
2023-09-13 13:03:42 +00:00
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
2023-09-15 16:31:22 +00:00
|
|
|
func (msg *Permission) UnmarshalBinary(b []byte) error {
|
2023-09-13 13:03:42 +00:00
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
2023-09-15 16:31:22 +00:00
|
|
|
func (msg *Principal) MarshalBinary() ([]byte, error) {
|
2023-09-13 13:03:42 +00:00
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
2023-09-15 16:31:22 +00:00
|
|
|
func (msg *Principal) UnmarshalBinary(b []byte) error {
|
2023-09-13 13:03:42 +00:00
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *Spiffe) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *Spiffe) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|