plugin

package
v0.0.0-...-35d28e4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package plugin is a generated protocol buffer package.

It is generated from these files:

github.com/docker/swarmkit/protobuf/plugin/plugin.proto

It has these top-level messages:

WatchSelectors
StoreObject
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",
	Filename:      "github.com/docker/swarmkit/protobuf/plugin/plugin.proto",
}
View Source
var E_StoreObject = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.MessageOptions)(nil),
	ExtensionType: (*StoreObject)(nil),
	Field:         70001,
	Name:          "docker.protobuf.plugin.store_object",
	Tag:           "bytes,70001,opt,name=store_object,json=storeObject",
	Filename:      "github.com/docker/swarmkit/protobuf/plugin/plugin.proto",
}
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",
	Filename:      "github.com/docker/swarmkit/protobuf/plugin/plugin.proto",
}

Functions

func DeepcopyEnabled

func DeepcopyEnabled(options *google_protobuf.MessageOptions) bool

DeepcopyEnabled returns true if deepcopy is enabled for the descriptor.

Types

type StoreObject

type StoreObject struct {
	WatchSelectors   *WatchSelectors `protobuf:"bytes,1,req,name=watch_selectors,json=watchSelectors" json:"watch_selectors,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*StoreObject) Copy

func (m *StoreObject) Copy() *StoreObject

func (*StoreObject) CopyFrom

func (m *StoreObject) CopyFrom(src interface{})

func (*StoreObject) Descriptor

func (*StoreObject) Descriptor() ([]byte, []int)

func (*StoreObject) Marshal

func (m *StoreObject) Marshal() (dAtA []byte, err error)

func (*StoreObject) MarshalTo

func (m *StoreObject) MarshalTo(dAtA []byte) (int, error)

func (*StoreObject) ProtoMessage

func (*StoreObject) ProtoMessage()

func (*StoreObject) Reset

func (m *StoreObject) Reset()

func (*StoreObject) Size

func (m *StoreObject) Size() (n int)

func (*StoreObject) String

func (this *StoreObject) String() string

func (*StoreObject) Unmarshal

func (m *StoreObject) Unmarshal(dAtA []byte) error

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

func (*TLSAuthorization) CopyFrom

func (m *TLSAuthorization) CopyFrom(src interface{})

func (*TLSAuthorization) Descriptor

func (*TLSAuthorization) Descriptor() ([]byte, []int)

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

type WatchSelectors

type WatchSelectors struct {
	// supported by all object types
	ID           *bool `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	IDPrefix     *bool `protobuf:"varint,2,opt,name=id_prefix,json=idPrefix" json:"id_prefix,omitempty"`
	Name         *bool `protobuf:"varint,3,opt,name=name" json:"name,omitempty"`
	NamePrefix   *bool `protobuf:"varint,4,opt,name=name_prefix,json=namePrefix" json:"name_prefix,omitempty"`
	Custom       *bool `protobuf:"varint,5,opt,name=custom" json:"custom,omitempty"`
	CustomPrefix *bool `protobuf:"varint,6,opt,name=custom_prefix,json=customPrefix" json:"custom_prefix,omitempty"`
	// supported by tasks only
	ServiceID    *bool `protobuf:"varint,7,opt,name=service_id,json=serviceId" json:"service_id,omitempty"`
	NodeID       *bool `protobuf:"varint,8,opt,name=node_id,json=nodeId" json:"node_id,omitempty"`
	Slot         *bool `protobuf:"varint,9,opt,name=slot" json:"slot,omitempty"`
	DesiredState *bool `protobuf:"varint,10,opt,name=desired_state,json=desiredState" json:"desired_state,omitempty"`
	// supported by nodes only
	Role       *bool `protobuf:"varint,11,opt,name=role" json:"role,omitempty"`
	Membership *bool `protobuf:"varint,12,opt,name=membership" json:"membership,omitempty"`
	// supported by: resource
	Kind             *bool  `protobuf:"varint,13,opt,name=kind" json:"kind,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*WatchSelectors) Copy

func (m *WatchSelectors) Copy() *WatchSelectors

func (*WatchSelectors) CopyFrom

func (m *WatchSelectors) CopyFrom(src interface{})

func (*WatchSelectors) Descriptor

func (*WatchSelectors) Descriptor() ([]byte, []int)

func (*WatchSelectors) Marshal

func (m *WatchSelectors) Marshal() (dAtA []byte, err error)

func (*WatchSelectors) MarshalTo

func (m *WatchSelectors) MarshalTo(dAtA []byte) (int, error)

func (*WatchSelectors) ProtoMessage

func (*WatchSelectors) ProtoMessage()

func (*WatchSelectors) Reset

func (m *WatchSelectors) Reset()

func (*WatchSelectors) Size

func (m *WatchSelectors) Size() (n int)

func (*WatchSelectors) String

func (this *WatchSelectors) String() string

func (*WatchSelectors) Unmarshal

func (m *WatchSelectors) 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