Documentation ¶
Index ¶
- func RegisterExecutorServer(s *grpc.Server, srv ExecutorServer)
- type AddVolumeReq
- func (*AddVolumeReq) Descriptor() ([]byte, []int)
- func (m *AddVolumeReq) GetName() string
- func (m *AddVolumeReq) GetPath() string
- func (*AddVolumeReq) ProtoMessage()
- func (m *AddVolumeReq) Reset()
- func (m *AddVolumeReq) String() string
- func (m *AddVolumeReq) XXX_DiscardUnknown()
- func (m *AddVolumeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddVolumeReq) XXX_Merge(src proto.Message)
- func (m *AddVolumeReq) XXX_Size() int
- func (m *AddVolumeReq) XXX_Unmarshal(b []byte) error
- type AddVolumeResp
- func (*AddVolumeResp) Descriptor() ([]byte, []int)
- func (m *AddVolumeResp) GetError() *Error
- func (m *AddVolumeResp) GetVolume() string
- func (*AddVolumeResp) ProtoMessage()
- func (m *AddVolumeResp) Reset()
- func (m *AddVolumeResp) String() string
- func (m *AddVolumeResp) XXX_DiscardUnknown()
- func (m *AddVolumeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddVolumeResp) XXX_Merge(src proto.Message)
- func (m *AddVolumeResp) XXX_Size() int
- func (m *AddVolumeResp) XXX_Unmarshal(b []byte) error
- type AttachStreamIn
- func (*AttachStreamIn) Descriptor() ([]byte, []int)
- func (m *AttachStreamIn) GetContent() []byte
- func (m *AttachStreamIn) GetId() string
- func (*AttachStreamIn) ProtoMessage()
- func (m *AttachStreamIn) Reset()
- func (m *AttachStreamIn) String() string
- func (m *AttachStreamIn) XXX_DiscardUnknown()
- func (m *AttachStreamIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttachStreamIn) XXX_Merge(src proto.Message)
- func (m *AttachStreamIn) XXX_Size() int
- func (m *AttachStreamIn) XXX_Unmarshal(b []byte) error
- type AttachStreamOut
- func (*AttachStreamOut) Descriptor() ([]byte, []int)
- func (m *AttachStreamOut) GetContent() []byte
- func (*AttachStreamOut) ProtoMessage()
- func (m *AttachStreamOut) Reset()
- func (m *AttachStreamOut) String() string
- func (m *AttachStreamOut) XXX_DiscardUnknown()
- func (m *AttachStreamOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttachStreamOut) XXX_Merge(src proto.Message)
- func (m *AttachStreamOut) XXX_Size() int
- func (m *AttachStreamOut) XXX_Unmarshal(b []byte) error
- type CanAttachJudgeResp
- func (*CanAttachJudgeResp) Descriptor() ([]byte, []int)
- func (m *CanAttachJudgeResp) GetImageType() string
- func (m *CanAttachJudgeResp) GetState() string
- func (m *CanAttachJudgeResp) GetTty() bool
- func (*CanAttachJudgeResp) ProtoMessage()
- func (m *CanAttachJudgeResp) Reset()
- func (m *CanAttachJudgeResp) String() string
- func (m *CanAttachJudgeResp) XXX_DiscardUnknown()
- func (m *CanAttachJudgeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CanAttachJudgeResp) XXX_Merge(src proto.Message)
- func (m *CanAttachJudgeResp) XXX_Size() int
- func (m *CanAttachJudgeResp) XXX_Unmarshal(b []byte) error
- type CommitMachineReq
- func (*CommitMachineReq) Descriptor() ([]byte, []int)
- func (m *CommitMachineReq) GetId() string
- func (m *CommitMachineReq) GetName() string
- func (*CommitMachineReq) ProtoMessage()
- func (m *CommitMachineReq) Reset()
- func (m *CommitMachineReq) String() string
- func (m *CommitMachineReq) XXX_DiscardUnknown()
- func (m *CommitMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitMachineReq) XXX_Merge(src proto.Message)
- func (m *CommitMachineReq) XXX_Size() int
- func (m *CommitMachineReq) XXX_Unmarshal(b []byte) error
- type CommitMachineResp
- func (*CommitMachineResp) Descriptor() ([]byte, []int)
- func (m *CommitMachineResp) GetErr() *Error
- func (m *CommitMachineResp) GetId() string
- func (*CommitMachineResp) ProtoMessage()
- func (m *CommitMachineResp) Reset()
- func (m *CommitMachineResp) String() string
- func (m *CommitMachineResp) XXX_DiscardUnknown()
- func (m *CommitMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitMachineResp) XXX_Merge(src proto.Message)
- func (m *CommitMachineResp) XXX_Size() int
- func (m *CommitMachineResp) XXX_Unmarshal(b []byte) error
- type CreateMachineReq
- func (*CreateMachineReq) Descriptor() ([]byte, []int)
- func (m *CreateMachineReq) GetCmd() []string
- func (m *CreateMachineReq) GetEnv() []string
- func (m *CreateMachineReq) GetExposedPorts() map[string]*PortBindings
- func (m *CreateMachineReq) GetImageId() string
- func (m *CreateMachineReq) GetName() string
- func (m *CreateMachineReq) GetNetwork() *Network
- func (m *CreateMachineReq) GetResources() *Resources
- func (m *CreateMachineReq) GetTty() bool
- func (m *CreateMachineReq) GetVolumes() []*MachineVolume
- func (m *CreateMachineReq) GetWorkingDir() string
- func (*CreateMachineReq) ProtoMessage()
- func (m *CreateMachineReq) Reset()
- func (m *CreateMachineReq) String() string
- func (m *CreateMachineReq) XXX_DiscardUnknown()
- func (m *CreateMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMachineReq) XXX_Merge(src proto.Message)
- func (m *CreateMachineReq) XXX_Size() int
- func (m *CreateMachineReq) XXX_Unmarshal(b []byte) error
- type CreateMachineResp
- func (*CreateMachineResp) Descriptor() ([]byte, []int)
- func (m *CreateMachineResp) GetErr() *Error
- func (m *CreateMachineResp) GetId() string
- func (*CreateMachineResp) ProtoMessage()
- func (m *CreateMachineResp) Reset()
- func (m *CreateMachineResp) String() string
- func (m *CreateMachineResp) XXX_DiscardUnknown()
- func (m *CreateMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateMachineResp) XXX_Merge(src proto.Message)
- func (m *CreateMachineResp) XXX_Size() int
- func (m *CreateMachineResp) XXX_Unmarshal(b []byte) error
- type CreateVolumeReq
- func (*CreateVolumeReq) Descriptor() ([]byte, []int)
- func (m *CreateVolumeReq) GetName() string
- func (*CreateVolumeReq) ProtoMessage()
- func (m *CreateVolumeReq) Reset()
- func (m *CreateVolumeReq) String() string
- func (m *CreateVolumeReq) XXX_DiscardUnknown()
- func (m *CreateVolumeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateVolumeReq) XXX_Merge(src proto.Message)
- func (m *CreateVolumeReq) XXX_Size() int
- func (m *CreateVolumeReq) XXX_Unmarshal(b []byte) error
- type CreateVolumeResp
- func (*CreateVolumeResp) Descriptor() ([]byte, []int)
- func (m *CreateVolumeResp) GetError() *Error
- func (m *CreateVolumeResp) GetVolume() *Volume
- func (*CreateVolumeResp) ProtoMessage()
- func (m *CreateVolumeResp) Reset()
- func (m *CreateVolumeResp) String() string
- func (m *CreateVolumeResp) XXX_DiscardUnknown()
- func (m *CreateVolumeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateVolumeResp) XXX_Merge(src proto.Message)
- func (m *CreateVolumeResp) XXX_Size() int
- func (m *CreateVolumeResp) XXX_Unmarshal(b []byte) error
- type DeleteImageReq
- func (*DeleteImageReq) Descriptor() ([]byte, []int)
- func (m *DeleteImageReq) GetId() string
- func (*DeleteImageReq) ProtoMessage()
- func (m *DeleteImageReq) Reset()
- func (m *DeleteImageReq) String() string
- func (m *DeleteImageReq) XXX_DiscardUnknown()
- func (m *DeleteImageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteImageReq) XXX_Merge(src proto.Message)
- func (m *DeleteImageReq) XXX_Size() int
- func (m *DeleteImageReq) XXX_Unmarshal(b []byte) error
- type DeleteImageResp
- func (*DeleteImageResp) Descriptor() ([]byte, []int)
- func (m *DeleteImageResp) GetErr() *Error
- func (*DeleteImageResp) ProtoMessage()
- func (m *DeleteImageResp) Reset()
- func (m *DeleteImageResp) String() string
- func (m *DeleteImageResp) XXX_DiscardUnknown()
- func (m *DeleteImageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteImageResp) XXX_Merge(src proto.Message)
- func (m *DeleteImageResp) XXX_Size() int
- func (m *DeleteImageResp) XXX_Unmarshal(b []byte) error
- type DeleteMachineReq
- func (*DeleteMachineReq) Descriptor() ([]byte, []int)
- func (m *DeleteMachineReq) GetId() string
- func (*DeleteMachineReq) ProtoMessage()
- func (m *DeleteMachineReq) Reset()
- func (m *DeleteMachineReq) String() string
- func (m *DeleteMachineReq) XXX_DiscardUnknown()
- func (m *DeleteMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteMachineReq) XXX_Merge(src proto.Message)
- func (m *DeleteMachineReq) XXX_Size() int
- func (m *DeleteMachineReq) XXX_Unmarshal(b []byte) error
- type DeleteVolumeReq
- func (*DeleteVolumeReq) Descriptor() ([]byte, []int)
- func (m *DeleteVolumeReq) GetName() string
- func (m *DeleteVolumeReq) GetPurge() bool
- func (*DeleteVolumeReq) ProtoMessage()
- func (m *DeleteVolumeReq) Reset()
- func (m *DeleteVolumeReq) String() string
- func (m *DeleteVolumeReq) XXX_DiscardUnknown()
- func (m *DeleteVolumeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteVolumeReq) XXX_Merge(src proto.Message)
- func (m *DeleteVolumeReq) XXX_Size() int
- func (m *DeleteVolumeReq) XXX_Unmarshal(b []byte) error
- type DeviceMapping
- func (*DeviceMapping) Descriptor() ([]byte, []int)
- func (m *DeviceMapping) GetCgroupPermissions() string
- func (m *DeviceMapping) GetPathInContainer() string
- func (m *DeviceMapping) GetPathOnHost() string
- func (*DeviceMapping) ProtoMessage()
- func (m *DeviceMapping) Reset()
- func (m *DeviceMapping) String() string
- func (m *DeviceMapping) XXX_DiscardUnknown()
- func (m *DeviceMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceMapping) XXX_Merge(src proto.Message)
- func (m *DeviceMapping) XXX_Size() int
- func (m *DeviceMapping) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() uint32
- func (m *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type ExecutorClient
- type ExecutorServer
- type Executor_AttachMachineClient
- type Executor_AttachMachineServer
- type ExportImageReq
- func (*ExportImageReq) Descriptor() ([]byte, []int)
- func (m *ExportImageReq) GetId() string
- func (m *ExportImageReq) GetTarget() string
- func (*ExportImageReq) ProtoMessage()
- func (m *ExportImageReq) Reset()
- func (m *ExportImageReq) String() string
- func (m *ExportImageReq) XXX_DiscardUnknown()
- func (m *ExportImageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExportImageReq) XXX_Merge(src proto.Message)
- func (m *ExportImageReq) XXX_Size() int
- func (m *ExportImageReq) XXX_Unmarshal(b []byte) error
- type HostEntry
- func (*HostEntry) Descriptor() ([]byte, []int)
- func (m *HostEntry) GetHost() string
- func (m *HostEntry) GetIp() string
- func (*HostEntry) ProtoMessage()
- func (m *HostEntry) Reset()
- func (m *HostEntry) String() string
- func (m *HostEntry) XXX_DiscardUnknown()
- func (m *HostEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostEntry) XXX_Merge(src proto.Message)
- func (m *HostEntry) XXX_Size() int
- func (m *HostEntry) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetCreateTime() string
- func (m *Image) GetId() string
- func (m *Image) GetMachines() int32
- func (m *Image) GetName() string
- func (m *Image) GetType() string
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type ImportImageReq
- func (*ImportImageReq) Descriptor() ([]byte, []int)
- func (m *ImportImageReq) GetName() string
- func (m *ImportImageReq) GetPath() string
- func (m *ImportImageReq) GetType() string
- func (*ImportImageReq) ProtoMessage()
- func (m *ImportImageReq) Reset()
- func (m *ImportImageReq) String() string
- func (m *ImportImageReq) XXX_DiscardUnknown()
- func (m *ImportImageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportImageReq) XXX_Merge(src proto.Message)
- func (m *ImportImageReq) XXX_Size() int
- func (m *ImportImageReq) XXX_Unmarshal(b []byte) error
- type ImportImageResp
- func (*ImportImageResp) Descriptor() ([]byte, []int)
- func (m *ImportImageResp) GetErr() *Error
- func (m *ImportImageResp) GetId() string
- func (*ImportImageResp) ProtoMessage()
- func (m *ImportImageResp) Reset()
- func (m *ImportImageResp) String() string
- func (m *ImportImageResp) XXX_DiscardUnknown()
- func (m *ImportImageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportImageResp) XXX_Merge(src proto.Message)
- func (m *ImportImageResp) XXX_Size() int
- func (m *ImportImageResp) XXX_Unmarshal(b []byte) error
- type InspectMachineResp
- func (*InspectMachineResp) Descriptor() ([]byte, []int)
- func (m *InspectMachineResp) GetId() string
- func (m *InspectMachineResp) GetName() string
- func (m *InspectMachineResp) GetRuntimeConfig() string
- func (m *InspectMachineResp) GetSpec() string
- func (m *InspectMachineResp) GetType() string
- func (*InspectMachineResp) ProtoMessage()
- func (m *InspectMachineResp) Reset()
- func (m *InspectMachineResp) String() string
- func (m *InspectMachineResp) XXX_DiscardUnknown()
- func (m *InspectMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InspectMachineResp) XXX_Merge(src proto.Message)
- func (m *InspectMachineResp) XXX_Size() int
- func (m *InspectMachineResp) XXX_Unmarshal(b []byte) error
- type KillMachineReq
- func (*KillMachineReq) Descriptor() ([]byte, []int)
- func (m *KillMachineReq) GetId() string
- func (m *KillMachineReq) GetSignal() string
- func (*KillMachineReq) ProtoMessage()
- func (m *KillMachineReq) Reset()
- func (m *KillMachineReq) String() string
- func (m *KillMachineReq) XXX_DiscardUnknown()
- func (m *KillMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KillMachineReq) XXX_Merge(src proto.Message)
- func (m *KillMachineReq) XXX_Size() int
- func (m *KillMachineReq) XXX_Unmarshal(b []byte) error
- type ListImageResp
- func (*ListImageResp) Descriptor() ([]byte, []int)
- func (m *ListImageResp) GetErr() *Error
- func (m *ListImageResp) GetImages() []*Image
- func (*ListImageResp) ProtoMessage()
- func (m *ListImageResp) Reset()
- func (m *ListImageResp) String() string
- func (m *ListImageResp) XXX_DiscardUnknown()
- func (m *ListImageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListImageResp) XXX_Merge(src proto.Message)
- func (m *ListImageResp) XXX_Size() int
- func (m *ListImageResp) XXX_Unmarshal(b []byte) error
- type ListMachineResp
- func (*ListMachineResp) Descriptor() ([]byte, []int)
- func (m *ListMachineResp) GetErr() *Error
- func (m *ListMachineResp) GetMachineInfos() []*MachineInfo
- func (*ListMachineResp) ProtoMessage()
- func (m *ListMachineResp) Reset()
- func (m *ListMachineResp) String() string
- func (m *ListMachineResp) XXX_DiscardUnknown()
- func (m *ListMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListMachineResp) XXX_Merge(src proto.Message)
- func (m *ListMachineResp) XXX_Size() int
- func (m *ListMachineResp) XXX_Unmarshal(b []byte) error
- type ListVolumeResp
- func (*ListVolumeResp) Descriptor() ([]byte, []int)
- func (m *ListVolumeResp) GetError() *Error
- func (m *ListVolumeResp) GetVolumes() []*Volume
- func (*ListVolumeResp) ProtoMessage()
- func (m *ListVolumeResp) Reset()
- func (m *ListVolumeResp) String() string
- func (m *ListVolumeResp) XXX_DiscardUnknown()
- func (m *ListVolumeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListVolumeResp) XXX_Merge(src proto.Message)
- func (m *ListVolumeResp) XXX_Size() int
- func (m *ListVolumeResp) XXX_Unmarshal(b []byte) error
- type MachineIdReq
- func (*MachineIdReq) Descriptor() ([]byte, []int)
- func (m *MachineIdReq) GetId() string
- func (*MachineIdReq) ProtoMessage()
- func (m *MachineIdReq) Reset()
- func (m *MachineIdReq) String() string
- func (m *MachineIdReq) XXX_DiscardUnknown()
- func (m *MachineIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MachineIdReq) XXX_Merge(src proto.Message)
- func (m *MachineIdReq) XXX_Size() int
- func (m *MachineIdReq) XXX_Unmarshal(b []byte) error
- type MachineInfo
- func (*MachineInfo) Descriptor() ([]byte, []int)
- func (m *MachineInfo) GetCreateTime() string
- func (m *MachineInfo) GetId() string
- func (m *MachineInfo) GetImageId() string
- func (m *MachineInfo) GetImageName() string
- func (m *MachineInfo) GetImageType() string
- func (m *MachineInfo) GetName() string
- func (m *MachineInfo) GetStatus() string
- func (*MachineInfo) ProtoMessage()
- func (m *MachineInfo) Reset()
- func (m *MachineInfo) String() string
- func (m *MachineInfo) XXX_DiscardUnknown()
- func (m *MachineInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MachineInfo) XXX_Merge(src proto.Message)
- func (m *MachineInfo) XXX_Size() int
- func (m *MachineInfo) XXX_Unmarshal(b []byte) error
- type MachineVolume
- func (*MachineVolume) Descriptor() ([]byte, []int)
- func (m *MachineVolume) GetDestination() string
- func (m *MachineVolume) GetName() string
- func (m *MachineVolume) GetReadonly() bool
- func (m *MachineVolume) GetSource() string
- func (*MachineVolume) ProtoMessage()
- func (m *MachineVolume) Reset()
- func (m *MachineVolume) String() string
- func (m *MachineVolume) XXX_DiscardUnknown()
- func (m *MachineVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MachineVolume) XXX_Merge(src proto.Message)
- func (m *MachineVolume) XXX_Size() int
- func (m *MachineVolume) XXX_Unmarshal(b []byte) error
- type Network
- func (*Network) Descriptor() ([]byte, []int)
- func (m *Network) GetExtraHosts() []*HostEntry
- func (m *Network) GetHostname() string
- func (m *Network) GetInterfaces() []*NetworkInterface
- func (*Network) ProtoMessage()
- func (m *Network) Reset()
- func (m *Network) String() string
- func (m *Network) XXX_DiscardUnknown()
- func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Network) XXX_Merge(src proto.Message)
- func (m *Network) XXX_Size() int
- func (m *Network) XXX_Unmarshal(b []byte) error
- type NetworkAddress
- func (*NetworkAddress) Descriptor() ([]byte, []int)
- func (m *NetworkAddress) GetIp() string
- func (m *NetworkAddress) GetMask() int32
- func (*NetworkAddress) ProtoMessage()
- func (m *NetworkAddress) Reset()
- func (m *NetworkAddress) String() string
- func (m *NetworkAddress) XXX_DiscardUnknown()
- func (m *NetworkAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkAddress) XXX_Merge(src proto.Message)
- func (m *NetworkAddress) XXX_Size() int
- func (m *NetworkAddress) XXX_Unmarshal(b []byte) error
- type NetworkConnectReq
- func (*NetworkConnectReq) Descriptor() ([]byte, []int)
- func (m *NetworkConnectReq) GetInterface() *NetworkInterface
- func (m *NetworkConnectReq) GetMachineId() string
- func (m *NetworkConnectReq) GetName() string
- func (*NetworkConnectReq) ProtoMessage()
- func (m *NetworkConnectReq) Reset()
- func (m *NetworkConnectReq) String() string
- func (m *NetworkConnectReq) XXX_DiscardUnknown()
- func (m *NetworkConnectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkConnectReq) XXX_Merge(src proto.Message)
- func (m *NetworkConnectReq) XXX_Size() int
- func (m *NetworkConnectReq) XXX_Unmarshal(b []byte) error
- type NetworkCreateReq
- func (*NetworkCreateReq) Descriptor() ([]byte, []int)
- func (m *NetworkCreateReq) GetGateway() string
- func (m *NetworkCreateReq) GetIsolated() bool
- func (m *NetworkCreateReq) GetName() string
- func (m *NetworkCreateReq) GetSubnet() string
- func (*NetworkCreateReq) ProtoMessage()
- func (m *NetworkCreateReq) Reset()
- func (m *NetworkCreateReq) String() string
- func (m *NetworkCreateReq) XXX_DiscardUnknown()
- func (m *NetworkCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkCreateReq) XXX_Merge(src proto.Message)
- func (m *NetworkCreateReq) XXX_Size() int
- func (m *NetworkCreateReq) XXX_Unmarshal(b []byte) error
- type NetworkCreateResp
- func (*NetworkCreateResp) Descriptor() ([]byte, []int)
- func (m *NetworkCreateResp) GetError() *Error
- func (m *NetworkCreateResp) GetId() string
- func (*NetworkCreateResp) ProtoMessage()
- func (m *NetworkCreateResp) Reset()
- func (m *NetworkCreateResp) String() string
- func (m *NetworkCreateResp) XXX_DiscardUnknown()
- func (m *NetworkCreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkCreateResp) XXX_Merge(src proto.Message)
- func (m *NetworkCreateResp) XXX_Size() int
- func (m *NetworkCreateResp) XXX_Unmarshal(b []byte) error
- type NetworkDeleteReq
- func (*NetworkDeleteReq) Descriptor() ([]byte, []int)
- func (m *NetworkDeleteReq) GetForce() bool
- func (m *NetworkDeleteReq) GetName() string
- func (*NetworkDeleteReq) ProtoMessage()
- func (m *NetworkDeleteReq) Reset()
- func (m *NetworkDeleteReq) String() string
- func (m *NetworkDeleteReq) XXX_DiscardUnknown()
- func (m *NetworkDeleteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkDeleteReq) XXX_Merge(src proto.Message)
- func (m *NetworkDeleteReq) XXX_Size() int
- func (m *NetworkDeleteReq) XXX_Unmarshal(b []byte) error
- type NetworkDeleteResp
- func (*NetworkDeleteResp) Descriptor() ([]byte, []int)
- func (m *NetworkDeleteResp) GetError() *Error
- func (*NetworkDeleteResp) ProtoMessage()
- func (m *NetworkDeleteResp) Reset()
- func (m *NetworkDeleteResp) String() string
- func (m *NetworkDeleteResp) XXX_DiscardUnknown()
- func (m *NetworkDeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkDeleteResp) XXX_Merge(src proto.Message)
- func (m *NetworkDeleteResp) XXX_Size() int
- func (m *NetworkDeleteResp) XXX_Unmarshal(b []byte) error
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)
- func (m *NetworkInfo) GetCreateTime() string
- func (m *NetworkInfo) GetGateway() string
- func (m *NetworkInfo) GetName() string
- func (m *NetworkInfo) GetSubnet() string
- func (m *NetworkInfo) GetType() string
- func (*NetworkInfo) ProtoMessage()
- func (m *NetworkInfo) Reset()
- func (m *NetworkInfo) String() string
- func (m *NetworkInfo) XXX_DiscardUnknown()
- func (m *NetworkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInfo) XXX_Merge(src proto.Message)
- func (m *NetworkInfo) XXX_Size() int
- func (m *NetworkInfo) XXX_Unmarshal(b []byte) error
- type NetworkInspectReq
- func (*NetworkInspectReq) Descriptor() ([]byte, []int)
- func (m *NetworkInspectReq) GetName() string
- func (*NetworkInspectReq) ProtoMessage()
- func (m *NetworkInspectReq) Reset()
- func (m *NetworkInspectReq) String() string
- func (m *NetworkInspectReq) XXX_DiscardUnknown()
- func (m *NetworkInspectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInspectReq) XXX_Merge(src proto.Message)
- func (m *NetworkInspectReq) XXX_Size() int
- func (m *NetworkInspectReq) XXX_Unmarshal(b []byte) error
- type NetworkInspectResp
- func (*NetworkInspectResp) Descriptor() ([]byte, []int)
- func (m *NetworkInspectResp) GetError() *Error
- func (m *NetworkInspectResp) GetNetInfo() string
- func (*NetworkInspectResp) ProtoMessage()
- func (m *NetworkInspectResp) Reset()
- func (m *NetworkInspectResp) String() string
- func (m *NetworkInspectResp) XXX_DiscardUnknown()
- func (m *NetworkInspectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInspectResp) XXX_Merge(src proto.Message)
- func (m *NetworkInspectResp) XXX_Size() int
- func (m *NetworkInspectResp) XXX_Unmarshal(b []byte) error
- type NetworkInterface
- func (*NetworkInterface) Descriptor() ([]byte, []int)
- func (m *NetworkInterface) GetAddress() []*NetworkAddress
- func (m *NetworkInterface) GetBridge() string
- func (m *NetworkInterface) GetGateway() string
- func (m *NetworkInterface) GetMac() string
- func (m *NetworkInterface) GetName() string
- func (*NetworkInterface) ProtoMessage()
- func (m *NetworkInterface) Reset()
- func (m *NetworkInterface) String() string
- func (m *NetworkInterface) XXX_DiscardUnknown()
- func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInterface) XXX_Merge(src proto.Message)
- func (m *NetworkInterface) XXX_Size() int
- func (m *NetworkInterface) XXX_Unmarshal(b []byte) error
- type NetworkListResp
- func (*NetworkListResp) Descriptor() ([]byte, []int)
- func (m *NetworkListResp) GetError() *Error
- func (m *NetworkListResp) GetNetworks() []*NetworkInfo
- func (*NetworkListResp) ProtoMessage()
- func (m *NetworkListResp) Reset()
- func (m *NetworkListResp) String() string
- func (m *NetworkListResp) XXX_DiscardUnknown()
- func (m *NetworkListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkListResp) XXX_Merge(src proto.Message)
- func (m *NetworkListResp) XXX_Size() int
- func (m *NetworkListResp) XXX_Unmarshal(b []byte) error
- type NetworkName
- func (*NetworkName) Descriptor() ([]byte, []int)
- func (m *NetworkName) GetId() string
- func (*NetworkName) ProtoMessage()
- func (m *NetworkName) Reset()
- func (m *NetworkName) String() string
- func (m *NetworkName) XXX_DiscardUnknown()
- func (m *NetworkName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkName) XXX_Merge(src proto.Message)
- func (m *NetworkName) XXX_Size() int
- func (m *NetworkName) XXX_Unmarshal(b []byte) error
- type PortBinding
- func (*PortBinding) Descriptor() ([]byte, []int)
- func (m *PortBinding) GetHostIp() string
- func (m *PortBinding) GetHostPort() string
- func (*PortBinding) ProtoMessage()
- func (m *PortBinding) Reset()
- func (m *PortBinding) String() string
- func (m *PortBinding) XXX_DiscardUnknown()
- func (m *PortBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PortBinding) XXX_Merge(src proto.Message)
- func (m *PortBinding) XXX_Size() int
- func (m *PortBinding) XXX_Unmarshal(b []byte) error
- type PortBindings
- func (*PortBindings) Descriptor() ([]byte, []int)
- func (m *PortBindings) GetPortBindings() []*PortBinding
- func (*PortBindings) ProtoMessage()
- func (m *PortBindings) Reset()
- func (m *PortBindings) String() string
- func (m *PortBindings) XXX_DiscardUnknown()
- func (m *PortBindings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PortBindings) XXX_Merge(src proto.Message)
- func (m *PortBindings) XXX_Size() int
- func (m *PortBindings) XXX_Unmarshal(b []byte) error
- type RenameMachineReq
- func (*RenameMachineReq) Descriptor() ([]byte, []int)
- func (m *RenameMachineReq) GetId() string
- func (m *RenameMachineReq) GetName() string
- func (*RenameMachineReq) ProtoMessage()
- func (m *RenameMachineReq) Reset()
- func (m *RenameMachineReq) String() string
- func (m *RenameMachineReq) XXX_DiscardUnknown()
- func (m *RenameMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenameMachineReq) XXX_Merge(src proto.Message)
- func (m *RenameMachineReq) XXX_Size() int
- func (m *RenameMachineReq) XXX_Unmarshal(b []byte) error
- type ResizeTTYReq
- func (*ResizeTTYReq) Descriptor() ([]byte, []int)
- func (m *ResizeTTYReq) GetHeight() uint32
- func (m *ResizeTTYReq) GetId() string
- func (m *ResizeTTYReq) GetWidth() uint32
- func (*ResizeTTYReq) ProtoMessage()
- func (m *ResizeTTYReq) Reset()
- func (m *ResizeTTYReq) String() string
- func (m *ResizeTTYReq) XXX_DiscardUnknown()
- func (m *ResizeTTYReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResizeTTYReq) XXX_Merge(src proto.Message)
- func (m *ResizeTTYReq) XXX_Size() int
- func (m *ResizeTTYReq) XXX_Unmarshal(b []byte) error
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)
- func (m *Resources) GetBlkioDeviceReadBps() []*ThrottleDevice
- func (m *Resources) GetBlkioDeviceReadIOps() []*ThrottleDevice
- func (m *Resources) GetBlkioDeviceWriteBps() []*ThrottleDevice
- func (m *Resources) GetBlkioDeviceWriteIOps() []*ThrottleDevice
- func (m *Resources) GetBlkioWeight() uint32
- func (m *Resources) GetBlkioWeightDevice() []*WeightDevice
- func (m *Resources) GetCPUPeriod() int64
- func (m *Resources) GetCPUQuota() int64
- func (m *Resources) GetCPURealtimePeriod() int64
- func (m *Resources) GetCPURealtimeRuntime() int64
- func (m *Resources) GetCPUShares() int64
- func (m *Resources) GetCgroupParent() string
- func (m *Resources) GetCpusetCpus() string
- func (m *Resources) GetCpusetMems() string
- func (m *Resources) GetDevices() []*DeviceMapping
- func (m *Resources) GetDiskQuota() int64
- func (m *Resources) GetKernelMemory() int64
- func (m *Resources) GetKernelMemoryTCP() int64
- func (m *Resources) GetMemory() int64
- func (m *Resources) GetMemoryReservation() int64
- func (m *Resources) GetMemorySwap() int64
- func (m *Resources) GetMemorySwappiness() int64
- func (m *Resources) GetNanoCPUs() int64
- func (m *Resources) GetOomKillDisable() bool
- func (m *Resources) GetPidsLimit() 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 (m *Resources) XXX_Merge(src proto.Message)
- func (m *Resources) XXX_Size() int
- func (m *Resources) XXX_Unmarshal(b []byte) error
- type RestartMachineReq
- func (*RestartMachineReq) Descriptor() ([]byte, []int)
- func (m *RestartMachineReq) GetId() string
- func (m *RestartMachineReq) GetTimeout() int32
- func (*RestartMachineReq) ProtoMessage()
- func (m *RestartMachineReq) Reset()
- func (m *RestartMachineReq) String() string
- func (m *RestartMachineReq) XXX_DiscardUnknown()
- func (m *RestartMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestartMachineReq) XXX_Merge(src proto.Message)
- func (m *RestartMachineReq) XXX_Size() int
- func (m *RestartMachineReq) XXX_Unmarshal(b []byte) error
- type StartMachineReq
- func (*StartMachineReq) Descriptor() ([]byte, []int)
- func (m *StartMachineReq) GetId() string
- func (*StartMachineReq) ProtoMessage()
- func (m *StartMachineReq) Reset()
- func (m *StartMachineReq) String() string
- func (m *StartMachineReq) XXX_DiscardUnknown()
- func (m *StartMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartMachineReq) XXX_Merge(src proto.Message)
- func (m *StartMachineReq) XXX_Size() int
- func (m *StartMachineReq) XXX_Unmarshal(b []byte) error
- type StopMachineReq
- func (*StopMachineReq) Descriptor() ([]byte, []int)
- func (m *StopMachineReq) GetId() string
- func (m *StopMachineReq) GetTimeout() int32
- func (*StopMachineReq) ProtoMessage()
- func (m *StopMachineReq) Reset()
- func (m *StopMachineReq) String() string
- func (m *StopMachineReq) XXX_DiscardUnknown()
- func (m *StopMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopMachineReq) XXX_Merge(src proto.Message)
- func (m *StopMachineReq) XXX_Size() int
- func (m *StopMachineReq) XXX_Unmarshal(b []byte) error
- type ThrottleDevice
- func (*ThrottleDevice) Descriptor() ([]byte, []int)
- func (m *ThrottleDevice) GetPath() string
- func (m *ThrottleDevice) GetRate() uint64
- func (*ThrottleDevice) ProtoMessage()
- func (m *ThrottleDevice) Reset()
- func (m *ThrottleDevice) String() string
- func (m *ThrottleDevice) XXX_DiscardUnknown()
- func (m *ThrottleDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThrottleDevice) XXX_Merge(src proto.Message)
- func (m *ThrottleDevice) XXX_Size() int
- func (m *ThrottleDevice) XXX_Unmarshal(b []byte) error
- type UnimplementedExecutorServer
- func (*UnimplementedExecutorServer) AddVolume(ctx context.Context, req *AddVolumeReq) (*AddVolumeResp, error)
- func (*UnimplementedExecutorServer) AttachMachine(srv Executor_AttachMachineServer) error
- func (*UnimplementedExecutorServer) CanAttachJudge(ctx context.Context, req *MachineIdReq) (*CanAttachJudgeResp, error)
- func (*UnimplementedExecutorServer) CommitMachine(ctx context.Context, req *CommitMachineReq) (*CommitMachineResp, error)
- func (*UnimplementedExecutorServer) ConnectNetwork(ctx context.Context, req *NetworkConnectReq) (*Error, error)
- func (*UnimplementedExecutorServer) CreateMachine(ctx context.Context, req *CreateMachineReq) (*CreateMachineResp, error)
- func (*UnimplementedExecutorServer) CreateNetwork(ctx context.Context, req *NetworkCreateReq) (*NetworkCreateResp, error)
- func (*UnimplementedExecutorServer) CreateVolume(ctx context.Context, req *CreateVolumeReq) (*CreateVolumeResp, error)
- func (*UnimplementedExecutorServer) DeleteImage(ctx context.Context, req *DeleteImageReq) (*DeleteImageResp, error)
- func (*UnimplementedExecutorServer) DeleteMachine(ctx context.Context, req *DeleteMachineReq) (*Error, error)
- func (*UnimplementedExecutorServer) DeleteNetwork(ctx context.Context, req *NetworkDeleteReq) (*NetworkDeleteResp, error)
- func (*UnimplementedExecutorServer) DeleteVolume(ctx context.Context, req *DeleteVolumeReq) (*Error, error)
- func (*UnimplementedExecutorServer) ExportImage(ctx context.Context, req *ExportImageReq) (*Error, error)
- func (*UnimplementedExecutorServer) ImportImage(ctx context.Context, req *ImportImageReq) (*ImportImageResp, error)
- func (*UnimplementedExecutorServer) InspectMachine(ctx context.Context, req *MachineIdReq) (*InspectMachineResp, error)
- func (*UnimplementedExecutorServer) InspectNetwork(ctx context.Context, req *NetworkInspectReq) (*NetworkInspectResp, error)
- func (*UnimplementedExecutorServer) KillMachine(ctx context.Context, req *KillMachineReq) (*Error, error)
- func (*UnimplementedExecutorServer) ListImage(ctx context.Context, req *empty.Empty) (*ListImageResp, error)
- func (*UnimplementedExecutorServer) ListMachine(ctx context.Context, req *empty.Empty) (*ListMachineResp, error)
- func (*UnimplementedExecutorServer) ListNetwork(ctx context.Context, req *empty.Empty) (*NetworkListResp, error)
- func (*UnimplementedExecutorServer) ListVolume(ctx context.Context, req *empty.Empty) (*ListVolumeResp, error)
- func (*UnimplementedExecutorServer) PauseMachine(ctx context.Context, req *MachineIdReq) (*Error, error)
- func (*UnimplementedExecutorServer) RenameMachine(ctx context.Context, req *RenameMachineReq) (*Error, error)
- func (*UnimplementedExecutorServer) ResizeMachineTTY(ctx context.Context, req *ResizeTTYReq) (*Error, error)
- func (*UnimplementedExecutorServer) RestartMachine(ctx context.Context, req *RestartMachineReq) (*Error, error)
- func (*UnimplementedExecutorServer) StartMachine(ctx context.Context, req *StartMachineReq) (*Error, error)
- func (*UnimplementedExecutorServer) StopMachine(ctx context.Context, req *StopMachineReq) (*Error, error)
- func (*UnimplementedExecutorServer) UnpauseMachine(ctx context.Context, req *MachineIdReq) (*Error, error)
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)
- func (m *Volume) GetCreateTime() string
- func (m *Volume) GetName() string
- func (m *Volume) GetPath() string
- 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 (m *Volume) XXX_Merge(src proto.Message)
- func (m *Volume) XXX_Size() int
- func (m *Volume) XXX_Unmarshal(b []byte) error
- type WeightDevice
- func (*WeightDevice) Descriptor() ([]byte, []int)
- func (m *WeightDevice) GetPath() string
- func (m *WeightDevice) GetWeight() uint32
- func (*WeightDevice) ProtoMessage()
- func (m *WeightDevice) Reset()
- func (m *WeightDevice) String() string
- func (m *WeightDevice) XXX_DiscardUnknown()
- func (m *WeightDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WeightDevice) XXX_Merge(src proto.Message)
- func (m *WeightDevice) XXX_Size() int
- func (m *WeightDevice) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterExecutorServer ¶
func RegisterExecutorServer(s *grpc.Server, srv ExecutorServer)
Types ¶
type AddVolumeReq ¶
type AddVolumeReq struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddVolumeReq) Descriptor ¶
func (*AddVolumeReq) Descriptor() ([]byte, []int)
func (*AddVolumeReq) GetName ¶
func (m *AddVolumeReq) GetName() string
func (*AddVolumeReq) GetPath ¶
func (m *AddVolumeReq) GetPath() string
func (*AddVolumeReq) ProtoMessage ¶
func (*AddVolumeReq) ProtoMessage()
func (*AddVolumeReq) Reset ¶
func (m *AddVolumeReq) Reset()
func (*AddVolumeReq) String ¶
func (m *AddVolumeReq) String() string
func (*AddVolumeReq) XXX_DiscardUnknown ¶
func (m *AddVolumeReq) XXX_DiscardUnknown()
func (*AddVolumeReq) XXX_Marshal ¶
func (m *AddVolumeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddVolumeReq) XXX_Merge ¶
func (m *AddVolumeReq) XXX_Merge(src proto.Message)
func (*AddVolumeReq) XXX_Size ¶
func (m *AddVolumeReq) XXX_Size() int
func (*AddVolumeReq) XXX_Unmarshal ¶
func (m *AddVolumeReq) XXX_Unmarshal(b []byte) error
type AddVolumeResp ¶
type AddVolumeResp struct { Volume string `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddVolumeResp) Descriptor ¶
func (*AddVolumeResp) Descriptor() ([]byte, []int)
func (*AddVolumeResp) GetError ¶
func (m *AddVolumeResp) GetError() *Error
func (*AddVolumeResp) GetVolume ¶
func (m *AddVolumeResp) GetVolume() string
func (*AddVolumeResp) ProtoMessage ¶
func (*AddVolumeResp) ProtoMessage()
func (*AddVolumeResp) Reset ¶
func (m *AddVolumeResp) Reset()
func (*AddVolumeResp) String ¶
func (m *AddVolumeResp) String() string
func (*AddVolumeResp) XXX_DiscardUnknown ¶
func (m *AddVolumeResp) XXX_DiscardUnknown()
func (*AddVolumeResp) XXX_Marshal ¶
func (m *AddVolumeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddVolumeResp) XXX_Merge ¶
func (m *AddVolumeResp) XXX_Merge(src proto.Message)
func (*AddVolumeResp) XXX_Size ¶
func (m *AddVolumeResp) XXX_Size() int
func (*AddVolumeResp) XXX_Unmarshal ¶
func (m *AddVolumeResp) XXX_Unmarshal(b []byte) error
type AttachStreamIn ¶
type AttachStreamIn struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttachStreamIn) Descriptor ¶
func (*AttachStreamIn) Descriptor() ([]byte, []int)
func (*AttachStreamIn) GetContent ¶
func (m *AttachStreamIn) GetContent() []byte
func (*AttachStreamIn) GetId ¶
func (m *AttachStreamIn) GetId() string
func (*AttachStreamIn) ProtoMessage ¶
func (*AttachStreamIn) ProtoMessage()
func (*AttachStreamIn) Reset ¶
func (m *AttachStreamIn) Reset()
func (*AttachStreamIn) String ¶
func (m *AttachStreamIn) String() string
func (*AttachStreamIn) XXX_DiscardUnknown ¶
func (m *AttachStreamIn) XXX_DiscardUnknown()
func (*AttachStreamIn) XXX_Marshal ¶
func (m *AttachStreamIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttachStreamIn) XXX_Merge ¶
func (m *AttachStreamIn) XXX_Merge(src proto.Message)
func (*AttachStreamIn) XXX_Size ¶
func (m *AttachStreamIn) XXX_Size() int
func (*AttachStreamIn) XXX_Unmarshal ¶
func (m *AttachStreamIn) XXX_Unmarshal(b []byte) error
type AttachStreamOut ¶
type AttachStreamOut struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttachStreamOut) Descriptor ¶
func (*AttachStreamOut) Descriptor() ([]byte, []int)
func (*AttachStreamOut) GetContent ¶
func (m *AttachStreamOut) GetContent() []byte
func (*AttachStreamOut) ProtoMessage ¶
func (*AttachStreamOut) ProtoMessage()
func (*AttachStreamOut) Reset ¶
func (m *AttachStreamOut) Reset()
func (*AttachStreamOut) String ¶
func (m *AttachStreamOut) String() string
func (*AttachStreamOut) XXX_DiscardUnknown ¶
func (m *AttachStreamOut) XXX_DiscardUnknown()
func (*AttachStreamOut) XXX_Marshal ¶
func (m *AttachStreamOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttachStreamOut) XXX_Merge ¶
func (m *AttachStreamOut) XXX_Merge(src proto.Message)
func (*AttachStreamOut) XXX_Size ¶
func (m *AttachStreamOut) XXX_Size() int
func (*AttachStreamOut) XXX_Unmarshal ¶
func (m *AttachStreamOut) XXX_Unmarshal(b []byte) error
type CanAttachJudgeResp ¶
type CanAttachJudgeResp struct { Tty bool `protobuf:"varint,1,opt,name=tty,proto3" json:"tty,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` ImageType string `protobuf:"bytes,3,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CanAttachJudgeResp) Descriptor ¶
func (*CanAttachJudgeResp) Descriptor() ([]byte, []int)
func (*CanAttachJudgeResp) GetImageType ¶
func (m *CanAttachJudgeResp) GetImageType() string
func (*CanAttachJudgeResp) GetState ¶
func (m *CanAttachJudgeResp) GetState() string
func (*CanAttachJudgeResp) GetTty ¶
func (m *CanAttachJudgeResp) GetTty() bool
func (*CanAttachJudgeResp) ProtoMessage ¶
func (*CanAttachJudgeResp) ProtoMessage()
func (*CanAttachJudgeResp) Reset ¶
func (m *CanAttachJudgeResp) Reset()
func (*CanAttachJudgeResp) String ¶
func (m *CanAttachJudgeResp) String() string
func (*CanAttachJudgeResp) XXX_DiscardUnknown ¶
func (m *CanAttachJudgeResp) XXX_DiscardUnknown()
func (*CanAttachJudgeResp) XXX_Marshal ¶
func (m *CanAttachJudgeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CanAttachJudgeResp) XXX_Merge ¶
func (m *CanAttachJudgeResp) XXX_Merge(src proto.Message)
func (*CanAttachJudgeResp) XXX_Size ¶
func (m *CanAttachJudgeResp) XXX_Size() int
func (*CanAttachJudgeResp) XXX_Unmarshal ¶
func (m *CanAttachJudgeResp) XXX_Unmarshal(b []byte) error
type CommitMachineReq ¶
type CommitMachineReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitMachineReq) Descriptor ¶
func (*CommitMachineReq) Descriptor() ([]byte, []int)
func (*CommitMachineReq) GetId ¶
func (m *CommitMachineReq) GetId() string
func (*CommitMachineReq) GetName ¶
func (m *CommitMachineReq) GetName() string
func (*CommitMachineReq) ProtoMessage ¶
func (*CommitMachineReq) ProtoMessage()
func (*CommitMachineReq) Reset ¶
func (m *CommitMachineReq) Reset()
func (*CommitMachineReq) String ¶
func (m *CommitMachineReq) String() string
func (*CommitMachineReq) XXX_DiscardUnknown ¶
func (m *CommitMachineReq) XXX_DiscardUnknown()
func (*CommitMachineReq) XXX_Marshal ¶
func (m *CommitMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitMachineReq) XXX_Merge ¶
func (m *CommitMachineReq) XXX_Merge(src proto.Message)
func (*CommitMachineReq) XXX_Size ¶
func (m *CommitMachineReq) XXX_Size() int
func (*CommitMachineReq) XXX_Unmarshal ¶
func (m *CommitMachineReq) XXX_Unmarshal(b []byte) error
type CommitMachineResp ¶
type CommitMachineResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Err *Error `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommitMachineResp) Descriptor ¶
func (*CommitMachineResp) Descriptor() ([]byte, []int)
func (*CommitMachineResp) GetErr ¶
func (m *CommitMachineResp) GetErr() *Error
func (*CommitMachineResp) GetId ¶
func (m *CommitMachineResp) GetId() string
func (*CommitMachineResp) ProtoMessage ¶
func (*CommitMachineResp) ProtoMessage()
func (*CommitMachineResp) Reset ¶
func (m *CommitMachineResp) Reset()
func (*CommitMachineResp) String ¶
func (m *CommitMachineResp) String() string
func (*CommitMachineResp) XXX_DiscardUnknown ¶
func (m *CommitMachineResp) XXX_DiscardUnknown()
func (*CommitMachineResp) XXX_Marshal ¶
func (m *CommitMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitMachineResp) XXX_Merge ¶
func (m *CommitMachineResp) XXX_Merge(src proto.Message)
func (*CommitMachineResp) XXX_Size ¶
func (m *CommitMachineResp) XXX_Size() int
func (*CommitMachineResp) XXX_Unmarshal ¶
func (m *CommitMachineResp) XXX_Unmarshal(b []byte) error
type CreateMachineReq ¶
type CreateMachineReq struct { ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"` Tty bool `protobuf:"varint,4,opt,name=tty,proto3" json:"tty,omitempty"` Cmd []string `protobuf:"bytes,5,rep,name=cmd,proto3" json:"cmd,omitempty"` WorkingDir string `protobuf:"bytes,6,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` ExposedPorts map[string]*PortBindings `` /* 185-byte string literal not displayed */ Network *Network `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"` Volumes []*MachineVolume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` Resources *Resources `protobuf:"bytes,10,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateMachineReq) Descriptor ¶
func (*CreateMachineReq) Descriptor() ([]byte, []int)
func (*CreateMachineReq) GetCmd ¶
func (m *CreateMachineReq) GetCmd() []string
func (*CreateMachineReq) GetEnv ¶
func (m *CreateMachineReq) GetEnv() []string
func (*CreateMachineReq) GetExposedPorts ¶
func (m *CreateMachineReq) GetExposedPorts() map[string]*PortBindings
func (*CreateMachineReq) GetImageId ¶
func (m *CreateMachineReq) GetImageId() string
func (*CreateMachineReq) GetName ¶
func (m *CreateMachineReq) GetName() string
func (*CreateMachineReq) GetNetwork ¶
func (m *CreateMachineReq) GetNetwork() *Network
func (*CreateMachineReq) GetResources ¶
func (m *CreateMachineReq) GetResources() *Resources
func (*CreateMachineReq) GetTty ¶
func (m *CreateMachineReq) GetTty() bool
func (*CreateMachineReq) GetVolumes ¶
func (m *CreateMachineReq) GetVolumes() []*MachineVolume
func (*CreateMachineReq) GetWorkingDir ¶
func (m *CreateMachineReq) GetWorkingDir() string
func (*CreateMachineReq) ProtoMessage ¶
func (*CreateMachineReq) ProtoMessage()
func (*CreateMachineReq) Reset ¶
func (m *CreateMachineReq) Reset()
func (*CreateMachineReq) String ¶
func (m *CreateMachineReq) String() string
func (*CreateMachineReq) XXX_DiscardUnknown ¶
func (m *CreateMachineReq) XXX_DiscardUnknown()
func (*CreateMachineReq) XXX_Marshal ¶
func (m *CreateMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMachineReq) XXX_Merge ¶
func (m *CreateMachineReq) XXX_Merge(src proto.Message)
func (*CreateMachineReq) XXX_Size ¶
func (m *CreateMachineReq) XXX_Size() int
func (*CreateMachineReq) XXX_Unmarshal ¶
func (m *CreateMachineReq) XXX_Unmarshal(b []byte) error
type CreateMachineResp ¶
type CreateMachineResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Err *Error `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateMachineResp) Descriptor ¶
func (*CreateMachineResp) Descriptor() ([]byte, []int)
func (*CreateMachineResp) GetErr ¶
func (m *CreateMachineResp) GetErr() *Error
func (*CreateMachineResp) GetId ¶
func (m *CreateMachineResp) GetId() string
func (*CreateMachineResp) ProtoMessage ¶
func (*CreateMachineResp) ProtoMessage()
func (*CreateMachineResp) Reset ¶
func (m *CreateMachineResp) Reset()
func (*CreateMachineResp) String ¶
func (m *CreateMachineResp) String() string
func (*CreateMachineResp) XXX_DiscardUnknown ¶
func (m *CreateMachineResp) XXX_DiscardUnknown()
func (*CreateMachineResp) XXX_Marshal ¶
func (m *CreateMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMachineResp) XXX_Merge ¶
func (m *CreateMachineResp) XXX_Merge(src proto.Message)
func (*CreateMachineResp) XXX_Size ¶
func (m *CreateMachineResp) XXX_Size() int
func (*CreateMachineResp) XXX_Unmarshal ¶
func (m *CreateMachineResp) XXX_Unmarshal(b []byte) error
type CreateVolumeReq ¶
type CreateVolumeReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVolumeReq) Descriptor ¶
func (*CreateVolumeReq) Descriptor() ([]byte, []int)
func (*CreateVolumeReq) GetName ¶
func (m *CreateVolumeReq) GetName() string
func (*CreateVolumeReq) ProtoMessage ¶
func (*CreateVolumeReq) ProtoMessage()
func (*CreateVolumeReq) Reset ¶
func (m *CreateVolumeReq) Reset()
func (*CreateVolumeReq) String ¶
func (m *CreateVolumeReq) String() string
func (*CreateVolumeReq) XXX_DiscardUnknown ¶
func (m *CreateVolumeReq) XXX_DiscardUnknown()
func (*CreateVolumeReq) XXX_Marshal ¶
func (m *CreateVolumeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateVolumeReq) XXX_Merge ¶
func (m *CreateVolumeReq) XXX_Merge(src proto.Message)
func (*CreateVolumeReq) XXX_Size ¶
func (m *CreateVolumeReq) XXX_Size() int
func (*CreateVolumeReq) XXX_Unmarshal ¶
func (m *CreateVolumeReq) XXX_Unmarshal(b []byte) error
type CreateVolumeResp ¶
type CreateVolumeResp struct { Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateVolumeResp) Descriptor ¶
func (*CreateVolumeResp) Descriptor() ([]byte, []int)
func (*CreateVolumeResp) GetError ¶
func (m *CreateVolumeResp) GetError() *Error
func (*CreateVolumeResp) GetVolume ¶
func (m *CreateVolumeResp) GetVolume() *Volume
func (*CreateVolumeResp) ProtoMessage ¶
func (*CreateVolumeResp) ProtoMessage()
func (*CreateVolumeResp) Reset ¶
func (m *CreateVolumeResp) Reset()
func (*CreateVolumeResp) String ¶
func (m *CreateVolumeResp) String() string
func (*CreateVolumeResp) XXX_DiscardUnknown ¶
func (m *CreateVolumeResp) XXX_DiscardUnknown()
func (*CreateVolumeResp) XXX_Marshal ¶
func (m *CreateVolumeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateVolumeResp) XXX_Merge ¶
func (m *CreateVolumeResp) XXX_Merge(src proto.Message)
func (*CreateVolumeResp) XXX_Size ¶
func (m *CreateVolumeResp) XXX_Size() int
func (*CreateVolumeResp) XXX_Unmarshal ¶
func (m *CreateVolumeResp) XXX_Unmarshal(b []byte) error
type DeleteImageReq ¶
type DeleteImageReq 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 (*DeleteImageReq) Descriptor ¶
func (*DeleteImageReq) Descriptor() ([]byte, []int)
func (*DeleteImageReq) GetId ¶
func (m *DeleteImageReq) GetId() string
func (*DeleteImageReq) ProtoMessage ¶
func (*DeleteImageReq) ProtoMessage()
func (*DeleteImageReq) Reset ¶
func (m *DeleteImageReq) Reset()
func (*DeleteImageReq) String ¶
func (m *DeleteImageReq) String() string
func (*DeleteImageReq) XXX_DiscardUnknown ¶
func (m *DeleteImageReq) XXX_DiscardUnknown()
func (*DeleteImageReq) XXX_Marshal ¶
func (m *DeleteImageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteImageReq) XXX_Merge ¶
func (m *DeleteImageReq) XXX_Merge(src proto.Message)
func (*DeleteImageReq) XXX_Size ¶
func (m *DeleteImageReq) XXX_Size() int
func (*DeleteImageReq) XXX_Unmarshal ¶
func (m *DeleteImageReq) XXX_Unmarshal(b []byte) error
type DeleteImageResp ¶
type DeleteImageResp struct { Err *Error `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteImageResp) Descriptor ¶
func (*DeleteImageResp) Descriptor() ([]byte, []int)
func (*DeleteImageResp) GetErr ¶
func (m *DeleteImageResp) GetErr() *Error
func (*DeleteImageResp) ProtoMessage ¶
func (*DeleteImageResp) ProtoMessage()
func (*DeleteImageResp) Reset ¶
func (m *DeleteImageResp) Reset()
func (*DeleteImageResp) String ¶
func (m *DeleteImageResp) String() string
func (*DeleteImageResp) XXX_DiscardUnknown ¶
func (m *DeleteImageResp) XXX_DiscardUnknown()
func (*DeleteImageResp) XXX_Marshal ¶
func (m *DeleteImageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteImageResp) XXX_Merge ¶
func (m *DeleteImageResp) XXX_Merge(src proto.Message)
func (*DeleteImageResp) XXX_Size ¶
func (m *DeleteImageResp) XXX_Size() int
func (*DeleteImageResp) XXX_Unmarshal ¶
func (m *DeleteImageResp) XXX_Unmarshal(b []byte) error
type DeleteMachineReq ¶
type DeleteMachineReq 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 (*DeleteMachineReq) Descriptor ¶
func (*DeleteMachineReq) Descriptor() ([]byte, []int)
func (*DeleteMachineReq) GetId ¶
func (m *DeleteMachineReq) GetId() string
func (*DeleteMachineReq) ProtoMessage ¶
func (*DeleteMachineReq) ProtoMessage()
func (*DeleteMachineReq) Reset ¶
func (m *DeleteMachineReq) Reset()
func (*DeleteMachineReq) String ¶
func (m *DeleteMachineReq) String() string
func (*DeleteMachineReq) XXX_DiscardUnknown ¶
func (m *DeleteMachineReq) XXX_DiscardUnknown()
func (*DeleteMachineReq) XXX_Marshal ¶
func (m *DeleteMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteMachineReq) XXX_Merge ¶
func (m *DeleteMachineReq) XXX_Merge(src proto.Message)
func (*DeleteMachineReq) XXX_Size ¶
func (m *DeleteMachineReq) XXX_Size() int
func (*DeleteMachineReq) XXX_Unmarshal ¶
func (m *DeleteMachineReq) XXX_Unmarshal(b []byte) error
type DeleteVolumeReq ¶
type DeleteVolumeReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Purge bool `protobuf:"varint,2,opt,name=purge,proto3" json:"purge,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteVolumeReq) Descriptor ¶
func (*DeleteVolumeReq) Descriptor() ([]byte, []int)
func (*DeleteVolumeReq) GetName ¶
func (m *DeleteVolumeReq) GetName() string
func (*DeleteVolumeReq) GetPurge ¶
func (m *DeleteVolumeReq) GetPurge() bool
func (*DeleteVolumeReq) ProtoMessage ¶
func (*DeleteVolumeReq) ProtoMessage()
func (*DeleteVolumeReq) Reset ¶
func (m *DeleteVolumeReq) Reset()
func (*DeleteVolumeReq) String ¶
func (m *DeleteVolumeReq) String() string
func (*DeleteVolumeReq) XXX_DiscardUnknown ¶
func (m *DeleteVolumeReq) XXX_DiscardUnknown()
func (*DeleteVolumeReq) XXX_Marshal ¶
func (m *DeleteVolumeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteVolumeReq) XXX_Merge ¶
func (m *DeleteVolumeReq) XXX_Merge(src proto.Message)
func (*DeleteVolumeReq) XXX_Size ¶
func (m *DeleteVolumeReq) XXX_Size() int
func (*DeleteVolumeReq) XXX_Unmarshal ¶
func (m *DeleteVolumeReq) XXX_Unmarshal(b []byte) error
type DeviceMapping ¶
type DeviceMapping struct { PathOnHost string `protobuf:"bytes,1,opt,name=PathOnHost,proto3" json:"PathOnHost,omitempty"` PathInContainer string `protobuf:"bytes,2,opt,name=PathInContainer,proto3" json:"PathInContainer,omitempty"` CgroupPermissions string `protobuf:"bytes,3,opt,name=CgroupPermissions,proto3" json:"CgroupPermissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeviceMapping 表示宿主机与容器之间 device 的映射
func (*DeviceMapping) Descriptor ¶
func (*DeviceMapping) Descriptor() ([]byte, []int)
func (*DeviceMapping) GetCgroupPermissions ¶
func (m *DeviceMapping) GetCgroupPermissions() string
func (*DeviceMapping) GetPathInContainer ¶
func (m *DeviceMapping) GetPathInContainer() string
func (*DeviceMapping) GetPathOnHost ¶
func (m *DeviceMapping) GetPathOnHost() string
func (*DeviceMapping) ProtoMessage ¶
func (*DeviceMapping) ProtoMessage()
func (*DeviceMapping) Reset ¶
func (m *DeviceMapping) Reset()
func (*DeviceMapping) String ¶
func (m *DeviceMapping) String() string
func (*DeviceMapping) XXX_DiscardUnknown ¶
func (m *DeviceMapping) XXX_DiscardUnknown()
func (*DeviceMapping) XXX_Marshal ¶
func (m *DeviceMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceMapping) XXX_Merge ¶
func (m *DeviceMapping) XXX_Merge(src proto.Message)
func (*DeviceMapping) XXX_Size ¶
func (m *DeviceMapping) XXX_Size() int
func (*DeviceMapping) XXX_Unmarshal ¶
func (m *DeviceMapping) XXX_Unmarshal(b []byte) error
type Error ¶
type Error struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type ExecutorClient ¶
type ExecutorClient interface { // 创建network CreateNetwork(ctx context.Context, in *NetworkCreateReq, opts ...grpc.CallOption) (*NetworkCreateResp, error) // 删除network DeleteNetwork(ctx context.Context, in *NetworkDeleteReq, opts ...grpc.CallOption) (*NetworkDeleteResp, error) // inspect network InspectNetwork(ctx context.Context, in *NetworkInspectReq, opts ...grpc.CallOption) (*NetworkInspectResp, error) // 展示所有network ListNetwork(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NetworkListResp, error) // connect network ConnectNetwork(ctx context.Context, in *NetworkConnectReq, opts ...grpc.CallOption) (*Error, error) // 导入image ImportImage(ctx context.Context, in *ImportImageReq, opts ...grpc.CallOption) (*ImportImageResp, error) // 展示所有image ListImage(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListImageResp, error) // 删除image DeleteImage(ctx context.Context, in *DeleteImageReq, opts ...grpc.CallOption) (*DeleteImageResp, error) // export image ExportImage(ctx context.Context, in *ExportImageReq, opts ...grpc.CallOption) (*Error, error) // 创建machine CreateMachine(ctx context.Context, in *CreateMachineReq, opts ...grpc.CallOption) (*CreateMachineResp, error) // 删除machine DeleteMachine(ctx context.Context, in *DeleteMachineReq, opts ...grpc.CallOption) (*Error, error) // 展示所有machine ListMachine(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListMachineResp, error) // 开启machine StartMachine(ctx context.Context, in *StartMachineReq, opts ...grpc.CallOption) (*Error, error) // 强制关闭machine KillMachine(ctx context.Context, in *KillMachineReq, opts ...grpc.CallOption) (*Error, error) // 关闭machine StopMachine(ctx context.Context, in *StopMachineReq, opts ...grpc.CallOption) (*Error, error) // 重命名machine RenameMachine(ctx context.Context, in *RenameMachineReq, opts ...grpc.CallOption) (*Error, error) // 重启machine RestartMachine(ctx context.Context, in *RestartMachineReq, opts ...grpc.CallOption) (*Error, error) // 连接进入machine AttachMachine(ctx context.Context, opts ...grpc.CallOption) (Executor_AttachMachineClient, error) // 查看machine InspectMachine(ctx context.Context, in *MachineIdReq, opts ...grpc.CallOption) (*InspectMachineResp, error) // 挂起machine PauseMachine(ctx context.Context, in *MachineIdReq, opts ...grpc.CallOption) (*Error, error) // 恢复machine UnpauseMachine(ctx context.Context, in *MachineIdReq, opts ...grpc.CallOption) (*Error, error) // commit machine CommitMachine(ctx context.Context, in *CommitMachineReq, opts ...grpc.CallOption) (*CommitMachineResp, error) // 重新定义machine伪终端长和宽 ResizeMachineTTY(ctx context.Context, in *ResizeTTYReq, opts ...grpc.CallOption) (*Error, error) // 判断machine是否有伪终端 CanAttachJudge(ctx context.Context, in *MachineIdReq, opts ...grpc.CallOption) (*CanAttachJudgeResp, error) // 展示所有volume ListVolume(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ListVolumeResp, error) // 创建volume CreateVolume(ctx context.Context, in *CreateVolumeReq, opts ...grpc.CallOption) (*CreateVolumeResp, error) // 添加volume AddVolume(ctx context.Context, in *AddVolumeReq, opts ...grpc.CallOption) (*AddVolumeResp, error) // 删除volume DeleteVolume(ctx context.Context, in *DeleteVolumeReq, opts ...grpc.CallOption) (*Error, error) }
ExecutorClient is the client API for Executor service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExecutorClient ¶
func NewExecutorClient(cc grpc.ClientConnInterface) ExecutorClient
type ExecutorServer ¶
type ExecutorServer interface { // 创建network CreateNetwork(context.Context, *NetworkCreateReq) (*NetworkCreateResp, error) // 删除network DeleteNetwork(context.Context, *NetworkDeleteReq) (*NetworkDeleteResp, error) // inspect network InspectNetwork(context.Context, *NetworkInspectReq) (*NetworkInspectResp, error) // 展示所有network ListNetwork(context.Context, *empty.Empty) (*NetworkListResp, error) // connect network ConnectNetwork(context.Context, *NetworkConnectReq) (*Error, error) // 导入image ImportImage(context.Context, *ImportImageReq) (*ImportImageResp, error) // 展示所有image ListImage(context.Context, *empty.Empty) (*ListImageResp, error) // 删除image DeleteImage(context.Context, *DeleteImageReq) (*DeleteImageResp, error) // export image ExportImage(context.Context, *ExportImageReq) (*Error, error) // 创建machine CreateMachine(context.Context, *CreateMachineReq) (*CreateMachineResp, error) // 删除machine DeleteMachine(context.Context, *DeleteMachineReq) (*Error, error) // 展示所有machine ListMachine(context.Context, *empty.Empty) (*ListMachineResp, error) // 开启machine StartMachine(context.Context, *StartMachineReq) (*Error, error) // 强制关闭machine KillMachine(context.Context, *KillMachineReq) (*Error, error) // 关闭machine StopMachine(context.Context, *StopMachineReq) (*Error, error) // 重命名machine RenameMachine(context.Context, *RenameMachineReq) (*Error, error) // 重启machine RestartMachine(context.Context, *RestartMachineReq) (*Error, error) // 连接进入machine AttachMachine(Executor_AttachMachineServer) error // 查看machine InspectMachine(context.Context, *MachineIdReq) (*InspectMachineResp, error) // 挂起machine PauseMachine(context.Context, *MachineIdReq) (*Error, error) // 恢复machine UnpauseMachine(context.Context, *MachineIdReq) (*Error, error) // commit machine CommitMachine(context.Context, *CommitMachineReq) (*CommitMachineResp, error) // 重新定义machine伪终端长和宽 ResizeMachineTTY(context.Context, *ResizeTTYReq) (*Error, error) // 判断machine是否有伪终端 CanAttachJudge(context.Context, *MachineIdReq) (*CanAttachJudgeResp, error) // 展示所有volume ListVolume(context.Context, *empty.Empty) (*ListVolumeResp, error) // 创建volume CreateVolume(context.Context, *CreateVolumeReq) (*CreateVolumeResp, error) // 添加volume AddVolume(context.Context, *AddVolumeReq) (*AddVolumeResp, error) // 删除volume DeleteVolume(context.Context, *DeleteVolumeReq) (*Error, error) }
ExecutorServer is the server API for Executor service.
type Executor_AttachMachineClient ¶
type Executor_AttachMachineClient interface { Send(*AttachStreamIn) error Recv() (*AttachStreamOut, error) grpc.ClientStream }
type Executor_AttachMachineServer ¶
type Executor_AttachMachineServer interface { Send(*AttachStreamOut) error Recv() (*AttachStreamIn, error) grpc.ServerStream }
type ExportImageReq ¶
type ExportImageReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExportImageReq) Descriptor ¶
func (*ExportImageReq) Descriptor() ([]byte, []int)
func (*ExportImageReq) GetId ¶
func (m *ExportImageReq) GetId() string
func (*ExportImageReq) GetTarget ¶
func (m *ExportImageReq) GetTarget() string
func (*ExportImageReq) ProtoMessage ¶
func (*ExportImageReq) ProtoMessage()
func (*ExportImageReq) Reset ¶
func (m *ExportImageReq) Reset()
func (*ExportImageReq) String ¶
func (m *ExportImageReq) String() string
func (*ExportImageReq) XXX_DiscardUnknown ¶
func (m *ExportImageReq) XXX_DiscardUnknown()
func (*ExportImageReq) XXX_Marshal ¶
func (m *ExportImageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExportImageReq) XXX_Merge ¶
func (m *ExportImageReq) XXX_Merge(src proto.Message)
func (*ExportImageReq) XXX_Size ¶
func (m *ExportImageReq) XXX_Size() int
func (*ExportImageReq) XXX_Unmarshal ¶
func (m *ExportImageReq) XXX_Unmarshal(b []byte) error
type HostEntry ¶
type HostEntry struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HostEntry) Descriptor ¶
func (*HostEntry) ProtoMessage ¶
func (*HostEntry) ProtoMessage()
func (*HostEntry) XXX_DiscardUnknown ¶
func (m *HostEntry) XXX_DiscardUnknown()
func (*HostEntry) XXX_Marshal ¶
func (*HostEntry) XXX_Unmarshal ¶
type Image ¶
type Image struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreateTime string `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Machines int32 `protobuf:"varint,5,opt,name=machines,proto3" json:"machines,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Image) Descriptor ¶
func (*Image) GetCreateTime ¶
func (*Image) GetMachines ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
type ImportImageReq ¶
type ImportImageReq struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportImageReq) Descriptor ¶
func (*ImportImageReq) Descriptor() ([]byte, []int)
func (*ImportImageReq) GetName ¶
func (m *ImportImageReq) GetName() string
func (*ImportImageReq) GetPath ¶
func (m *ImportImageReq) GetPath() string
func (*ImportImageReq) GetType ¶
func (m *ImportImageReq) GetType() string
func (*ImportImageReq) ProtoMessage ¶
func (*ImportImageReq) ProtoMessage()
func (*ImportImageReq) Reset ¶
func (m *ImportImageReq) Reset()
func (*ImportImageReq) String ¶
func (m *ImportImageReq) String() string
func (*ImportImageReq) XXX_DiscardUnknown ¶
func (m *ImportImageReq) XXX_DiscardUnknown()
func (*ImportImageReq) XXX_Marshal ¶
func (m *ImportImageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportImageReq) XXX_Merge ¶
func (m *ImportImageReq) XXX_Merge(src proto.Message)
func (*ImportImageReq) XXX_Size ¶
func (m *ImportImageReq) XXX_Size() int
func (*ImportImageReq) XXX_Unmarshal ¶
func (m *ImportImageReq) XXX_Unmarshal(b []byte) error
type ImportImageResp ¶
type ImportImageResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Err *Error `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportImageResp) Descriptor ¶
func (*ImportImageResp) Descriptor() ([]byte, []int)
func (*ImportImageResp) GetErr ¶
func (m *ImportImageResp) GetErr() *Error
func (*ImportImageResp) GetId ¶
func (m *ImportImageResp) GetId() string
func (*ImportImageResp) ProtoMessage ¶
func (*ImportImageResp) ProtoMessage()
func (*ImportImageResp) Reset ¶
func (m *ImportImageResp) Reset()
func (*ImportImageResp) String ¶
func (m *ImportImageResp) String() string
func (*ImportImageResp) XXX_DiscardUnknown ¶
func (m *ImportImageResp) XXX_DiscardUnknown()
func (*ImportImageResp) XXX_Marshal ¶
func (m *ImportImageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportImageResp) XXX_Merge ¶
func (m *ImportImageResp) XXX_Merge(src proto.Message)
func (*ImportImageResp) XXX_Size ¶
func (m *ImportImageResp) XXX_Size() int
func (*ImportImageResp) XXX_Unmarshal ¶
func (m *ImportImageResp) XXX_Unmarshal(b []byte) error
type InspectMachineResp ¶
type InspectMachineResp struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Spec string `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` RuntimeConfig string `protobuf:"bytes,5,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InspectMachineResp) Descriptor ¶
func (*InspectMachineResp) Descriptor() ([]byte, []int)
func (*InspectMachineResp) GetId ¶
func (m *InspectMachineResp) GetId() string
func (*InspectMachineResp) GetName ¶
func (m *InspectMachineResp) GetName() string
func (*InspectMachineResp) GetRuntimeConfig ¶
func (m *InspectMachineResp) GetRuntimeConfig() string
func (*InspectMachineResp) GetSpec ¶
func (m *InspectMachineResp) GetSpec() string
func (*InspectMachineResp) GetType ¶
func (m *InspectMachineResp) GetType() string
func (*InspectMachineResp) ProtoMessage ¶
func (*InspectMachineResp) ProtoMessage()
func (*InspectMachineResp) Reset ¶
func (m *InspectMachineResp) Reset()
func (*InspectMachineResp) String ¶
func (m *InspectMachineResp) String() string
func (*InspectMachineResp) XXX_DiscardUnknown ¶
func (m *InspectMachineResp) XXX_DiscardUnknown()
func (*InspectMachineResp) XXX_Marshal ¶
func (m *InspectMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InspectMachineResp) XXX_Merge ¶
func (m *InspectMachineResp) XXX_Merge(src proto.Message)
func (*InspectMachineResp) XXX_Size ¶
func (m *InspectMachineResp) XXX_Size() int
func (*InspectMachineResp) XXX_Unmarshal ¶
func (m *InspectMachineResp) XXX_Unmarshal(b []byte) error
type KillMachineReq ¶
type KillMachineReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Signal string `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KillMachineReq) Descriptor ¶
func (*KillMachineReq) Descriptor() ([]byte, []int)
func (*KillMachineReq) GetId ¶
func (m *KillMachineReq) GetId() string
func (*KillMachineReq) GetSignal ¶
func (m *KillMachineReq) GetSignal() string
func (*KillMachineReq) ProtoMessage ¶
func (*KillMachineReq) ProtoMessage()
func (*KillMachineReq) Reset ¶
func (m *KillMachineReq) Reset()
func (*KillMachineReq) String ¶
func (m *KillMachineReq) String() string
func (*KillMachineReq) XXX_DiscardUnknown ¶
func (m *KillMachineReq) XXX_DiscardUnknown()
func (*KillMachineReq) XXX_Marshal ¶
func (m *KillMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KillMachineReq) XXX_Merge ¶
func (m *KillMachineReq) XXX_Merge(src proto.Message)
func (*KillMachineReq) XXX_Size ¶
func (m *KillMachineReq) XXX_Size() int
func (*KillMachineReq) XXX_Unmarshal ¶
func (m *KillMachineReq) XXX_Unmarshal(b []byte) error
type ListImageResp ¶
type ListImageResp struct { Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` Err *Error `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListImageResp) Descriptor ¶
func (*ListImageResp) Descriptor() ([]byte, []int)
func (*ListImageResp) GetErr ¶
func (m *ListImageResp) GetErr() *Error
func (*ListImageResp) GetImages ¶
func (m *ListImageResp) GetImages() []*Image
func (*ListImageResp) ProtoMessage ¶
func (*ListImageResp) ProtoMessage()
func (*ListImageResp) Reset ¶
func (m *ListImageResp) Reset()
func (*ListImageResp) String ¶
func (m *ListImageResp) String() string
func (*ListImageResp) XXX_DiscardUnknown ¶
func (m *ListImageResp) XXX_DiscardUnknown()
func (*ListImageResp) XXX_Marshal ¶
func (m *ListImageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListImageResp) XXX_Merge ¶
func (m *ListImageResp) XXX_Merge(src proto.Message)
func (*ListImageResp) XXX_Size ¶
func (m *ListImageResp) XXX_Size() int
func (*ListImageResp) XXX_Unmarshal ¶
func (m *ListImageResp) XXX_Unmarshal(b []byte) error
type ListMachineResp ¶
type ListMachineResp struct { MachineInfos []*MachineInfo `protobuf:"bytes,1,rep,name=machine_infos,json=machineInfos,proto3" json:"machine_infos,omitempty"` Err *Error `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListMachineResp) Descriptor ¶
func (*ListMachineResp) Descriptor() ([]byte, []int)
func (*ListMachineResp) GetErr ¶
func (m *ListMachineResp) GetErr() *Error
func (*ListMachineResp) GetMachineInfos ¶
func (m *ListMachineResp) GetMachineInfos() []*MachineInfo
func (*ListMachineResp) ProtoMessage ¶
func (*ListMachineResp) ProtoMessage()
func (*ListMachineResp) Reset ¶
func (m *ListMachineResp) Reset()
func (*ListMachineResp) String ¶
func (m *ListMachineResp) String() string
func (*ListMachineResp) XXX_DiscardUnknown ¶
func (m *ListMachineResp) XXX_DiscardUnknown()
func (*ListMachineResp) XXX_Marshal ¶
func (m *ListMachineResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListMachineResp) XXX_Merge ¶
func (m *ListMachineResp) XXX_Merge(src proto.Message)
func (*ListMachineResp) XXX_Size ¶
func (m *ListMachineResp) XXX_Size() int
func (*ListMachineResp) XXX_Unmarshal ¶
func (m *ListMachineResp) XXX_Unmarshal(b []byte) error
type ListVolumeResp ¶
type ListVolumeResp struct { Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListVolumeResp) Descriptor ¶
func (*ListVolumeResp) Descriptor() ([]byte, []int)
func (*ListVolumeResp) GetError ¶
func (m *ListVolumeResp) GetError() *Error
func (*ListVolumeResp) GetVolumes ¶
func (m *ListVolumeResp) GetVolumes() []*Volume
func (*ListVolumeResp) ProtoMessage ¶
func (*ListVolumeResp) ProtoMessage()
func (*ListVolumeResp) Reset ¶
func (m *ListVolumeResp) Reset()
func (*ListVolumeResp) String ¶
func (m *ListVolumeResp) String() string
func (*ListVolumeResp) XXX_DiscardUnknown ¶
func (m *ListVolumeResp) XXX_DiscardUnknown()
func (*ListVolumeResp) XXX_Marshal ¶
func (m *ListVolumeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListVolumeResp) XXX_Merge ¶
func (m *ListVolumeResp) XXX_Merge(src proto.Message)
func (*ListVolumeResp) XXX_Size ¶
func (m *ListVolumeResp) XXX_Size() int
func (*ListVolumeResp) XXX_Unmarshal ¶
func (m *ListVolumeResp) XXX_Unmarshal(b []byte) error
type MachineIdReq ¶
type MachineIdReq 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 (*MachineIdReq) Descriptor ¶
func (*MachineIdReq) Descriptor() ([]byte, []int)
func (*MachineIdReq) GetId ¶
func (m *MachineIdReq) GetId() string
func (*MachineIdReq) ProtoMessage ¶
func (*MachineIdReq) ProtoMessage()
func (*MachineIdReq) Reset ¶
func (m *MachineIdReq) Reset()
func (*MachineIdReq) String ¶
func (m *MachineIdReq) String() string
func (*MachineIdReq) XXX_DiscardUnknown ¶
func (m *MachineIdReq) XXX_DiscardUnknown()
func (*MachineIdReq) XXX_Marshal ¶
func (m *MachineIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MachineIdReq) XXX_Merge ¶
func (m *MachineIdReq) XXX_Merge(src proto.Message)
func (*MachineIdReq) XXX_Size ¶
func (m *MachineIdReq) XXX_Size() int
func (*MachineIdReq) XXX_Unmarshal ¶
func (m *MachineIdReq) XXX_Unmarshal(b []byte) error
type MachineInfo ¶
type MachineInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ImageName string `protobuf:"bytes,3,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` ImageType string `protobuf:"bytes,4,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` CreateTime string `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` ImageId string `protobuf:"bytes,7,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MachineInfo) Descriptor ¶
func (*MachineInfo) Descriptor() ([]byte, []int)
func (*MachineInfo) GetCreateTime ¶
func (m *MachineInfo) GetCreateTime() string
func (*MachineInfo) GetId ¶
func (m *MachineInfo) GetId() string
func (*MachineInfo) GetImageId ¶
func (m *MachineInfo) GetImageId() string
func (*MachineInfo) GetImageName ¶
func (m *MachineInfo) GetImageName() string
func (*MachineInfo) GetImageType ¶
func (m *MachineInfo) GetImageType() string
func (*MachineInfo) GetName ¶
func (m *MachineInfo) GetName() string
func (*MachineInfo) GetStatus ¶
func (m *MachineInfo) GetStatus() string
func (*MachineInfo) ProtoMessage ¶
func (*MachineInfo) ProtoMessage()
func (*MachineInfo) Reset ¶
func (m *MachineInfo) Reset()
func (*MachineInfo) String ¶
func (m *MachineInfo) String() string
func (*MachineInfo) XXX_DiscardUnknown ¶
func (m *MachineInfo) XXX_DiscardUnknown()
func (*MachineInfo) XXX_Marshal ¶
func (m *MachineInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MachineInfo) XXX_Merge ¶
func (m *MachineInfo) XXX_Merge(src proto.Message)
func (*MachineInfo) XXX_Size ¶
func (m *MachineInfo) XXX_Size() int
func (*MachineInfo) XXX_Unmarshal ¶
func (m *MachineInfo) XXX_Unmarshal(b []byte) error
type MachineVolume ¶
type MachineVolume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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"` Readonly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MachineVolume) Descriptor ¶
func (*MachineVolume) Descriptor() ([]byte, []int)
func (*MachineVolume) GetDestination ¶
func (m *MachineVolume) GetDestination() string
func (*MachineVolume) GetName ¶
func (m *MachineVolume) GetName() string
func (*MachineVolume) GetReadonly ¶
func (m *MachineVolume) GetReadonly() bool
func (*MachineVolume) GetSource ¶
func (m *MachineVolume) GetSource() string
func (*MachineVolume) ProtoMessage ¶
func (*MachineVolume) ProtoMessage()
func (*MachineVolume) Reset ¶
func (m *MachineVolume) Reset()
func (*MachineVolume) String ¶
func (m *MachineVolume) String() string
func (*MachineVolume) XXX_DiscardUnknown ¶
func (m *MachineVolume) XXX_DiscardUnknown()
func (*MachineVolume) XXX_Marshal ¶
func (m *MachineVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MachineVolume) XXX_Merge ¶
func (m *MachineVolume) XXX_Merge(src proto.Message)
func (*MachineVolume) XXX_Size ¶
func (m *MachineVolume) XXX_Size() int
func (*MachineVolume) XXX_Unmarshal ¶
func (m *MachineVolume) XXX_Unmarshal(b []byte) error
type Network ¶
type Network struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` ExtraHosts []*HostEntry `protobuf:"bytes,2,rep,name=extra_hosts,json=extraHosts,proto3" json:"extra_hosts,omitempty"` // 额外的网络接口,无接口时则只有本地环回设备 // 存在多个接口时则默认使用第一个接口作为网络默认出口 Interfaces []*NetworkInterface `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Network) Descriptor ¶
func (*Network) GetExtraHosts ¶
func (*Network) GetHostname ¶
func (*Network) GetInterfaces ¶
func (m *Network) GetInterfaces() []*NetworkInterface
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) XXX_DiscardUnknown ¶
func (m *Network) XXX_DiscardUnknown()
func (*Network) XXX_Marshal ¶
func (*Network) XXX_Unmarshal ¶
type NetworkAddress ¶
type NetworkAddress struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Mask int32 `protobuf:"varint,2,opt,name=mask,proto3" json:"mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkAddress) Descriptor ¶
func (*NetworkAddress) Descriptor() ([]byte, []int)
func (*NetworkAddress) GetIp ¶
func (m *NetworkAddress) GetIp() string
func (*NetworkAddress) GetMask ¶
func (m *NetworkAddress) GetMask() int32
func (*NetworkAddress) ProtoMessage ¶
func (*NetworkAddress) ProtoMessage()
func (*NetworkAddress) Reset ¶
func (m *NetworkAddress) Reset()
func (*NetworkAddress) String ¶
func (m *NetworkAddress) String() string
func (*NetworkAddress) XXX_DiscardUnknown ¶
func (m *NetworkAddress) XXX_DiscardUnknown()
func (*NetworkAddress) XXX_Marshal ¶
func (m *NetworkAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkAddress) XXX_Merge ¶
func (m *NetworkAddress) XXX_Merge(src proto.Message)
func (*NetworkAddress) XXX_Size ¶
func (m *NetworkAddress) XXX_Size() int
func (*NetworkAddress) XXX_Unmarshal ¶
func (m *NetworkAddress) XXX_Unmarshal(b []byte) error
type NetworkConnectReq ¶
type NetworkConnectReq struct { Interface *NetworkInterface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MachineId string `protobuf:"bytes,3,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkConnectReq) Descriptor ¶
func (*NetworkConnectReq) Descriptor() ([]byte, []int)
func (*NetworkConnectReq) GetInterface ¶
func (m *NetworkConnectReq) GetInterface() *NetworkInterface
func (*NetworkConnectReq) GetMachineId ¶
func (m *NetworkConnectReq) GetMachineId() string
func (*NetworkConnectReq) GetName ¶
func (m *NetworkConnectReq) GetName() string
func (*NetworkConnectReq) ProtoMessage ¶
func (*NetworkConnectReq) ProtoMessage()
func (*NetworkConnectReq) Reset ¶
func (m *NetworkConnectReq) Reset()
func (*NetworkConnectReq) String ¶
func (m *NetworkConnectReq) String() string
func (*NetworkConnectReq) XXX_DiscardUnknown ¶
func (m *NetworkConnectReq) XXX_DiscardUnknown()
func (*NetworkConnectReq) XXX_Marshal ¶
func (m *NetworkConnectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkConnectReq) XXX_Merge ¶
func (m *NetworkConnectReq) XXX_Merge(src proto.Message)
func (*NetworkConnectReq) XXX_Size ¶
func (m *NetworkConnectReq) XXX_Size() int
func (*NetworkConnectReq) XXX_Unmarshal ¶
func (m *NetworkConnectReq) XXX_Unmarshal(b []byte) error
type NetworkCreateReq ¶
type NetworkCreateReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Subnet string `protobuf:"bytes,2,opt,name=subnet,proto3" json:"subnet,omitempty"` Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"` Isolated bool `protobuf:"varint,4,opt,name=isolated,proto3" json:"isolated,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkCreateReq) Descriptor ¶
func (*NetworkCreateReq) Descriptor() ([]byte, []int)
func (*NetworkCreateReq) GetGateway ¶
func (m *NetworkCreateReq) GetGateway() string
func (*NetworkCreateReq) GetIsolated ¶
func (m *NetworkCreateReq) GetIsolated() bool
func (*NetworkCreateReq) GetName ¶
func (m *NetworkCreateReq) GetName() string
func (*NetworkCreateReq) GetSubnet ¶
func (m *NetworkCreateReq) GetSubnet() string
func (*NetworkCreateReq) ProtoMessage ¶
func (*NetworkCreateReq) ProtoMessage()
func (*NetworkCreateReq) Reset ¶
func (m *NetworkCreateReq) Reset()
func (*NetworkCreateReq) String ¶
func (m *NetworkCreateReq) String() string
func (*NetworkCreateReq) XXX_DiscardUnknown ¶
func (m *NetworkCreateReq) XXX_DiscardUnknown()
func (*NetworkCreateReq) XXX_Marshal ¶
func (m *NetworkCreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkCreateReq) XXX_Merge ¶
func (m *NetworkCreateReq) XXX_Merge(src proto.Message)
func (*NetworkCreateReq) XXX_Size ¶
func (m *NetworkCreateReq) XXX_Size() int
func (*NetworkCreateReq) XXX_Unmarshal ¶
func (m *NetworkCreateReq) XXX_Unmarshal(b []byte) error
type NetworkCreateResp ¶
type NetworkCreateResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkCreateResp) Descriptor ¶
func (*NetworkCreateResp) Descriptor() ([]byte, []int)
func (*NetworkCreateResp) GetError ¶
func (m *NetworkCreateResp) GetError() *Error
func (*NetworkCreateResp) GetId ¶
func (m *NetworkCreateResp) GetId() string
func (*NetworkCreateResp) ProtoMessage ¶
func (*NetworkCreateResp) ProtoMessage()
func (*NetworkCreateResp) Reset ¶
func (m *NetworkCreateResp) Reset()
func (*NetworkCreateResp) String ¶
func (m *NetworkCreateResp) String() string
func (*NetworkCreateResp) XXX_DiscardUnknown ¶
func (m *NetworkCreateResp) XXX_DiscardUnknown()
func (*NetworkCreateResp) XXX_Marshal ¶
func (m *NetworkCreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkCreateResp) XXX_Merge ¶
func (m *NetworkCreateResp) XXX_Merge(src proto.Message)
func (*NetworkCreateResp) XXX_Size ¶
func (m *NetworkCreateResp) XXX_Size() int
func (*NetworkCreateResp) XXX_Unmarshal ¶
func (m *NetworkCreateResp) XXX_Unmarshal(b []byte) error
type NetworkDeleteReq ¶
type NetworkDeleteReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkDeleteReq) Descriptor ¶
func (*NetworkDeleteReq) Descriptor() ([]byte, []int)
func (*NetworkDeleteReq) GetForce ¶
func (m *NetworkDeleteReq) GetForce() bool
func (*NetworkDeleteReq) GetName ¶
func (m *NetworkDeleteReq) GetName() string
func (*NetworkDeleteReq) ProtoMessage ¶
func (*NetworkDeleteReq) ProtoMessage()
func (*NetworkDeleteReq) Reset ¶
func (m *NetworkDeleteReq) Reset()
func (*NetworkDeleteReq) String ¶
func (m *NetworkDeleteReq) String() string
func (*NetworkDeleteReq) XXX_DiscardUnknown ¶
func (m *NetworkDeleteReq) XXX_DiscardUnknown()
func (*NetworkDeleteReq) XXX_Marshal ¶
func (m *NetworkDeleteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkDeleteReq) XXX_Merge ¶
func (m *NetworkDeleteReq) XXX_Merge(src proto.Message)
func (*NetworkDeleteReq) XXX_Size ¶
func (m *NetworkDeleteReq) XXX_Size() int
func (*NetworkDeleteReq) XXX_Unmarshal ¶
func (m *NetworkDeleteReq) XXX_Unmarshal(b []byte) error
type NetworkDeleteResp ¶
type NetworkDeleteResp struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkDeleteResp) Descriptor ¶
func (*NetworkDeleteResp) Descriptor() ([]byte, []int)
func (*NetworkDeleteResp) GetError ¶
func (m *NetworkDeleteResp) GetError() *Error
func (*NetworkDeleteResp) ProtoMessage ¶
func (*NetworkDeleteResp) ProtoMessage()
func (*NetworkDeleteResp) Reset ¶
func (m *NetworkDeleteResp) Reset()
func (*NetworkDeleteResp) String ¶
func (m *NetworkDeleteResp) String() string
func (*NetworkDeleteResp) XXX_DiscardUnknown ¶
func (m *NetworkDeleteResp) XXX_DiscardUnknown()
func (*NetworkDeleteResp) XXX_Marshal ¶
func (m *NetworkDeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkDeleteResp) XXX_Merge ¶
func (m *NetworkDeleteResp) XXX_Merge(src proto.Message)
func (*NetworkDeleteResp) XXX_Size ¶
func (m *NetworkDeleteResp) XXX_Size() int
func (*NetworkDeleteResp) XXX_Unmarshal ¶
func (m *NetworkDeleteResp) XXX_Unmarshal(b []byte) error
type NetworkInfo ¶
type NetworkInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreateTime string `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"` Subnet string `protobuf:"bytes,4,opt,name=subnet,proto3" json:"subnet,omitempty"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInfo) Descriptor ¶
func (*NetworkInfo) Descriptor() ([]byte, []int)
func (*NetworkInfo) GetCreateTime ¶
func (m *NetworkInfo) GetCreateTime() string
func (*NetworkInfo) GetGateway ¶
func (m *NetworkInfo) GetGateway() string
func (*NetworkInfo) GetName ¶
func (m *NetworkInfo) GetName() string
func (*NetworkInfo) GetSubnet ¶
func (m *NetworkInfo) GetSubnet() string
func (*NetworkInfo) GetType ¶
func (m *NetworkInfo) GetType() string
func (*NetworkInfo) ProtoMessage ¶
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) Reset ¶
func (m *NetworkInfo) Reset()
func (*NetworkInfo) String ¶
func (m *NetworkInfo) String() string
func (*NetworkInfo) XXX_DiscardUnknown ¶
func (m *NetworkInfo) XXX_DiscardUnknown()
func (*NetworkInfo) XXX_Marshal ¶
func (m *NetworkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInfo) XXX_Merge ¶
func (m *NetworkInfo) XXX_Merge(src proto.Message)
func (*NetworkInfo) XXX_Size ¶
func (m *NetworkInfo) XXX_Size() int
func (*NetworkInfo) XXX_Unmarshal ¶
func (m *NetworkInfo) XXX_Unmarshal(b []byte) error
type NetworkInspectReq ¶
type NetworkInspectReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInspectReq) Descriptor ¶
func (*NetworkInspectReq) Descriptor() ([]byte, []int)
func (*NetworkInspectReq) GetName ¶
func (m *NetworkInspectReq) GetName() string
func (*NetworkInspectReq) ProtoMessage ¶
func (*NetworkInspectReq) ProtoMessage()
func (*NetworkInspectReq) Reset ¶
func (m *NetworkInspectReq) Reset()
func (*NetworkInspectReq) String ¶
func (m *NetworkInspectReq) String() string
func (*NetworkInspectReq) XXX_DiscardUnknown ¶
func (m *NetworkInspectReq) XXX_DiscardUnknown()
func (*NetworkInspectReq) XXX_Marshal ¶
func (m *NetworkInspectReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInspectReq) XXX_Merge ¶
func (m *NetworkInspectReq) XXX_Merge(src proto.Message)
func (*NetworkInspectReq) XXX_Size ¶
func (m *NetworkInspectReq) XXX_Size() int
func (*NetworkInspectReq) XXX_Unmarshal ¶
func (m *NetworkInspectReq) XXX_Unmarshal(b []byte) error
type NetworkInspectResp ¶
type NetworkInspectResp struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` NetInfo string `protobuf:"bytes,2,opt,name=net_info,json=netInfo,proto3" json:"net_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInspectResp) Descriptor ¶
func (*NetworkInspectResp) Descriptor() ([]byte, []int)
func (*NetworkInspectResp) GetError ¶
func (m *NetworkInspectResp) GetError() *Error
func (*NetworkInspectResp) GetNetInfo ¶
func (m *NetworkInspectResp) GetNetInfo() string
func (*NetworkInspectResp) ProtoMessage ¶
func (*NetworkInspectResp) ProtoMessage()
func (*NetworkInspectResp) Reset ¶
func (m *NetworkInspectResp) Reset()
func (*NetworkInspectResp) String ¶
func (m *NetworkInspectResp) String() string
func (*NetworkInspectResp) XXX_DiscardUnknown ¶
func (m *NetworkInspectResp) XXX_DiscardUnknown()
func (*NetworkInspectResp) XXX_Marshal ¶
func (m *NetworkInspectResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInspectResp) XXX_Merge ¶
func (m *NetworkInspectResp) XXX_Merge(src proto.Message)
func (*NetworkInspectResp) XXX_Size ¶
func (m *NetworkInspectResp) XXX_Size() int
func (*NetworkInspectResp) XXX_Unmarshal ¶
func (m *NetworkInspectResp) XXX_Unmarshal(b []byte) error
type NetworkInterface ¶
type NetworkInterface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Bridge string `protobuf:"bytes,2,opt,name=bridge,proto3" json:"bridge,omitempty"` Mac string `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"` Gateway string `protobuf:"bytes,4,opt,name=gateway,proto3" json:"gateway,omitempty"` Address []*NetworkAddress `protobuf:"bytes,5,rep,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInterface) Descriptor ¶
func (*NetworkInterface) Descriptor() ([]byte, []int)
func (*NetworkInterface) GetAddress ¶
func (m *NetworkInterface) GetAddress() []*NetworkAddress
func (*NetworkInterface) GetBridge ¶
func (m *NetworkInterface) GetBridge() string
func (*NetworkInterface) GetGateway ¶
func (m *NetworkInterface) GetGateway() string
func (*NetworkInterface) GetMac ¶
func (m *NetworkInterface) GetMac() string
func (*NetworkInterface) GetName ¶
func (m *NetworkInterface) GetName() string
func (*NetworkInterface) ProtoMessage ¶
func (*NetworkInterface) ProtoMessage()
func (*NetworkInterface) Reset ¶
func (m *NetworkInterface) Reset()
func (*NetworkInterface) String ¶
func (m *NetworkInterface) String() string
func (*NetworkInterface) XXX_DiscardUnknown ¶
func (m *NetworkInterface) XXX_DiscardUnknown()
func (*NetworkInterface) XXX_Marshal ¶
func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInterface) XXX_Merge ¶
func (m *NetworkInterface) XXX_Merge(src proto.Message)
func (*NetworkInterface) XXX_Size ¶
func (m *NetworkInterface) XXX_Size() int
func (*NetworkInterface) XXX_Unmarshal ¶
func (m *NetworkInterface) XXX_Unmarshal(b []byte) error
type NetworkListResp ¶
type NetworkListResp struct { Networks []*NetworkInfo `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkListResp) Descriptor ¶
func (*NetworkListResp) Descriptor() ([]byte, []int)
func (*NetworkListResp) GetError ¶
func (m *NetworkListResp) GetError() *Error
func (*NetworkListResp) GetNetworks ¶
func (m *NetworkListResp) GetNetworks() []*NetworkInfo
func (*NetworkListResp) ProtoMessage ¶
func (*NetworkListResp) ProtoMessage()
func (*NetworkListResp) Reset ¶
func (m *NetworkListResp) Reset()
func (*NetworkListResp) String ¶
func (m *NetworkListResp) String() string
func (*NetworkListResp) XXX_DiscardUnknown ¶
func (m *NetworkListResp) XXX_DiscardUnknown()
func (*NetworkListResp) XXX_Marshal ¶
func (m *NetworkListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkListResp) XXX_Merge ¶
func (m *NetworkListResp) XXX_Merge(src proto.Message)
func (*NetworkListResp) XXX_Size ¶
func (m *NetworkListResp) XXX_Size() int
func (*NetworkListResp) XXX_Unmarshal ¶
func (m *NetworkListResp) XXX_Unmarshal(b []byte) error
type NetworkName ¶
type NetworkName 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 (*NetworkName) Descriptor ¶
func (*NetworkName) Descriptor() ([]byte, []int)
func (*NetworkName) GetId ¶
func (m *NetworkName) GetId() string
func (*NetworkName) ProtoMessage ¶
func (*NetworkName) ProtoMessage()
func (*NetworkName) Reset ¶
func (m *NetworkName) Reset()
func (*NetworkName) String ¶
func (m *NetworkName) String() string
func (*NetworkName) XXX_DiscardUnknown ¶
func (m *NetworkName) XXX_DiscardUnknown()
func (*NetworkName) XXX_Marshal ¶
func (m *NetworkName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkName) XXX_Merge ¶
func (m *NetworkName) XXX_Merge(src proto.Message)
func (*NetworkName) XXX_Size ¶
func (m *NetworkName) XXX_Size() int
func (*NetworkName) XXX_Unmarshal ¶
func (m *NetworkName) XXX_Unmarshal(b []byte) error
type PortBinding ¶
type PortBinding struct { HostIp string `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` HostPort string `protobuf:"bytes,2,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PortBinding) Descriptor ¶
func (*PortBinding) Descriptor() ([]byte, []int)
func (*PortBinding) GetHostIp ¶
func (m *PortBinding) GetHostIp() string
func (*PortBinding) GetHostPort ¶
func (m *PortBinding) GetHostPort() string
func (*PortBinding) ProtoMessage ¶
func (*PortBinding) ProtoMessage()
func (*PortBinding) Reset ¶
func (m *PortBinding) Reset()
func (*PortBinding) String ¶
func (m *PortBinding) String() string
func (*PortBinding) XXX_DiscardUnknown ¶
func (m *PortBinding) XXX_DiscardUnknown()
func (*PortBinding) XXX_Marshal ¶
func (m *PortBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PortBinding) XXX_Merge ¶
func (m *PortBinding) XXX_Merge(src proto.Message)
func (*PortBinding) XXX_Size ¶
func (m *PortBinding) XXX_Size() int
func (*PortBinding) XXX_Unmarshal ¶
func (m *PortBinding) XXX_Unmarshal(b []byte) error
type PortBindings ¶
type PortBindings struct { PortBindings []*PortBinding `protobuf:"bytes,1,rep,name=port_bindings,json=portBindings,proto3" json:"port_bindings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PortBindings) Descriptor ¶
func (*PortBindings) Descriptor() ([]byte, []int)
func (*PortBindings) GetPortBindings ¶
func (m *PortBindings) GetPortBindings() []*PortBinding
func (*PortBindings) ProtoMessage ¶
func (*PortBindings) ProtoMessage()
func (*PortBindings) Reset ¶
func (m *PortBindings) Reset()
func (*PortBindings) String ¶
func (m *PortBindings) String() string
func (*PortBindings) XXX_DiscardUnknown ¶
func (m *PortBindings) XXX_DiscardUnknown()
func (*PortBindings) XXX_Marshal ¶
func (m *PortBindings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PortBindings) XXX_Merge ¶
func (m *PortBindings) XXX_Merge(src proto.Message)
func (*PortBindings) XXX_Size ¶
func (m *PortBindings) XXX_Size() int
func (*PortBindings) XXX_Unmarshal ¶
func (m *PortBindings) XXX_Unmarshal(b []byte) error
type RenameMachineReq ¶
type RenameMachineReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RenameMachineReq) Descriptor ¶
func (*RenameMachineReq) Descriptor() ([]byte, []int)
func (*RenameMachineReq) GetId ¶
func (m *RenameMachineReq) GetId() string
func (*RenameMachineReq) GetName ¶
func (m *RenameMachineReq) GetName() string
func (*RenameMachineReq) ProtoMessage ¶
func (*RenameMachineReq) ProtoMessage()
func (*RenameMachineReq) Reset ¶
func (m *RenameMachineReq) Reset()
func (*RenameMachineReq) String ¶
func (m *RenameMachineReq) String() string
func (*RenameMachineReq) XXX_DiscardUnknown ¶
func (m *RenameMachineReq) XXX_DiscardUnknown()
func (*RenameMachineReq) XXX_Marshal ¶
func (m *RenameMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenameMachineReq) XXX_Merge ¶
func (m *RenameMachineReq) XXX_Merge(src proto.Message)
func (*RenameMachineReq) XXX_Size ¶
func (m *RenameMachineReq) XXX_Size() int
func (*RenameMachineReq) XXX_Unmarshal ¶
func (m *RenameMachineReq) XXX_Unmarshal(b []byte) error
type ResizeTTYReq ¶
type ResizeTTYReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResizeTTYReq) Descriptor ¶
func (*ResizeTTYReq) Descriptor() ([]byte, []int)
func (*ResizeTTYReq) GetHeight ¶
func (m *ResizeTTYReq) GetHeight() uint32
func (*ResizeTTYReq) GetId ¶
func (m *ResizeTTYReq) GetId() string
func (*ResizeTTYReq) GetWidth ¶
func (m *ResizeTTYReq) GetWidth() uint32
func (*ResizeTTYReq) ProtoMessage ¶
func (*ResizeTTYReq) ProtoMessage()
func (*ResizeTTYReq) Reset ¶
func (m *ResizeTTYReq) Reset()
func (*ResizeTTYReq) String ¶
func (m *ResizeTTYReq) String() string
func (*ResizeTTYReq) XXX_DiscardUnknown ¶
func (m *ResizeTTYReq) XXX_DiscardUnknown()
func (*ResizeTTYReq) XXX_Marshal ¶
func (m *ResizeTTYReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResizeTTYReq) XXX_Merge ¶
func (m *ResizeTTYReq) XXX_Merge(src proto.Message)
func (*ResizeTTYReq) XXX_Size ¶
func (m *ResizeTTYReq) XXX_Size() int
func (*ResizeTTYReq) XXX_Unmarshal ¶
func (m *ResizeTTYReq) XXX_Unmarshal(b []byte) error
type Resources ¶
type Resources struct { Memory int64 `protobuf:"varint,2,opt,name=Memory,proto3" json:"Memory,omitempty"` NanoCPUs int64 `protobuf:"varint,3,opt,name=NanoCPUs,proto3" json:"NanoCPUs,omitempty"` CgroupParent string `protobuf:"bytes,4,opt,name=CgroupParent,proto3" json:"CgroupParent,omitempty"` BlkioWeight uint32 `protobuf:"varint,5,opt,name=BlkioWeight,proto3" json:"BlkioWeight,omitempty"` BlkioWeightDevice []*WeightDevice `protobuf:"bytes,6,rep,name=BlkioWeightDevice,proto3" json:"BlkioWeightDevice,omitempty"` BlkioDeviceReadBps []*ThrottleDevice `protobuf:"bytes,7,rep,name=BlkioDeviceReadBps,proto3" json:"BlkioDeviceReadBps,omitempty"` BlkioDeviceWriteBps []*ThrottleDevice `protobuf:"bytes,8,rep,name=BlkioDeviceWriteBps,proto3" json:"BlkioDeviceWriteBps,omitempty"` BlkioDeviceReadIOps []*ThrottleDevice `protobuf:"bytes,9,rep,name=BlkioDeviceReadIOps,proto3" json:"BlkioDeviceReadIOps,omitempty"` BlkioDeviceWriteIOps []*ThrottleDevice `protobuf:"bytes,10,rep,name=BlkioDeviceWriteIOps,proto3" json:"BlkioDeviceWriteIOps,omitempty"` CPUPeriod int64 `protobuf:"varint,11,opt,name=CPUPeriod,proto3" json:"CPUPeriod,omitempty"` CPUQuota int64 `protobuf:"varint,12,opt,name=CPUQuota,proto3" json:"CPUQuota,omitempty"` CPURealtimePeriod int64 `protobuf:"varint,13,opt,name=CPURealtimePeriod,proto3" json:"CPURealtimePeriod,omitempty"` CPURealtimeRuntime int64 `protobuf:"varint,14,opt,name=CPURealtimeRuntime,proto3" json:"CPURealtimeRuntime,omitempty"` CpusetCpus string `protobuf:"bytes,15,opt,name=CpusetCpus,proto3" json:"CpusetCpus,omitempty"` CpusetMems string `protobuf:"bytes,16,opt,name=CpusetMems,proto3" json:"CpusetMems,omitempty"` Devices []*DeviceMapping `protobuf:"bytes,17,rep,name=Devices,proto3" json:"Devices,omitempty"` DiskQuota int64 `protobuf:"varint,18,opt,name=DiskQuota,proto3" json:"DiskQuota,omitempty"` KernelMemory int64 `protobuf:"varint,19,opt,name=KernelMemory,proto3" json:"KernelMemory,omitempty"` KernelMemoryTCP int64 `protobuf:"varint,20,opt,name=KernelMemoryTCP,proto3" json:"KernelMemoryTCP,omitempty"` MemoryReservation int64 `protobuf:"varint,21,opt,name=MemoryReservation,proto3" json:"MemoryReservation,omitempty"` MemorySwap int64 `protobuf:"varint,22,opt,name=MemorySwap,proto3" json:"MemorySwap,omitempty"` MemorySwappiness int64 `protobuf:"varint,23,opt,name=MemorySwappiness,proto3" json:"MemorySwappiness,omitempty"` OomKillDisable bool `protobuf:"varint,24,opt,name=OomKillDisable,proto3" json:"OomKillDisable,omitempty"` PidsLimit int64 `protobuf:"varint,25,opt,name=PidsLimit,proto3" json:"PidsLimit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Resources) Descriptor ¶
func (*Resources) GetBlkioDeviceReadBps ¶
func (m *Resources) GetBlkioDeviceReadBps() []*ThrottleDevice
func (*Resources) GetBlkioDeviceReadIOps ¶
func (m *Resources) GetBlkioDeviceReadIOps() []*ThrottleDevice
func (*Resources) GetBlkioDeviceWriteBps ¶
func (m *Resources) GetBlkioDeviceWriteBps() []*ThrottleDevice
func (*Resources) GetBlkioDeviceWriteIOps ¶
func (m *Resources) GetBlkioDeviceWriteIOps() []*ThrottleDevice
func (*Resources) GetBlkioWeight ¶
func (*Resources) GetBlkioWeightDevice ¶
func (m *Resources) GetBlkioWeightDevice() []*WeightDevice
func (*Resources) GetCPUPeriod ¶
func (*Resources) GetCPUQuota ¶
func (*Resources) GetCPURealtimePeriod ¶
func (*Resources) GetCPURealtimeRuntime ¶
func (*Resources) GetCPUShares ¶
func (*Resources) GetCgroupParent ¶
func (*Resources) GetCpusetCpus ¶
func (*Resources) GetCpusetMems ¶
func (*Resources) GetDevices ¶
func (m *Resources) GetDevices() []*DeviceMapping
func (*Resources) GetDiskQuota ¶
func (*Resources) GetKernelMemory ¶
func (*Resources) GetKernelMemoryTCP ¶
func (*Resources) GetMemoryReservation ¶
func (*Resources) GetMemorySwap ¶
func (*Resources) GetMemorySwappiness ¶
func (*Resources) GetNanoCPUs ¶
func (*Resources) GetOomKillDisable ¶
func (*Resources) GetPidsLimit ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) XXX_DiscardUnknown ¶
func (m *Resources) XXX_DiscardUnknown()
func (*Resources) XXX_Marshal ¶
func (*Resources) XXX_Unmarshal ¶
type RestartMachineReq ¶
type RestartMachineReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestartMachineReq) Descriptor ¶
func (*RestartMachineReq) Descriptor() ([]byte, []int)
func (*RestartMachineReq) GetId ¶
func (m *RestartMachineReq) GetId() string
func (*RestartMachineReq) GetTimeout ¶
func (m *RestartMachineReq) GetTimeout() int32
func (*RestartMachineReq) ProtoMessage ¶
func (*RestartMachineReq) ProtoMessage()
func (*RestartMachineReq) Reset ¶
func (m *RestartMachineReq) Reset()
func (*RestartMachineReq) String ¶
func (m *RestartMachineReq) String() string
func (*RestartMachineReq) XXX_DiscardUnknown ¶
func (m *RestartMachineReq) XXX_DiscardUnknown()
func (*RestartMachineReq) XXX_Marshal ¶
func (m *RestartMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestartMachineReq) XXX_Merge ¶
func (m *RestartMachineReq) XXX_Merge(src proto.Message)
func (*RestartMachineReq) XXX_Size ¶
func (m *RestartMachineReq) XXX_Size() int
func (*RestartMachineReq) XXX_Unmarshal ¶
func (m *RestartMachineReq) XXX_Unmarshal(b []byte) error
type StartMachineReq ¶
type StartMachineReq 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 (*StartMachineReq) Descriptor ¶
func (*StartMachineReq) Descriptor() ([]byte, []int)
func (*StartMachineReq) GetId ¶
func (m *StartMachineReq) GetId() string
func (*StartMachineReq) ProtoMessage ¶
func (*StartMachineReq) ProtoMessage()
func (*StartMachineReq) Reset ¶
func (m *StartMachineReq) Reset()
func (*StartMachineReq) String ¶
func (m *StartMachineReq) String() string
func (*StartMachineReq) XXX_DiscardUnknown ¶
func (m *StartMachineReq) XXX_DiscardUnknown()
func (*StartMachineReq) XXX_Marshal ¶
func (m *StartMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartMachineReq) XXX_Merge ¶
func (m *StartMachineReq) XXX_Merge(src proto.Message)
func (*StartMachineReq) XXX_Size ¶
func (m *StartMachineReq) XXX_Size() int
func (*StartMachineReq) XXX_Unmarshal ¶
func (m *StartMachineReq) XXX_Unmarshal(b []byte) error
type StopMachineReq ¶
type StopMachineReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StopMachineReq) Descriptor ¶
func (*StopMachineReq) Descriptor() ([]byte, []int)
func (*StopMachineReq) GetId ¶
func (m *StopMachineReq) GetId() string
func (*StopMachineReq) GetTimeout ¶
func (m *StopMachineReq) GetTimeout() int32
func (*StopMachineReq) ProtoMessage ¶
func (*StopMachineReq) ProtoMessage()
func (*StopMachineReq) Reset ¶
func (m *StopMachineReq) Reset()
func (*StopMachineReq) String ¶
func (m *StopMachineReq) String() string
func (*StopMachineReq) XXX_DiscardUnknown ¶
func (m *StopMachineReq) XXX_DiscardUnknown()
func (*StopMachineReq) XXX_Marshal ¶
func (m *StopMachineReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopMachineReq) XXX_Merge ¶
func (m *StopMachineReq) XXX_Merge(src proto.Message)
func (*StopMachineReq) XXX_Size ¶
func (m *StopMachineReq) XXX_Size() int
func (*StopMachineReq) XXX_Unmarshal ¶
func (m *StopMachineReq) XXX_Unmarshal(b []byte) error
type ThrottleDevice ¶
type ThrottleDevice struct { Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"` Rate uint64 `protobuf:"varint,2,opt,name=Rate,proto3" json:"Rate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
device:rate_per_second pair
func (*ThrottleDevice) Descriptor ¶
func (*ThrottleDevice) Descriptor() ([]byte, []int)
func (*ThrottleDevice) GetPath ¶
func (m *ThrottleDevice) GetPath() string
func (*ThrottleDevice) GetRate ¶
func (m *ThrottleDevice) GetRate() uint64
func (*ThrottleDevice) ProtoMessage ¶
func (*ThrottleDevice) ProtoMessage()
func (*ThrottleDevice) Reset ¶
func (m *ThrottleDevice) Reset()
func (*ThrottleDevice) String ¶
func (m *ThrottleDevice) String() string
func (*ThrottleDevice) XXX_DiscardUnknown ¶
func (m *ThrottleDevice) XXX_DiscardUnknown()
func (*ThrottleDevice) XXX_Marshal ¶
func (m *ThrottleDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThrottleDevice) XXX_Merge ¶
func (m *ThrottleDevice) XXX_Merge(src proto.Message)
func (*ThrottleDevice) XXX_Size ¶
func (m *ThrottleDevice) XXX_Size() int
func (*ThrottleDevice) XXX_Unmarshal ¶
func (m *ThrottleDevice) XXX_Unmarshal(b []byte) error
type UnimplementedExecutorServer ¶
type UnimplementedExecutorServer struct { }
UnimplementedExecutorServer can be embedded to have forward compatible implementations.
func (*UnimplementedExecutorServer) AddVolume ¶
func (*UnimplementedExecutorServer) AddVolume(ctx context.Context, req *AddVolumeReq) (*AddVolumeResp, error)
func (*UnimplementedExecutorServer) AttachMachine ¶
func (*UnimplementedExecutorServer) AttachMachine(srv Executor_AttachMachineServer) error
func (*UnimplementedExecutorServer) CanAttachJudge ¶
func (*UnimplementedExecutorServer) CanAttachJudge(ctx context.Context, req *MachineIdReq) (*CanAttachJudgeResp, error)
func (*UnimplementedExecutorServer) CommitMachine ¶
func (*UnimplementedExecutorServer) CommitMachine(ctx context.Context, req *CommitMachineReq) (*CommitMachineResp, error)
func (*UnimplementedExecutorServer) ConnectNetwork ¶
func (*UnimplementedExecutorServer) ConnectNetwork(ctx context.Context, req *NetworkConnectReq) (*Error, error)
func (*UnimplementedExecutorServer) CreateMachine ¶
func (*UnimplementedExecutorServer) CreateMachine(ctx context.Context, req *CreateMachineReq) (*CreateMachineResp, error)
func (*UnimplementedExecutorServer) CreateNetwork ¶
func (*UnimplementedExecutorServer) CreateNetwork(ctx context.Context, req *NetworkCreateReq) (*NetworkCreateResp, error)
func (*UnimplementedExecutorServer) CreateVolume ¶
func (*UnimplementedExecutorServer) CreateVolume(ctx context.Context, req *CreateVolumeReq) (*CreateVolumeResp, error)
func (*UnimplementedExecutorServer) DeleteImage ¶
func (*UnimplementedExecutorServer) DeleteImage(ctx context.Context, req *DeleteImageReq) (*DeleteImageResp, error)
func (*UnimplementedExecutorServer) DeleteMachine ¶
func (*UnimplementedExecutorServer) DeleteMachine(ctx context.Context, req *DeleteMachineReq) (*Error, error)
func (*UnimplementedExecutorServer) DeleteNetwork ¶
func (*UnimplementedExecutorServer) DeleteNetwork(ctx context.Context, req *NetworkDeleteReq) (*NetworkDeleteResp, error)
func (*UnimplementedExecutorServer) DeleteVolume ¶
func (*UnimplementedExecutorServer) DeleteVolume(ctx context.Context, req *DeleteVolumeReq) (*Error, error)
func (*UnimplementedExecutorServer) ExportImage ¶
func (*UnimplementedExecutorServer) ExportImage(ctx context.Context, req *ExportImageReq) (*Error, error)
func (*UnimplementedExecutorServer) ImportImage ¶
func (*UnimplementedExecutorServer) ImportImage(ctx context.Context, req *ImportImageReq) (*ImportImageResp, error)
func (*UnimplementedExecutorServer) InspectMachine ¶
func (*UnimplementedExecutorServer) InspectMachine(ctx context.Context, req *MachineIdReq) (*InspectMachineResp, error)
func (*UnimplementedExecutorServer) InspectNetwork ¶
func (*UnimplementedExecutorServer) InspectNetwork(ctx context.Context, req *NetworkInspectReq) (*NetworkInspectResp, error)
func (*UnimplementedExecutorServer) KillMachine ¶
func (*UnimplementedExecutorServer) KillMachine(ctx context.Context, req *KillMachineReq) (*Error, error)
func (*UnimplementedExecutorServer) ListImage ¶
func (*UnimplementedExecutorServer) ListImage(ctx context.Context, req *empty.Empty) (*ListImageResp, error)
func (*UnimplementedExecutorServer) ListMachine ¶
func (*UnimplementedExecutorServer) ListMachine(ctx context.Context, req *empty.Empty) (*ListMachineResp, error)
func (*UnimplementedExecutorServer) ListNetwork ¶
func (*UnimplementedExecutorServer) ListNetwork(ctx context.Context, req *empty.Empty) (*NetworkListResp, error)
func (*UnimplementedExecutorServer) ListVolume ¶
func (*UnimplementedExecutorServer) ListVolume(ctx context.Context, req *empty.Empty) (*ListVolumeResp, error)
func (*UnimplementedExecutorServer) PauseMachine ¶
func (*UnimplementedExecutorServer) PauseMachine(ctx context.Context, req *MachineIdReq) (*Error, error)
func (*UnimplementedExecutorServer) RenameMachine ¶
func (*UnimplementedExecutorServer) RenameMachine(ctx context.Context, req *RenameMachineReq) (*Error, error)
func (*UnimplementedExecutorServer) ResizeMachineTTY ¶
func (*UnimplementedExecutorServer) ResizeMachineTTY(ctx context.Context, req *ResizeTTYReq) (*Error, error)
func (*UnimplementedExecutorServer) RestartMachine ¶
func (*UnimplementedExecutorServer) RestartMachine(ctx context.Context, req *RestartMachineReq) (*Error, error)
func (*UnimplementedExecutorServer) StartMachine ¶
func (*UnimplementedExecutorServer) StartMachine(ctx context.Context, req *StartMachineReq) (*Error, error)
func (*UnimplementedExecutorServer) StopMachine ¶
func (*UnimplementedExecutorServer) StopMachine(ctx context.Context, req *StopMachineReq) (*Error, error)
func (*UnimplementedExecutorServer) UnpauseMachine ¶
func (*UnimplementedExecutorServer) UnpauseMachine(ctx context.Context, req *MachineIdReq) (*Error, error)
type Volume ¶
type Volume struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` CreateTime string `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Volume) Descriptor ¶
func (*Volume) GetCreateTime ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) XXX_DiscardUnknown ¶
func (m *Volume) XXX_DiscardUnknown()
func (*Volume) XXX_Marshal ¶
func (*Volume) XXX_Unmarshal ¶
type WeightDevice ¶
type WeightDevice struct { Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"` Weight uint32 `protobuf:"varint,2,opt,name=Weight,proto3" json:"Weight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
device:weight pair
func (*WeightDevice) Descriptor ¶
func (*WeightDevice) Descriptor() ([]byte, []int)
func (*WeightDevice) GetPath ¶
func (m *WeightDevice) GetPath() string
func (*WeightDevice) GetWeight ¶
func (m *WeightDevice) GetWeight() uint32
func (*WeightDevice) ProtoMessage ¶
func (*WeightDevice) ProtoMessage()
func (*WeightDevice) Reset ¶
func (m *WeightDevice) Reset()
func (*WeightDevice) String ¶
func (m *WeightDevice) String() string
func (*WeightDevice) XXX_DiscardUnknown ¶
func (m *WeightDevice) XXX_DiscardUnknown()
func (*WeightDevice) XXX_Marshal ¶
func (m *WeightDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WeightDevice) XXX_Merge ¶
func (m *WeightDevice) XXX_Merge(src proto.Message)
func (*WeightDevice) XXX_Size ¶
func (m *WeightDevice) XXX_Size() int
func (*WeightDevice) XXX_Unmarshal ¶
func (m *WeightDevice) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.