docker: github.com/docker/docker/api/types/swarm/runtime Index | Files

package runtime

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

Index

Package Files

gen.go plugin.pb.go

Variables

var (
    ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowPlugin   = fmt.Errorf("proto: integer overflow")
)

type PluginPrivilege Uses

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 Uses

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

func (*PluginPrivilege) GetDescription Uses

func (m *PluginPrivilege) GetDescription() string

func (*PluginPrivilege) GetName Uses

func (m *PluginPrivilege) GetName() string

func (*PluginPrivilege) GetValue Uses

func (m *PluginPrivilege) GetValue() []string

func (*PluginPrivilege) Marshal Uses

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

func (*PluginPrivilege) MarshalTo Uses

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

func (*PluginPrivilege) ProtoMessage Uses

func (*PluginPrivilege) ProtoMessage()

func (*PluginPrivilege) Reset Uses

func (m *PluginPrivilege) Reset()

func (*PluginPrivilege) Size Uses

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

func (*PluginPrivilege) String Uses

func (m *PluginPrivilege) String() string

func (*PluginPrivilege) Unmarshal Uses

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

type PluginSpec Uses

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 Uses

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

func (*PluginSpec) GetDisabled Uses

func (m *PluginSpec) GetDisabled() bool

func (*PluginSpec) GetEnv Uses

func (m *PluginSpec) GetEnv() []string

func (*PluginSpec) GetName Uses

func (m *PluginSpec) GetName() string

func (*PluginSpec) GetPrivileges Uses

func (m *PluginSpec) GetPrivileges() []*PluginPrivilege

func (*PluginSpec) GetRemote Uses

func (m *PluginSpec) GetRemote() string

func (*PluginSpec) Marshal Uses

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

func (*PluginSpec) MarshalTo Uses

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

func (*PluginSpec) ProtoMessage Uses

func (*PluginSpec) ProtoMessage()

func (*PluginSpec) Reset Uses

func (m *PluginSpec) Reset()

func (*PluginSpec) Size Uses

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

func (*PluginSpec) String Uses

func (m *PluginSpec) String() string

func (*PluginSpec) Unmarshal Uses

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

Package runtime imports 4 packages (graph) and is imported by 24 packages. Updated 2019-07-19. Refresh now. Tools for package owners.