v1

package
v0.0.0-...-d615174 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Root = "/var/lib/boss"

	DefaultRuntime   = "io.containerd.runc.v1"
	DefaultNamespace = "boss"
)

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath(id, name string) string

func NetworkPath

func NetworkPath(id string) string

func RegisterAgentServer

func RegisterAgentServer(s *grpc.Server, srv AgentServer)

func StatePath

func StatePath(id string) string

Types

type AgentClient

type AgentClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*types.Empty, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error)
	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	PushBuild(ctx context.Context, in *PushBuildRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Checkpoint(ctx context.Context, in *CheckpointRequest, opts ...grpc.CallOption) (*CheckpointResponse, error)
	Restore(ctx context.Context, in *RestoreRequest, opts ...grpc.CallOption) (*RestoreResponse, error)
	Migrate(ctx context.Context, in *MigrateRequest, opts ...grpc.CallOption) (*MigrateResponse, error)
}

AgentClient is the client API for Agent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAgentClient

func NewAgentClient(cc *grpc.ClientConn) AgentClient

type CheckpointRequest

type CheckpointRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ref                  string   `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	Live                 bool     `protobuf:"varint,3,opt,name=live,proto3" json:"live,omitempty"`
	Exit                 bool     `protobuf:"varint,4,opt,name=exit,proto3" json:"exit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckpointRequest) Descriptor

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

func (*CheckpointRequest) GetExit

func (m *CheckpointRequest) GetExit() bool

func (*CheckpointRequest) GetID

func (m *CheckpointRequest) GetID() string

func (*CheckpointRequest) GetLive

func (m *CheckpointRequest) GetLive() bool

func (*CheckpointRequest) GetRef

func (m *CheckpointRequest) GetRef() string

func (*CheckpointRequest) ProtoMessage

func (*CheckpointRequest) ProtoMessage()

func (*CheckpointRequest) Reset

func (m *CheckpointRequest) Reset()

func (*CheckpointRequest) String

func (m *CheckpointRequest) String() string

func (*CheckpointRequest) XXX_DiscardUnknown

func (m *CheckpointRequest) XXX_DiscardUnknown()

func (*CheckpointRequest) XXX_Marshal

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

func (*CheckpointRequest) XXX_Merge

func (dst *CheckpointRequest) XXX_Merge(src proto.Message)

func (*CheckpointRequest) XXX_Size

func (m *CheckpointRequest) XXX_Size() int

func (*CheckpointRequest) XXX_Unmarshal

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

type CheckpointResponse

type CheckpointResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckpointResponse) Descriptor

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

func (*CheckpointResponse) ProtoMessage

func (*CheckpointResponse) ProtoMessage()

func (*CheckpointResponse) Reset

func (m *CheckpointResponse) Reset()

func (*CheckpointResponse) String

func (m *CheckpointResponse) String() string

func (*CheckpointResponse) XXX_DiscardUnknown

func (m *CheckpointResponse) XXX_DiscardUnknown()

func (*CheckpointResponse) XXX_Marshal

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

func (*CheckpointResponse) XXX_Merge

func (dst *CheckpointResponse) XXX_Merge(src proto.Message)

func (*CheckpointResponse) XXX_Size

func (m *CheckpointResponse) XXX_Size() int

func (*CheckpointResponse) XXX_Unmarshal

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

type Config

type Config struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Source               string   `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Signal               string   `protobuf:"bytes,3,opt,name=signal,proto3" json:"signal,omitempty"`
	Content              string   `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Config) Descriptor

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

func (*Config) GetContent

func (m *Config) GetContent() string

func (*Config) GetPath

func (m *Config) GetPath() string

func (*Config) GetSignal

func (m *Config) GetSignal() string

func (*Config) GetSource

func (m *Config) GetSource() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

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

func (*Config) XXX_Merge

