plugin

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2016 License: Apache-2.0 Imports: 9 Imported by: 116

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

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) 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

Directories

Path Synopsis
test
Package test is a generated protocol buffer package.
Package test is a generated protocol buffer package.
test
Package test is a generated protocol buffer package.
Package test is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL