package plugin
import "github.com/docker/swarmkit/protobuf/plugin"
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
Variables ¶
var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") )
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", }
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) MarshalTo ¶
func (m *TLSAuthorization) MarshalTo(data []byte) (int, 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
Source Files ¶
gen.go helpers.go plugin.pb.go
Directories ¶
Path | Synopsis |
---|---|
protobuf/plugin/authenticatedwrapper | |
protobuf/plugin/deepcopy | |
protobuf/plugin/deepcopy/test | Package test is a generated protocol buffer package. |
protobuf/plugin/raftproxy | |
protobuf/plugin/raftproxy/test | Package test is a generated protocol buffer package. |
- Version
- v1.12.0 (latest)
- Published
- Jul 26, 2016
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 8 hours ago –
Tools for package owners.