func (dst *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

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

type Container

type Container struct {
	ID                   string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Image                string              `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Network              string              `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Process              *Process            `protobuf:"bytes,4,opt,name=process" json:"process,omitempty"`
	Mounts               []*Mount            `protobuf:"bytes,5,rep,name=mounts" json:"mounts,omitempty"`
	Resources            *Resources          `protobuf:"bytes,6,opt,name=resources" json:"resources,omitempty"`
	Gpus                 *GPUs               `protobuf:"bytes,7,opt,name=gpus" json:"gpus,omitempty"`
	Services             map[string]*Service `` /* 143-byte string literal not displayed */
	Configs              map[string]*Config  `` /* 141-byte string literal not displayed */
	Readonly             bool                `protobuf:"varint,10,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Volumes              []*Volume           `protobuf:"bytes,11,rep,name=volumes" json:"volumes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Container) Descriptor

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

func (*Container) GetConfigs

func (m *Container) GetConfigs() map[string]*Config

func (*Container) GetGpus

func (m *Container) GetGpus() *GPUs

func (*Container) GetID

func (m *Container) GetID() string

func (*Container) GetImage

func (m *Container) GetImage() string

func (*Container) GetMounts

func (m *Container) GetMounts() []*Mount

func (*Container) GetNetwork

func (m *Container) GetNetwork() string

func (*Container) GetProcess

func (m *Container) GetProcess() *Process

func (*Container) GetReadonly

func (m *Container) GetReadonly() bool

func (*Container) GetResources

func (m *Container) GetResources() *Resources

func (*Container) GetServices

func (m *Container) GetServices() map[string]*Service

func (*Container) GetVolumes

func (m *Container) GetVolumes() []*Volume

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

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

func (*Container) XXX_Merge

func (dst *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

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

type ContainerInfo

type ContainerInfo struct {
	ID                   string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Image                string      `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Status               string      `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	IP                   string      `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Cpu                  uint64      `protobuf:"varint,5,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemoryUsage          float64     `protobuf:"fixed64,6,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
	MemoryLimit          float64     `protobuf:"fixed64,7,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	PidUsage             uint64      `protobuf:"varint,8,opt,name=pid_usage,json=pidUsage,proto3" json:"pid_usage,omitempty"`
	PidLimit             uint64      `protobuf:"varint,9,opt,name=pid_limit,json=pidLimit,proto3" json:"pid_limit,omitempty"`
	FsSize               int64       `protobuf:"varint,10,opt,name=fs_size,json=fsSize,proto3" json:"fs_size,omitempty"`
	Config               *Container  `protobuf:"bytes,11,opt,name=config" json:"config,omitempty"`
	Snapshots            []*Snapshot `protobuf:"bytes,12,rep,name=snapshots" json:"snapshots,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ContainerInfo) Descriptor

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

func (*ContainerInfo) GetConfig

func (m *ContainerInfo) GetConfig() *Container

func (*ContainerInfo) GetCpu

func (m *ContainerInfo) GetCpu() uint64

func (*ContainerInfo) GetFsSize

func (m *ContainerInfo) GetFsSize() int64

func (*ContainerInfo) GetID

func (m *ContainerInfo) GetID() string

func (*ContainerInfo) GetIP

func (m *ContainerInfo) GetIP() string

func (*ContainerInfo) GetImage

func (m *ContainerInfo) GetImage() string

func (*ContainerInfo) GetMemoryLimit

func (m *ContainerInfo) GetMemoryLimit() float64

func (*ContainerInfo) GetMemoryUsage

func (m *ContainerInfo) GetMemoryUsage() float64

func (*ContainerInfo) GetPidLimit

func (m *ContainerInfo) GetPidLimit() uint64

func (*ContainerInfo) GetPidUsage

func (m *ContainerInfo) GetPidUsage() uint64

func (*ContainerInfo) GetSnapshots

func (m *ContainerInfo) GetSnapshots() []*Snapshot

func (*ContainerInfo) GetStatus

func (m *ContainerInfo) GetStatus() string

func (*ContainerInfo) ProtoMessage

func (*ContainerInfo) ProtoMessage()

func (*ContainerInfo) Reset

func (m *ContainerInfo) Reset()

func (*ContainerInfo) String

func (m *ContainerInfo) String() string

func (*ContainerInfo) XXX_DiscardUnknown

func (m *ContainerInfo) XXX_DiscardUnknown()

func (*ContainerInfo) XXX_Marshal

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

func (*ContainerInfo) XXX_Merge

func (dst *ContainerInfo) XXX_Merge(src proto.Message)

func (*ContainerInfo) XXX_Size

func (m *ContainerInfo) XXX_Size() int

func (*ContainerInfo) XXX_Unmarshal

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

type CreateRequest

type CreateRequest struct {
	Container            *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
	Update               bool       `protobuf:"varint,2,opt,name=update,proto3" json:"update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CreateRequest) Descriptor

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

func (*CreateRequest) GetContainer

func (m *CreateRequest) GetContainer() *Container

func (*CreateRequest) GetUpdate

func (m *CreateRequest) GetUpdate() bool

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) Reset

func (m *CreateRequest) Reset()

func (*CreateRequest) String

func (m *CreateRequest) String() string

func (*CreateRequest) XXX_DiscardUnknown

func (m *CreateRequest) XXX_DiscardUnknown()

func (*CreateRequest) XXX_Marshal

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

func (*CreateRequest) XXX_Merge

func (dst *CreateRequest) XXX_Merge(src proto.Message)

func (*CreateRequest) XXX_Size

func (m *CreateRequest) XXX_Size() int

func (*CreateRequest) XXX_Unmarshal

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

type DeleteRequest

type DeleteRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetID

func (m *DeleteRequest) GetID() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

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

func (*DeleteRequest) XXX_Merge

func (dst *DeleteRequest) XXX_Merge(src proto.Message)

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

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

type GPUs

type GPUs struct {
	Devices              []int64  `protobuf:"varint,1,rep,packed,name=devices" json:"devices,omitempty"`
	Capabilities         []string `protobuf:"bytes,2,rep,name=capabilities" json:"capabilities,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GPUs) Descriptor

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

func (*GPUs) GetCapabilities

func (m *GPUs) GetCapabilities() []string

func (*GPUs) GetDevices

func (m *GPUs) GetDevices() []int64

func (*GPUs) ProtoMessage

func (*GPUs) ProtoMessage()

func (*GPUs) Reset

func (m *GPUs) Reset()

func (*GPUs) String

func (m *GPUs) String() string

func (*GPUs) XXX_DiscardUnknown

func (m *GPUs) XXX_DiscardUnknown()

func (*GPUs) XXX_Marshal

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

func (*GPUs) XXX_Merge

func (dst *GPUs) XXX_Merge(src proto.Message)

func (*GPUs) XXX_Size

func (m *GPUs) XXX_Size() int

func (*GPUs) XXX_Unmarshal

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

type GetRequest

type GetRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRequest) Descriptor

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

func (*GetRequest) GetID

func (m *GetRequest) GetID() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

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

func (*GetRequest) XXX_Merge

func (dst *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

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

type GetResponse

type GetResponse struct {
	Container            *ContainerInfo `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetResponse) Descriptor

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

func (*GetResponse) GetContainer

func (m *GetResponse) GetContainer() *ContainerInfo

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

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

func (*GetResponse) XXX_Merge

func (dst *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

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

type HealthCheck

type HealthCheck struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Interval             int64    `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"`
	Timeout              int64    `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Method               string   `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheck) Descriptor

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

func (*HealthCheck) GetInterval

func (m *HealthCheck) GetInterval() int64

func (*HealthCheck) GetMethod

func (m *HealthCheck) GetMethod() string

func (*HealthCheck) GetTimeout

func (m *HealthCheck) GetTimeout() int64

func (*HealthCheck) GetType

func (m *HealthCheck) GetType() string

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) Reset

func (m *HealthCheck) Reset()

func (*HealthCheck) String

func (m *HealthCheck) String() string

func (*HealthCheck) XXX_DiscardUnknown

func (m *HealthCheck) XXX_DiscardUnknown()

func (*HealthCheck) XXX_Marshal

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

func (*HealthCheck) XXX_Merge

func (dst *HealthCheck) XXX_Merge(src proto.Message)

func (*HealthCheck) XXX_Size

func (m *HealthCheck) XXX_Size() int

func (*HealthCheck) XXX_Unmarshal

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

type KillRequest

type KillRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Signal               uint32   `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KillRequest) Descriptor

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

func (*KillRequest) GetID

func (m *KillRequest) GetID() string

func (*KillRequest) GetSignal

func (m *KillRequest) GetSignal() uint32

func (*KillRequest) ProtoMessage

func (*KillRequest) ProtoMessage()

func (*KillRequest) Reset

func (m *KillRequest) Reset()

func (*KillRequest) String

func (m *KillRequest) String() string

func (*KillRequest) XXX_DiscardUnknown

func (m *KillRequest) XXX_DiscardUnknown()

func (*KillRequest) XXX_Marshal

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

func (*KillRequest) XXX_Merge

func (dst *KillRequest) XXX_Merge(src proto.Message)

func (*KillRequest) XXX_Size

func (m *KillRequest) XXX_Size() int

func (*KillRequest) XXX_Unmarshal

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

type ListRequest

type ListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListRequest) Descriptor

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

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

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

func (*ListRequest) XXX_Merge

func (dst *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

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

type ListResponse

type ListResponse struct {
	Containers           []*ContainerInfo `protobuf:"bytes,1,rep,name=containers" json:"containers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListResponse) Descriptor

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

func (*ListResponse) GetContainers

func (m *ListResponse) GetContainers() []*ContainerInfo

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

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

func (*ListResponse) XXX_Merge

func (dst *ListResponse) XXX_Merge(src proto.Message)

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

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

type MigrateRequest

type MigrateRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ref                  string   `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	Live                 bool     `protobuf:"varint,3,opt,name=live,proto3" json:"live,omitempty"`
	Stop                 bool     `protobuf:"varint,4,opt,name=stop,proto3" json:"stop,omitempty"`
	To                   string   `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
	Delete               bool     `protobuf:"varint,6,opt,name=delete,proto3" json:"delete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MigrateRequest) Descriptor

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

func (*MigrateRequest) GetDelete

func (m *MigrateRequest) GetDelete() bool

func (*MigrateRequest) GetID

func (m *MigrateRequest) GetID() string

func (*MigrateRequest) GetLive

func (m *MigrateRequest) GetLive() bool

func (*MigrateRequest) GetRef

func (m *MigrateRequest) GetRef() string

func (*MigrateRequest) GetStop

func (m *MigrateRequest) GetStop() bool

func (*MigrateRequest) GetTo

func (m *MigrateRequest) GetTo() string

func (*MigrateRequest) ProtoMessage

func (*MigrateRequest) ProtoMessage()

func (*MigrateRequest) Reset

func (m *MigrateRequest) Reset()

func (*MigrateRequest) String

func (m *MigrateRequest) String() string

func (*MigrateRequest) XXX_DiscardUnknown

func (m *MigrateRequest) XXX_DiscardUnknown()

func (*MigrateRequest) XXX_Marshal

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

func (*MigrateRequest) XXX_Merge

func (dst *MigrateRequest) XXX_Merge(src proto.Message)

func (*MigrateRequest) XXX_Size

func (m *MigrateRequest) XXX_Size() int

func (*MigrateRequest) XXX_Unmarshal

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

type MigrateResponse

type MigrateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MigrateResponse) Descriptor

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

func (*MigrateResponse) ProtoMessage

func (*MigrateResponse) ProtoMessage()

func (*MigrateResponse) Reset

func (m *MigrateResponse) Reset()

func (*MigrateResponse) String

func (m *MigrateResponse) String() string

func (*MigrateResponse) XXX_DiscardUnknown

func (m *MigrateResponse) XXX_DiscardUnknown()

func (*MigrateResponse) XXX_Marshal

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

func (*MigrateResponse) XXX_Merge

func (dst *MigrateResponse) XXX_Merge(src proto.Message)

func (*MigrateResponse) XXX_Size

func (m *MigrateResponse) XXX_Size() int

func (*MigrateResponse) XXX_Unmarshal

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

type Mount

type Mount struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Source               string   `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Destination          string   `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	Options              []string `protobuf:"bytes,4,rep,name=options" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Mount) Descriptor

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

func (*Mount) GetDestination

func (m *Mount) GetDestination() string

func (*Mount) GetOptions

func (m *Mount) GetOptions() []string

func (*Mount) GetSource

func (m *Mount) GetSource() string

func (*Mount) GetType

func (m *Mount) GetType() string

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) Reset

func (m *Mount) Reset()

func (*Mount) String

func (m *Mount) String() string

func (*Mount) XXX_DiscardUnknown

func (m *Mount) XXX_DiscardUnknown()

func (*Mount) XXX_Marshal

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

func (*Mount) XXX_Merge

func (dst *Mount) XXX_Merge(src proto.Message)

func (*Mount) XXX_Size

func (m *Mount) XXX_Size() int

func (*Mount) XXX_Unmarshal

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

type Network

type Network interface {
	Create(context.Context, containerd.Container) (string, error)
	Remove(context.Context, containerd.Container) error
}

type Process

type Process struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
	Args                 []string `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	Env                  []string `protobuf:"bytes,3,rep,name=env" json:"env,omitempty"`
	Capabilities         []string `protobuf:"bytes,4,rep,name=capabilities" json:"capabilities,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Process) Descriptor

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

func (*Process) GetArgs

func (m *Process) GetArgs() []string

func (*Process) GetCapabilities

func (m *Process) GetCapabilities() []string

func (*Process) GetEnv

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

func (*Process) GetUser

func (m *Process) GetUser() *User

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) Reset

func (m *Process) Reset()

func (*Process) String

func (m *Process) String() string

func (*Process) XXX_DiscardUnknown

func (m *Process) XXX_DiscardUnknown()

func (*Process) XXX_Marshal

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

func (*Process) XXX_Merge

func (dst *Process) XXX_Merge(src proto.Message)

func (*Process) XXX_Size

func (m *Process) XXX_Size() int

func (*Process) XXX_Unmarshal

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

type PushBuildRequest

type PushBuildRequest struct {
	Ref                  string   `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushBuildRequest) Descriptor

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

func (*PushBuildRequest) GetRef

func (m *PushBuildRequest) GetRef() string

func (*PushBuildRequest) ProtoMessage

func (*PushBuildRequest) ProtoMessage()

func (*PushBuildRequest) Reset

func (m *PushBuildRequest) Reset()

func (*PushBuildRequest) String

func (m *PushBuildRequest) String() string

func (*PushBuildRequest) XXX_DiscardUnknown

func (m *PushBuildRequest) XXX_DiscardUnknown()

func (*PushBuildRequest) XXX_Marshal

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

func (*PushBuildRequest) XXX_Merge

func (dst *PushBuildRequest) XXX_Merge(src proto.Message)

func (*PushBuildRequest) XXX_Size

func (m *PushBuildRequest) XXX_Size() int

func (*PushBuildRequest) XXX_Unmarshal

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

type PushRequest

type PushRequest struct {
	Ref                  string   `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Build                bool     `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushRequest) Descriptor

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

func (*PushRequest) GetBuild

func (m *PushRequest) GetBuild() bool

func (*PushRequest) GetRef

func (m *PushRequest) GetRef() string

func (*PushRequest) ProtoMessage

func (*PushRequest) ProtoMessage()

func (*PushRequest) Reset

func (m *PushRequest) Reset()

func (*PushRequest) String

func (m *PushRequest) String() string

func (*PushRequest) XXX_DiscardUnknown

func (m *PushRequest) XXX_DiscardUnknown()

func (*PushRequest) XXX_Marshal

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

func (*PushRequest) XXX_Merge

func (dst *PushRequest) XXX_Merge(src proto.Message)

func (*PushRequest) XXX_Size

func (m *PushRequest) XXX_Size() int

func (*PushRequest) XXX_Unmarshal

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

type Register

type Register interface {
	Register(id, name, ip string, s *Service) error
	Deregister(id, name string) error
	EnableMaintainance(id, name, msg string) error
	DisableMaintainance(id, name string) error
}

Register is an object that registers and manages service information in its backend

type Resources

type Resources struct {
	Cpus                 float64  `protobuf:"fixed64,1,opt,name=cpus,proto3" json:"cpus,omitempty"`
	Memory               int64    `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Score                int64    `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
	NoFile               uint64   `protobuf:"varint,4,opt,name=no_file,json=noFile,proto3" json:"no_file,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resources) Descriptor

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

func (*Resources) GetCpus

func (m *Resources) GetCpus() float64

func (*Resources) GetMemory

func (m *Resources) GetMemory() int64

func (*Resources) GetNoFile

func (m *Resources) GetNoFile() uint64

func (*Resources) GetScore

func (m *Resources) GetScore() int64

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) Reset

func (m *Resources) Reset()

func (*Resources) String

func (m *Resources) String() string

func (*Resources) XXX_DiscardUnknown

func (m *Resources) XXX_DiscardUnknown()

func (*Resources) XXX_Marshal

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

func (*Resources) XXX_Merge

func (dst *Resources) XXX_Merge(src proto.Message)

func (*Resources) XXX_Size

func (m *Resources) XXX_Size() int

func (*Resources) XXX_Unmarshal

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

type RestoreRequest

type RestoreRequest struct {
	Ref                  string   `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Live                 bool     `protobuf:"varint,2,opt,name=live,proto3" json:"live,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreRequest) Descriptor

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

func (*RestoreRequest) GetLive

func (m *RestoreRequest) GetLive() bool

func (*RestoreRequest) GetRef

func (m *RestoreRequest) GetRef() string

func (*RestoreRequest) ProtoMessage

func (*RestoreRequest) ProtoMessage()

func (*RestoreRequest) Reset

func (m *RestoreRequest) Reset()

func (*RestoreRequest) String

func (m *RestoreRequest) String() string

func (*RestoreRequest) XXX_DiscardUnknown

func (m *RestoreRequest) XXX_DiscardUnknown()

func (*RestoreRequest) XXX_Marshal

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

func (*RestoreRequest) XXX_Merge

func (dst *RestoreRequest) XXX_Merge(src proto.Message)

func (*RestoreRequest) XXX_Size

func (m *RestoreRequest) XXX_Size() int

func (*RestoreRequest) XXX_Unmarshal

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

type RestoreResponse

type RestoreResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RestoreResponse) Descriptor

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

func (*RestoreResponse) ProtoMessage

func (*RestoreResponse) ProtoMessage()

func (*RestoreResponse) Reset

func (m *RestoreResponse) Reset()

func (*RestoreResponse) String

func (m *RestoreResponse) String() string

func (*RestoreResponse) XXX_DiscardUnknown

func (m *RestoreResponse) XXX_DiscardUnknown()

func (*RestoreResponse) XXX_Marshal

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

func (*RestoreResponse) XXX_Merge

func (dst *RestoreResponse) XXX_Merge(src proto.Message)

func (*RestoreResponse) XXX_Size

func (m *RestoreResponse) XXX_Size() int

func (*RestoreResponse) XXX_Unmarshal

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

type RollbackRequest

type RollbackRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RollbackRequest) Descriptor

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

