Documentation ¶
Overview ¶
Package plugin is a generated protocol buffer package.
It is generated from these files:
plugin.proto
It has these top-level messages:
TLSAuthorization
Index ¶
- Variables
- func DeepcopyEnabled(options *google_protobuf.MessageOptions) bool
- type TLSAuthorization
- func (*TLSAuthorization) Descriptor() ([]byte, []int)
- func (this *TLSAuthorization) GoString() string
- func (m *TLSAuthorization) Marshal() (data []byte, err error)
- func (m *TLSAuthorization) MarshalTo(data []byte) (int, error)
- func (*TLSAuthorization) ProtoMessage()
- func (m *TLSAuthorization) Reset()
- func (m *TLSAuthorization) Size() (n int)
- func (this *TLSAuthorization) String() string
- func (m *TLSAuthorization) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") )
View Source
var E_Deepcopy = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 70000, Name: "docker.protobuf.plugin.deepcopy", Tag: "varint,70000,opt,name=deepcopy,def=1", }
View Source
var E_TlsAuthorization = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MethodOptions)(nil), ExtensionType: (*TLSAuthorization)(nil), Field: 73626345, Name: "docker.protobuf.plugin.tls_authorization", Tag: "bytes,73626345,opt,name=tls_authorization,json=tlsAuthorization", }
Functions ¶
func DeepcopyEnabled ¶
func DeepcopyEnabled(options *google_protobuf.MessageOptions) bool
DeepcopyEnabled returns true if deepcopy is enabled for the descriptor.
Types ¶
type TLSAuthorization ¶
type TLSAuthorization struct { // Roles contains the acceptable TLS OU roles for the handler. Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"` // Insecure is set to true if this method does not require // authorization. NOTE: Specifying both "insecure" and a nonempty // list of roles is invalid. This would fail at codegen time. Insecure *bool `protobuf:"varint,2,opt,name=insecure" json:"insecure,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TLSAuthorization) Descriptor ¶
func (*TLSAuthorization) Descriptor() ([]byte, []int)
func (*TLSAuthorization) GoString ¶
func (this *TLSAuthorization) GoString() string
func (*TLSAuthorization) Marshal ¶
func (m *TLSAuthorization) Marshal() (data []byte, err error)
func (*TLSAuthorization) ProtoMessage ¶
func (*TLSAuthorization) ProtoMessage()
func (*TLSAuthorization) Reset ¶
func (m *TLSAuthorization) Reset()
func (*TLSAuthorization) Size ¶
func (m *TLSAuthorization) Size() (n int)
func (*TLSAuthorization) String ¶
func (this *TLSAuthorization) String() string
func (*TLSAuthorization) Unmarshal ¶
func (m *TLSAuthorization) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.