plugin

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

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")
	ErrUnexpectedEndOfGroupPlugin = fmt.Errorf("proto: unexpected end of group")
)
View Source
var E_Deepcopy = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.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:  (*descriptor.MessageOptions)(nil),
	ExtensionType: (*StoreObject)(nil),
	Field:         70001,
	Name:          "docker.protobuf.plugin.store_object",
	Tag:           "bytes,70001,opt,name=store_object",
	Filename:      "github.com/docker/swarmkit/protobuf/plugin/plugin.proto",
}
View Source
var E_TlsAuthorization = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*TLSAuthorization)(nil),
	Field:         73626345,
	Name:          "docker.protobuf.plugin.tls_authorization",
	Tag:           "bytes,73626345,opt,name=tls_authorization",
	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"`
}

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

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

func (*StoreObject) XXX_DiscardUnknown

func (m *StoreObject) XXX_DiscardUnknown()

func (*StoreObject) XXX_Marshal

func (m *StoreObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreObject) XXX_Merge

func (m *StoreObject) XXX_Merge(src proto.Message)

func (*StoreObject) XXX_Size

func (m *StoreObject) XXX_Size() int

func (*StoreObject) XXX_Unmarshal

func (m *StoreObject) XXX_Unmarshal(b []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"`
}

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

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

func (*TLSAuthorization) XXX_DiscardUnknown

func (m *TLSAuthorization) XXX_DiscardUnknown()

func (*TLSAuthorization) XXX_Marshal

func (m *TLSAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSAuthorization) XXX_Merge

func (m *TLSAuthorization) XXX_Merge(src proto.Message)

func (*TLSAuthorization) XXX_Size

func (m *TLSAuthorization) XXX_Size() int

func (*TLSAuthorization) XXX_Unmarshal

func (m *TLSAuthorization) XXX_Unmarshal(b []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"`
}

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

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

func (*WatchSelectors) XXX_DiscardUnknown

func (m *WatchSelectors) XXX_DiscardUnknown()

func (*WatchSelectors) XXX_Marshal

func (m *WatchSelectors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchSelectors) XXX_Merge

func (m *WatchSelectors) XXX_Merge(src proto.Message)

func (*WatchSelectors) XXX_Size

func (m *WatchSelectors) XXX_Size() int

func (*WatchSelectors) XXX_Unmarshal

func (m *WatchSelectors) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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