func (*RollbackRequest) GetID

func (m *RollbackRequest) GetID() string

func (*RollbackRequest) ProtoMessage

func (*RollbackRequest) ProtoMessage()

func (*RollbackRequest) Reset

func (m *RollbackRequest) Reset()

func (*RollbackRequest) String

func (m *RollbackRequest) String() string

func (*RollbackRequest) XXX_DiscardUnknown

func (m *RollbackRequest) XXX_DiscardUnknown()

func (*RollbackRequest) XXX_Marshal

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

func (*RollbackRequest) XXX_Merge

func (dst *RollbackRequest) XXX_Merge(src proto.Message)

func (*RollbackRequest) XXX_Size

func (m *RollbackRequest) XXX_Size() int

func (*RollbackRequest) XXX_Unmarshal

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

type RollbackResponse

type RollbackResponse struct {
	Container            *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*RollbackResponse) Descriptor

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

func (*RollbackResponse) GetContainer

func (m *RollbackResponse) GetContainer() *Container

func (*RollbackResponse) ProtoMessage

func (*RollbackResponse) ProtoMessage()

func (*RollbackResponse) Reset

func (m *RollbackResponse) Reset()

func (*RollbackResponse) String

func (m *RollbackResponse) String() string

func (*RollbackResponse) XXX_DiscardUnknown

