consul/proto-public/pbauth/v1alpha1/computed_traffic_permissions.pb.binary.go
skpratt e5808d85f7
register traffic permission and workload identity types (#18704)
* add workload identity and traffic permission protos

* register new types

* add generated pb code

* fix exports.go path

* add proto newlines

* fix type name

Co-authored-by: Eric Haberkorn <erichaberkorn@gmail.com>

* address review

* fix protos and add tests

* fix validation constraints

* add tests

---------

Co-authored-by: Eric Haberkorn <erichaberkorn@gmail.com>
2023-09-14 12:40:54 -05:00

19 lines
509 B
Go

// Code generated by protoc-gen-go-binary. DO NOT EDIT.
// source: pbauth/v1alpha1/computed_traffic_permissions.proto
package authv1alpha1
import (
"google.golang.org/protobuf/proto"
)
// MarshalBinary implements encoding.BinaryMarshaler
func (msg *ComputedTrafficPermissions) MarshalBinary() ([]byte, error) {
return proto.Marshal(msg)
}
// UnmarshalBinary implements encoding.BinaryUnmarshaler
func (msg *ComputedTrafficPermissions) UnmarshalBinary(b []byte) error {
return proto.Unmarshal(b, msg)
}