Documentation ¶
Index ¶
- func RegisterAgentServer(s *grpc.Server, srv AgentServer)
- type AgentClient
- type AgentServer
- type ApplyRequest
- func (*ApplyRequest) Descriptor() ([]byte, []int)
- func (m *ApplyRequest) GetAssemblies() []*Assembly
- func (*ApplyRequest) ProtoMessage()
- func (m *ApplyRequest) Reset()
- func (m *ApplyRequest) String() string
- func (m *ApplyRequest) XXX_DiscardUnknown()
- func (m *ApplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ApplyRequest) XXX_Merge(src proto.Message)
- func (m *ApplyRequest) XXX_Size() int
- func (m *ApplyRequest) XXX_Unmarshal(b []byte) error
- type Assembly
- func (*Assembly) Descriptor() ([]byte, []int)
- func (m *Assembly) GetImage() string
- func (m *Assembly) GetName() string
- func (*Assembly) ProtoMessage()
- func (m *Assembly) Reset()
- func (m *Assembly) String() string
- func (m *Assembly) XXX_DiscardUnknown()
- func (m *Assembly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Assembly) XXX_Merge(src proto.Message)
- func (m *Assembly) XXX_Size() int
- func (m *Assembly) XXX_Unmarshal(b []byte) error
- type CheckpointRequest
- func (*CheckpointRequest) Descriptor() ([]byte, []int)
- func (m *CheckpointRequest) GetExit() bool
- func (m *CheckpointRequest) GetID() string
- func (m *CheckpointRequest) GetLive() bool
- func (m *CheckpointRequest) GetRef() string
- func (*CheckpointRequest) ProtoMessage()
- func (m *CheckpointRequest) Reset()
- func (m *CheckpointRequest) String() string
- func (m *CheckpointRequest) XXX_DiscardUnknown()
- func (m *CheckpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CheckpointRequest) XXX_Merge(src proto.Message)
- func (m *CheckpointRequest) XXX_Size() int
- func (m *CheckpointRequest) XXX_Unmarshal(b []byte) error
- type CheckpointResponse
- func (*CheckpointResponse) Descriptor() ([]byte, []int)
- func (*CheckpointResponse) ProtoMessage()
- func (m *CheckpointResponse) Reset()
- func (m *CheckpointResponse) String() string
- func (m *CheckpointResponse) XXX_DiscardUnknown()
- func (m *CheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CheckpointResponse) XXX_Merge(src proto.Message)
- func (m *CheckpointResponse) XXX_Size() int
- func (m *CheckpointResponse) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetContent() string
- func (m *Config) GetPath() string
- func (m *Config) GetSignal() uint32
- func (m *Config) GetSource() string
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetConfigs() map[string]*Config
- func (m *Container) GetGpus() *GPUs
- func (m *Container) GetID() string
- func (m *Container) GetImage() string
- func (m *Container) GetMounts() []*Mount
- func (m *Container) GetNetwork() string
- func (m *Container) GetProcess() *Process
- func (m *Container) GetReadonly() bool
- func (m *Container) GetResources() *Resources
- func (m *Container) GetVolumes() []*Volume
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)
- func (m *ContainerInfo) GetConfig() *Container
- func (m *ContainerInfo) GetCpu() uint64
- func (m *ContainerInfo) GetFsSize() int64
- func (m *ContainerInfo) GetID() string
- func (m *ContainerInfo) GetIP() string
- func (m *ContainerInfo) GetImage() string
- func (m *ContainerInfo) GetMemoryLimit() float64
- func (m *ContainerInfo) GetMemoryUsage() float64
- func (m *ContainerInfo) GetPidLimit() uint64
- func (m *ContainerInfo) GetPidUsage() uint64
- func (m *ContainerInfo) GetSnapshots() []*Snapshot
- func (m *ContainerInfo) GetStatus() string
- func (*ContainerInfo) ProtoMessage()
- func (m *ContainerInfo) Reset()
- func (m *ContainerInfo) String() string
- func (m *ContainerInfo) XXX_DiscardUnknown()
- func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContainerInfo) XXX_Merge(src proto.Message)
- func (m *ContainerInfo) XXX_Size() int
- func (m *ContainerInfo) XXX_Unmarshal(b []byte) error
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetContainer() *Container
- func (m *CreateRequest) GetUpdate() bool
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) String() string
- func (m *CreateRequest) XXX_DiscardUnknown()
- func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateRequest) XXX_Merge(src proto.Message)
- func (m *CreateRequest) XXX_Size() int
- func (m *CreateRequest) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetID() string
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type GPUs
- func (*GPUs) Descriptor() ([]byte, []int)
- func (m *GPUs) GetCapabilities() []string
- func (m *GPUs) GetDevices() []int64
- func (*GPUs) ProtoMessage()
- func (m *GPUs) Reset()
- func (m *GPUs) String() string
- func (m *GPUs) XXX_DiscardUnknown()
- func (m *GPUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GPUs) XXX_Merge(src proto.Message)
- func (m *GPUs) XXX_Size() int
- func (m *GPUs) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetID() string
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetContainer() *ContainerInfo
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetContainers() []*ContainerInfo
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) String() string
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type MigrateRequest
- func (*MigrateRequest) Descriptor() ([]byte, []int)
- func (m *MigrateRequest) GetDelete() bool
- func (m *MigrateRequest) GetID() string
- func (m *MigrateRequest) GetLive() bool
- func (m *MigrateRequest) GetRef() string
- func (m *MigrateRequest) GetStop() bool
- func (m *MigrateRequest) GetTo() string
- func (*MigrateRequest) ProtoMessage()
- func (m *MigrateRequest) Reset()
- func (m *MigrateRequest) String() string
- func (m *MigrateRequest) XXX_DiscardUnknown()
- func (m *MigrateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MigrateRequest) XXX_Merge(src proto.Message)
- func (m *MigrateRequest) XXX_Size() int
- func (m *MigrateRequest) XXX_Unmarshal(b []byte) error
- type MigrateResponse
- func (*MigrateResponse) Descriptor() ([]byte, []int)
- func (*MigrateResponse) ProtoMessage()
- func (m *MigrateResponse) Reset()
- func (m *MigrateResponse) String() string
- func (m *MigrateResponse) XXX_DiscardUnknown()
- func (m *MigrateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MigrateResponse) XXX_Merge(src proto.Message)
- func (m *MigrateResponse) XXX_Size() int
- func (m *MigrateResponse) XXX_Unmarshal(b []byte) error
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)
- func (m *Mount) GetDestination() string
- func (m *Mount) GetOptions() []string
- func (m *Mount) GetSource() string
- func (m *Mount) GetType() string
- func (*Mount) ProtoMessage()
- func (m *Mount) Reset()
- func (m *Mount) String() string
- func (m *Mount) XXX_DiscardUnknown()
- func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Mount) XXX_Merge(src proto.Message)
- func (m *Mount) XXX_Size() int
- func (m *Mount) XXX_Unmarshal(b []byte) error
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) GetArgs() []string
- func (m *Process) GetCapabilities() []string
- func (m *Process) GetEnv() []string
- func (m *Process) GetUser() *User
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) String() string
- func (m *Process) XXX_DiscardUnknown()
- func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Process) XXX_Merge(src proto.Message)
- func (m *Process) XXX_Size() int
- func (m *Process) XXX_Unmarshal(b []byte) error
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)
- func (m *Resources) GetCpus() float64
- func (m *Resources) GetMemory() int64
- func (m *Resources) GetNoFile() uint64
- func (m *Resources) GetScore() int64
- func (*Resources) ProtoMessage()
- func (m *Resources) Reset()
- func (m *Resources) String() string
- func (m *Resources) XXX_DiscardUnknown()
- func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Resources) XXX_Merge(src proto.Message)
- func (m *Resources) XXX_Size() int
- func (m *Resources) XXX_Unmarshal(b []byte) error
- type RestartRequest
- func (*RestartRequest) Descriptor() ([]byte, []int)
- func (m *RestartRequest) GetID() string
- func (m *RestartRequest) GetSignal() uint32
- func (*RestartRequest) ProtoMessage()
- func (m *RestartRequest) Reset()
- func (m *RestartRequest) String() string
- func (m *RestartRequest) XXX_DiscardUnknown()
- func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RestartRequest) XXX_Merge(src proto.Message)
- func (m *RestartRequest) XXX_Size() int
- func (m *RestartRequest) XXX_Unmarshal(b []byte) error
- type RestoreRequest
- func (*RestoreRequest) Descriptor() ([]byte, []int)
- func (m *RestoreRequest) GetLive() bool
- func (m *RestoreRequest) GetRef() string
- func (*RestoreRequest) ProtoMessage()
- func (m *RestoreRequest) Reset()
- func (m *RestoreRequest) String() string
- func (m *RestoreRequest) XXX_DiscardUnknown()
- func (m *RestoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RestoreRequest) XXX_Merge(src proto.Message)
- func (m *RestoreRequest) XXX_Size() int
- func (m *RestoreRequest) XXX_Unmarshal(b []byte) error
- type RestoreResponse
- func (*RestoreResponse) Descriptor() ([]byte, []int)
- func (*RestoreResponse) ProtoMessage()
- func (m *RestoreResponse) Reset()
- func (m *RestoreResponse) String() string
- func (m *RestoreResponse) XXX_DiscardUnknown()
- func (m *RestoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RestoreResponse) XXX_Merge(src proto.Message)
- func (m *RestoreResponse) XXX_Size() int
- func (m *RestoreResponse) XXX_Unmarshal(b []byte) error
- type RollbackRequest
- func (*RollbackRequest) Descriptor() ([]byte, []int)
- func (m *RollbackRequest) GetID() string
- func (*RollbackRequest) ProtoMessage()
- func (m *RollbackRequest) Reset()
- func (m *RollbackRequest) String() string
- func (m *RollbackRequest) XXX_DiscardUnknown()
- func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RollbackRequest) XXX_Merge(src proto.Message)
- func (m *RollbackRequest) XXX_Size() int
- func (m *RollbackRequest) XXX_Unmarshal(b []byte) error
- type RollbackResponse
- func (*RollbackResponse) Descriptor() ([]byte, []int)
- func (m *RollbackResponse) GetContainer() *Container
- func (*RollbackResponse) ProtoMessage()
- func (m *RollbackResponse) Reset()
- func (m *RollbackResponse) String() string
- func (m *RollbackResponse) XXX_DiscardUnknown()
- func (m *RollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RollbackResponse) XXX_Merge(src proto.Message)
- func (m *RollbackResponse) XXX_Size() int
- func (m *RollbackResponse) XXX_Unmarshal(b []byte) error
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetCreated() time.Time
- func (m *Snapshot) GetFsSize() int64
- func (m *Snapshot) GetID() string
- func (m *Snapshot) GetPrevious() string
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) String() string
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
- type StartRequest
- func (*StartRequest) Descriptor() ([]byte, []int)
- func (m *StartRequest) GetID() string
- func (*StartRequest) ProtoMessage()
- func (m *StartRequest) Reset()
- func (m *StartRequest) String() string
- func (m *StartRequest) XXX_DiscardUnknown()
- func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StartRequest) XXX_Merge(src proto.Message)
- func (m *StartRequest) XXX_Size() int
- func (m *StartRequest) XXX_Unmarshal(b []byte) error
- type StopRequest
- func (*StopRequest) Descriptor() ([]byte, []int)
- func (m *StopRequest) GetID() string
- func (*StopRequest) ProtoMessage()
- func (m *StopRequest) Reset()
- func (m *StopRequest) String() string
- func (m *StopRequest) XXX_DiscardUnknown()
- func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StopRequest) XXX_Merge(src proto.Message)
- func (m *StopRequest) XXX_Size() int
- func (m *StopRequest) XXX_Unmarshal(b []byte) error
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetContainer() *Container
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) String() string
- func (m *UpdateRequest) XXX_DiscardUnknown()
- func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRequest) XXX_Size() int
- func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)
- func (m *UpdateResponse) GetContainer() *Container
- func (*UpdateResponse) ProtoMessage()
- func (m *UpdateResponse) Reset()
- func (m *UpdateResponse) String() string
- func (m *UpdateResponse) XXX_DiscardUnknown()
- func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateResponse) XXX_Merge(src proto.Message)
- func (m *UpdateResponse) XXX_Size() int
- func (m *UpdateResponse) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetGid() uint32
- func (m *User) GetUid() uint32
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)
- func (m *Volume) GetDestination() string
- func (m *Volume) GetID() string
- func (m *Volume) GetRw() bool
- func (*Volume) ProtoMessage()
- func (m *Volume) Reset()
- func (m *Volume) String() string
- func (m *Volume) XXX_DiscardUnknown()
- func (m *Volume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Volume) XXX_Merge(src proto.Message)
- func (m *Volume) XXX_Size() int
- func (m *Volume) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAgentServer ¶
func RegisterAgentServer(s *grpc.Server, srv AgentServer)
Types ¶
type AgentClient ¶
type AgentClient interface { // lifecycle Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*types.Empty, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*types.Empty, 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) Restart(ctx context.Context, in *RestartRequest, opts ...grpc.CallOption) (*types.Empty, error) // info Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // upgrades Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) // migration 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) // terra Apply(ctx context.Context, in *ApplyRequest, opts ...grpc.CallOption) (*types.Empty, 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 AgentServer ¶
type AgentServer interface { // lifecycle Create(context.Context, *CreateRequest) (*types.Empty, error) Delete(context.Context, *DeleteRequest) (*types.Empty, error) Start(context.Context, *StartRequest) (*types.Empty, error) Stop(context.Context, *StopRequest) (*types.Empty, error) Restart(context.Context, *RestartRequest) (*types.Empty, error) // info Get(context.Context, *GetRequest) (*GetResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) // upgrades Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) // migration Checkpoint(context.Context, *CheckpointRequest) (*CheckpointResponse, error) Restore(context.Context, *RestoreRequest) (*RestoreResponse, error) Migrate(context.Context, *MigrateRequest) (*MigrateResponse, error) // terra Apply(context.Context, *ApplyRequest) (*types.Empty, error) }
AgentServer is the server API for Agent service.
type ApplyRequest ¶
type ApplyRequest struct { Assemblies []*Assembly `protobuf:"bytes,1,rep,name=assemblies" json:"assemblies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ApplyRequest) Descriptor ¶
func (*ApplyRequest) Descriptor() ([]byte, []int)
func (*ApplyRequest) GetAssemblies ¶
func (m *ApplyRequest) GetAssemblies() []*Assembly
func (*ApplyRequest) ProtoMessage ¶
func (*ApplyRequest) ProtoMessage()
func (*ApplyRequest) Reset ¶
func (m *ApplyRequest) Reset()
func (*ApplyRequest) String ¶
func (m *ApplyRequest) String() string
func (*ApplyRequest) XXX_DiscardUnknown ¶
func (m *ApplyRequest) XXX_DiscardUnknown()
func (*ApplyRequest) XXX_Marshal ¶
func (m *ApplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyRequest) XXX_Merge ¶
func (dst *ApplyRequest) XXX_Merge(src proto.Message)
func (*ApplyRequest) XXX_Size ¶
func (m *ApplyRequest) XXX_Size() int
func (*ApplyRequest) XXX_Unmarshal ¶
func (m *ApplyRequest) XXX_Unmarshal(b []byte) error
type Assembly ¶
type Assembly struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Assembly) Descriptor ¶
func (*Assembly) ProtoMessage ¶
func (*Assembly) ProtoMessage()
func (*Assembly) XXX_DiscardUnknown ¶
func (m *Assembly) XXX_DiscardUnknown()
func (*Assembly) XXX_Marshal ¶
func (*Assembly) XXX_Unmarshal ¶
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 uint32 `protobuf:"varint,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) GetContent ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
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"` // map<string, Service> services = 8; 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) GetConfigs ¶
func (*Container) GetNetwork ¶
func (*Container) GetProcess ¶
func (*Container) GetReadonly ¶
func (*Container) GetResources ¶
func (*Container) GetVolumes ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶
func (*Container) XXX_Unmarshal ¶
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) GetCapabilities ¶
func (*GPUs) GetDevices ¶
func (*GPUs) ProtoMessage ¶
func (*GPUs) ProtoMessage()
func (*GPUs) XXX_DiscardUnknown ¶
func (m *GPUs) XXX_DiscardUnknown()
func (*GPUs) XXX_Unmarshal ¶
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 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) GetDestination ¶
func (*Mount) GetOptions ¶
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
func (*Mount) XXX_DiscardUnknown ¶
func (m *Mount) XXX_DiscardUnknown()
func (*Mount) XXX_Marshal ¶
func (*Mount) XXX_Unmarshal ¶
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) GetCapabilities ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) XXX_DiscardUnknown ¶
func (m *Process) XXX_DiscardUnknown()
func (*Process) XXX_Marshal ¶
func (*Process) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) XXX_DiscardUnknown ¶
func (m *Resources) XXX_DiscardUnknown()
func (*Resources) XXX_Marshal ¶
func (*Resources) XXX_Unmarshal ¶
type RestartRequest ¶
type RestartRequest 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 (*RestartRequest) Descriptor ¶
func (*RestartRequest) Descriptor() ([]byte, []int)
func (*RestartRequest) GetID ¶
func (m *RestartRequest) GetID() string
func (*RestartRequest) GetSignal ¶
func (m *RestartRequest) GetSignal() uint32
func (*RestartRequest) ProtoMessage ¶
func (*RestartRequest) ProtoMessage()
func (*RestartRequest) Reset ¶
func (m *RestartRequest) Reset()
func (*RestartRequest) String ¶
func (m *RestartRequest) String() string
func (*RestartRequest) XXX_DiscardUnknown ¶
func (m *RestartRequest) XXX_DiscardUnknown()
func (*RestartRequest) XXX_Marshal ¶
func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestartRequest) XXX_Merge ¶
func (dst *RestartRequest) XXX_Merge(src proto.Message)
func (*RestartRequest) XXX_Size ¶
func (m *RestartRequest) XXX_Size() int
func (*RestartRequest) XXX_Unmarshal ¶
func (m *RestartRequest) 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 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) GetCreated ¶
func (*Snapshot) GetPrevious ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶
func (*Snapshot) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
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) GetDestination ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) XXX_DiscardUnknown ¶
func (m *Volume) XXX_DiscardUnknown()
func (*Volume) XXX_Marshal ¶
func (*Volume) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.