func (m *RollbackResponse) XXX_DiscardUnknown()

func (*RollbackResponse) XXX_Marshal

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

func (*RollbackResponse) XXX_Merge

func (dst *RollbackResponse) XXX_Merge(src proto.Message)

func (*RollbackResponse) XXX_Size

func (m *RollbackResponse) XXX_Size() int

func (*RollbackResponse) XXX_Unmarshal

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

type Service

type Service struct {
	Port                 int64        `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Labels               []string     `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty"`
	Url                  string       `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Check                *HealthCheck `protobuf:"bytes,4,opt,name=check" json:"check,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Service) Descriptor

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

func (*Service) GetCheck

func (m *Service) GetCheck() *HealthCheck

func (*Service) GetLabels

func (m *Service) GetLabels() []string

func (*Service) GetPort

func (m *Service) GetPort() int64

func (*Service) GetUrl

func (m *Service) GetUrl() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) String

func (m *Service) String() string

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

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

func (*Service) XXX_Merge

func (dst *Service) XXX_Merge(src proto.Message)

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

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

type Snapshot

type Snapshot struct {
	ID                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created              time.Time `protobuf:"bytes,2,opt,name=created,stdtime" json:"created"`
	Previous             string    `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"`
	FsSize               int64     `protobuf:"varint,4,opt,name=fs_size,json=fsSize,proto3" json:"fs_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Snapshot) Descriptor

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

func (*Snapshot) GetCreated

func (m *Snapshot) GetCreated() time.Time

func (*Snapshot) GetFsSize

func (m *Snapshot) GetFsSize() int64

func (*Snapshot) GetID

func (m *Snapshot) GetID() string

func (*Snapshot) GetPrevious

func (m *Snapshot) GetPrevious() string

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

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

func (*Snapshot) XXX_Merge

func (dst *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

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

type StartRequest

type StartRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRequest) Descriptor

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

func (*StartRequest) GetID

func (m *StartRequest) GetID() string

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) Reset

func (m *StartRequest) Reset()

func (*StartRequest) String

func (m *StartRequest) String() string

func (*StartRequest) XXX_DiscardUnknown

func (m *StartRequest) XXX_DiscardUnknown()

func (*StartRequest) XXX_Marshal

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

func (*StartRequest) XXX_Merge

func (dst *StartRequest) XXX_Merge(src proto.Message)

func (*StartRequest) XXX_Size

func (m *StartRequest) XXX_Size() int

func (*StartRequest) XXX_Unmarshal

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

type StopRequest

type StopRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StopRequest) Descriptor

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

func (*StopRequest) GetID

func (m *StopRequest) GetID() string

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) Reset

func (m *StopRequest) Reset()

func (*StopRequest) String

func (m *StopRequest) String() string

func (*StopRequest) XXX_DiscardUnknown

func (m *StopRequest) XXX_DiscardUnknown()

func (*StopRequest) XXX_Marshal

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

func (*StopRequest) XXX_Merge

func (dst *StopRequest) XXX_Merge(src proto.Message)

func (*StopRequest) XXX_Size

func (m *StopRequest) XXX_Size() int

func (*StopRequest) XXX_Unmarshal

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

type UpdateRequest

type UpdateRequest struct {
	Container            *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UpdateRequest) Descriptor

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

func (*UpdateRequest) GetContainer

func (m *UpdateRequest) GetContainer() *Container

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

func (*UpdateRequest) XXX_DiscardUnknown

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal

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

func (*UpdateRequest) XXX_Merge

func (dst *UpdateRequest) XXX_Merge(src proto.Message)

func (*UpdateRequest) XXX_Size

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal

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

type UpdateResponse

type UpdateResponse struct {
	Container            *Container `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UpdateResponse) Descriptor

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

