import "github.com/docker/docker/api/types/swarm/runtime"
Package runtime is a generated protocol buffer package.
It is generated from these files:
plugin.proto
It has these top-level messages:
PluginSpec PluginPrivilege
var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") )
type PluginPrivilege struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Value []string `protobuf:"bytes,3,rep,name=value" json:"value,omitempty"` }
PluginPrivilege describes a permission the user has to accept upon installing a plugin.
func (*PluginPrivilege) Descriptor() ([]byte, []int)
func (m *PluginPrivilege) GetDescription() string
func (m *PluginPrivilege) GetName() string
func (m *PluginPrivilege) GetValue() []string
func (m *PluginPrivilege) Marshal() (dAtA []byte, err error)
func (m *PluginPrivilege) MarshalTo(dAtA []byte) (int, error)
func (*PluginPrivilege) ProtoMessage()
func (m *PluginPrivilege) Reset()
func (m *PluginPrivilege) Size() (n int)
func (m *PluginPrivilege) String() string
func (m *PluginPrivilege) Unmarshal(dAtA []byte) error
type PluginSpec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` Privileges []*PluginPrivilege `protobuf:"bytes,3,rep,name=privileges" json:"privileges,omitempty"` Disabled bool `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"` Env []string `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"` }
PluginSpec defines the base payload which clients can specify for creating a service with the plugin runtime.
func (*PluginSpec) Descriptor() ([]byte, []int)
func (m *PluginSpec) GetDisabled() bool
func (m *PluginSpec) GetEnv() []string
func (m *PluginSpec) GetName() string
func (m *PluginSpec) GetPrivileges() []*PluginPrivilege
func (m *PluginSpec) GetRemote() string
func (m *PluginSpec) Marshal() (dAtA []byte, err error)
func (m *PluginSpec) MarshalTo(dAtA []byte) (int, error)
func (*PluginSpec) ProtoMessage()
func (m *PluginSpec) Reset()
func (m *PluginSpec) Size() (n int)
func (m *PluginSpec) String() string
func (m *PluginSpec) Unmarshal(dAtA []byte) error
Package runtime imports 4 packages (graph) and is imported by 73 packages. Updated 2019-07-19. Refresh now. Tools for package owners.