mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
341dc28ff9
* add namespace proto and registration * fix proto generation * add missing copywrite headers * fix proto linter errors * fix exports and Type export * add mutate hook and more validation * add more validation rules and tests * Apply suggestions from code review Co-authored-by: Semir Patel <semir.patel@hashicorp.com> * fix owner error and add test * remove ACL for now * add tests around space suffix prefix. * only fait when ns and ap are default, add test for it --------- Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
19 lines
462 B
Go
19 lines
462 B
Go
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
|
// source: pbtenancy/v1alpha1/namespace.proto
|
|
|
|
package tenancyv1alpha1
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *Namespace) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *Namespace) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|