func (*UpdateResponse) GetContainer

func (m *UpdateResponse) GetContainer() *Container

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

func (*UpdateResponse) XXX_DiscardUnknown

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal

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

func (*UpdateResponse) XXX_Merge

func (dst *UpdateResponse) XXX_Merge(src proto.Message)

func (*UpdateResponse) XXX_Size

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal

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

type User

type User struct {
	Uid                  uint32   `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid                  uint32   `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetGid

func (m *User) GetGid() uint32

func (*User) GetUid

func (m *User) GetUid() uint32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

func (dst *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

type Volume

type Volume struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Destination          string   `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	Rw                   bool     `protobuf:"varint,3,opt,name=rw,proto3" json:"rw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Volume) Descriptor

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

func (*Volume) GetDestination

func (m *Volume) GetDestination() string

func (*Volume) GetID

func (m *Volume) GetID() string

func (*Volume) GetRw

func (m *Volume) GetRw() bool

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) Reset

func (m *Volume) Reset()

func (*Volume) String

func (m *Volume) String() string

func (*Volume) XXX_DiscardUnknown

func (m *Volume) XXX_DiscardUnknown()

func (*Volume) XXX_Marshal

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

func (*Volume) XXX_Merge

func (dst *Volume) XXX_Merge(src proto.Message)

func (*Volume) XXX_Size

func (m *Volume) XXX_Size() int

func (*Volume) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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