Documentation
¶
Index ¶
- Variables
- type Addr
- type AttachReq
- func (*AttachReq) Descriptor() ([]byte, []int)deprecated
- func (m *AttachReq) GetInput() isAttachReq_Input
- func (x *AttachReq) GetPID() uint32
- func (x *AttachReq) GetSignal() int32
- func (x *AttachReq) GetStdin() []byte
- func (*AttachReq) ProtoMessage()
- func (x *AttachReq) ProtoReflect() protoreflect.Message
- func (x *AttachReq) Reset()
- func (x *AttachReq) String() string
- type AttachReq_Signal
- type AttachReq_Stdin
- type AttachResp
- func (*AttachResp) Descriptor() ([]byte, []int)deprecated
- func (x *AttachResp) GetExitCode() int32
- func (m *AttachResp) GetOutput() isAttachResp_Output
- func (x *AttachResp) GetStderr() []byte
- func (x *AttachResp) GetStdout() []byte
- func (*AttachResp) ProtoMessage()
- func (x *AttachResp) ProtoReflect() protoreflect.Message
- func (x *AttachResp) Reset()
- func (x *AttachResp) String() string
- type AttachResp_ExitCode
- type AttachResp_Stderr
- type AttachResp_Stdout
- type CPUInfo
- func (*CPUInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CPUInfo) GetCPU() int32
- func (x *CPUInfo) GetCount() int32
- func (x *CPUInfo) GetFamily() string
- func (x *CPUInfo) GetPhysicalID() string
- func (x *CPUInfo) GetVendorID() string
- func (*CPUInfo) ProtoMessage()
- func (x *CPUInfo) ProtoReflect() protoreflect.Message
- func (x *CPUInfo) Reset()
- func (x *CPUInfo) String() string
- type ConnectionStat
- func (*ConnectionStat) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionStat) GetFamily() uint32
- func (x *ConnectionStat) GetFd() uint32
- func (x *ConnectionStat) GetLaddr() *Addr
- func (x *ConnectionStat) GetPID() uint32
- func (x *ConnectionStat) GetRaddr() *Addr
- func (x *ConnectionStat) GetStatus() string
- func (x *ConnectionStat) GetType() uint32
- func (x *ConnectionStat) GetUIDs() []int32
- func (*ConnectionStat) ProtoMessage()
- func (x *ConnectionStat) ProtoReflect() protoreflect.Message
- func (x *ConnectionStat) Reset()
- func (x *ConnectionStat) String() string
- type DeleteReq
- type DeleteResp
- type Details
- func (*Details) Descriptor() ([]byte, []int)deprecated
- func (x *Details) GetJID() string
- func (x *Details) GetPID() uint32
- func (x *Details) GetProcessStart() *ProcessStartDetails
- func (x *Details) GetRunc() *runc.Details
- func (x *Details) GetRuncStart() *runc.StartDetails
- func (*Details) ProtoMessage()
- func (x *Details) ProtoReflect() protoreflect.Message
- func (x *Details) Reset()
- func (x *Details) String() string
- type DumpReq
- func (*DumpReq) Descriptor() ([]byte, []int)deprecated
- func (x *DumpReq) GetCriu() *criu.CriuOpts
- func (x *DumpReq) GetDetails() *Details
- func (x *DumpReq) GetDir() string
- func (x *DumpReq) GetStream() bool
- func (x *DumpReq) GetType() string
- func (*DumpReq) ProtoMessage()
- func (x *DumpReq) ProtoReflect() protoreflect.Message
- func (x *DumpReq) Reset()
- func (x *DumpReq) String() string
- type DumpResp
- func (*DumpResp) Descriptor() ([]byte, []int)deprecated
- func (x *DumpResp) GetMessage() string
- func (x *DumpResp) GetPath() string
- func (x *DumpResp) GetState() *ProcessState
- func (*DumpResp) ProtoMessage()
- func (x *DumpResp) ProtoReflect() protoreflect.Message
- func (x *DumpResp) Reset()
- func (x *DumpResp) String() string
- type Empty
- type HostInfo
- func (*HostInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HostInfo) GetHostID() string
- func (x *HostInfo) GetHostname() string
- func (x *HostInfo) GetKernelArch() string
- func (x *HostInfo) GetKernelVersion() string
- func (x *HostInfo) GetOS() string
- func (x *HostInfo) GetPlatform() string
- func (x *HostInfo) GetVirtualizationRole() string
- func (x *HostInfo) GetVirtualizationSystem() string
- func (*HostInfo) ProtoMessage()
- func (x *HostInfo) ProtoReflect() protoreflect.Message
- func (x *HostInfo) Reset()
- func (x *HostInfo) String() string
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetCheckpointPath() string
- func (x *Job) GetDetails() *Details
- func (x *Job) GetGPUEnabled() bool
- func (x *Job) GetJID() string
- func (x *Job) GetLog() string
- func (x *Job) GetProcess() *ProcessState
- func (x *Job) GetType() string
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- type KillReq
- type KillResp
- type ListReq
- type ListResp
- type ManageReq
- func (*ManageReq) Descriptor() ([]byte, []int)deprecated
- func (x *ManageReq) GetAttach() bool
- func (x *ManageReq) GetDetails() *Details
- func (x *ManageReq) GetJID() string
- func (*ManageReq) ProtoMessage()
- func (x *ManageReq) ProtoReflect() protoreflect.Message
- func (x *ManageReq) Reset()
- func (x *ManageReq) String() string
- type ManageResp
- type MemoryInfo
- func (*MemoryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryInfo) GetAvailable() uint64
- func (x *MemoryInfo) GetTotal() uint64
- func (x *MemoryInfo) GetUsed() uint64
- func (*MemoryInfo) ProtoMessage()
- func (x *MemoryInfo) ProtoReflect() protoreflect.Message
- func (x *MemoryInfo) Reset()
- func (x *MemoryInfo) String() string
- type OpenFilesStat
- func (*OpenFilesStat) Descriptor() ([]byte, []int)deprecated
- func (x *OpenFilesStat) GetFd() uint64
- func (x *OpenFilesStat) GetMode() string
- func (x *OpenFilesStat) GetPath() string
- func (*OpenFilesStat) ProtoMessage()
- func (x *OpenFilesStat) ProtoReflect() protoreflect.Message
- func (x *OpenFilesStat) Reset()
- func (x *OpenFilesStat) String() string
- type ProcessInfo
- func (*ProcessInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessInfo) GetAttachedToHardwareAccel() bool
- func (x *ProcessInfo) GetIsRunning() bool
- func (x *ProcessInfo) GetMemoryPercent() float32
- func (x *ProcessInfo) GetOpenConnections() []*ConnectionStat
- func (x *ProcessInfo) GetOpenFiles() []*OpenFilesStat
- func (x *ProcessInfo) GetPID() uint32
- func (x *ProcessInfo) GetStatus() string
- func (x *ProcessInfo) GetWorkingDir() string
- func (*ProcessInfo) ProtoMessage()
- func (x *ProcessInfo) ProtoReflect() protoreflect.Message
- func (x *ProcessInfo) Reset()
- func (x *ProcessInfo) String() string
- type ProcessStartDetails
- func (*ProcessStartDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessStartDetails) GetArgs() []string
- func (x *ProcessStartDetails) GetEnv() []string
- func (x *ProcessStartDetails) GetGID() int32
- func (x *ProcessStartDetails) GetGroups() []int32
- func (x *ProcessStartDetails) GetPath() string
- func (x *ProcessStartDetails) GetUID() int32
- func (x *ProcessStartDetails) GetWorkingDir() string
- func (*ProcessStartDetails) ProtoMessage()
- func (x *ProcessStartDetails) ProtoReflect() protoreflect.Message
- func (x *ProcessStartDetails) Reset()
- func (x *ProcessStartDetails) String() string
- type ProcessState
- func (*ProcessState) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessState) GetCPUInfo() *CPUInfo
- func (x *ProcessState) GetGIDs() []uint32
- func (x *ProcessState) GetGroups() []uint32
- func (x *ProcessState) GetHostInfo() *HostInfo
- func (x *ProcessState) GetInfo() *ProcessInfo
- func (x *ProcessState) GetMemoryInfo() *MemoryInfo
- func (x *ProcessState) GetPID() uint32
- func (x *ProcessState) GetStartedAt() string
- func (x *ProcessState) GetTask() string
- func (x *ProcessState) GetUIDs() []uint32
- func (*ProcessState) ProtoMessage()
- func (x *ProcessState) ProtoReflect() protoreflect.Message
- func (x *ProcessState) Reset()
- func (x *ProcessState) String() string
- type RestoreReq
- func (*RestoreReq) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreReq) GetAttach() bool
- func (x *RestoreReq) GetCriu() *criu.CriuOpts
- func (x *RestoreReq) GetDetails() *Details
- func (x *RestoreReq) GetLog() string
- func (x *RestoreReq) GetPath() string
- func (x *RestoreReq) GetStream() bool
- func (x *RestoreReq) GetType() string
- func (*RestoreReq) ProtoMessage()
- func (x *RestoreReq) ProtoReflect() protoreflect.Message
- func (x *RestoreReq) Reset()
- func (x *RestoreReq) String() string
- type RestoreResp
- func (*RestoreResp) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreResp) GetMessage() string
- func (x *RestoreResp) GetPID() uint32
- func (x *RestoreResp) GetState() *ProcessState
- func (*RestoreResp) ProtoMessage()
- func (x *RestoreResp) ProtoReflect() protoreflect.Message
- func (x *RestoreResp) Reset()
- func (x *RestoreResp) String() string
- type StartReq
- func (*StartReq) Descriptor() ([]byte, []int)deprecated
- func (x *StartReq) GetAttach() bool
- func (x *StartReq) GetDetails() *Details
- func (x *StartReq) GetGPUEnabled() bool
- func (x *StartReq) GetJID() string
- func (x *StartReq) GetLog() string
- func (x *StartReq) GetType() string
- func (*StartReq) ProtoMessage()
- func (x *StartReq) ProtoReflect() protoreflect.Message
- func (x *StartReq) Reset()
- func (x *StartReq) String() string
- type StartResp
- func (*StartResp) Descriptor() ([]byte, []int)deprecated
- func (x *StartResp) GetJID() string
- func (x *StartResp) GetMessage() string
- func (x *StartResp) GetPID() uint32
- func (*StartResp) ProtoMessage()
- func (x *StartResp) ProtoReflect() protoreflect.Message
- func (x *StartResp) Reset()
- func (x *StartResp) String() string
Constants ¶
This section is empty.
Variables ¶
var File_daemon_daemon_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Addr ¶
type Addr struct {
IP string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"`
Port uint32 `protobuf:"varint,2,opt,name=Port,proto3" json:"Port,omitempty"`
// contains filtered or unexported fields
}
func (*Addr) ProtoReflect ¶
func (x *Addr) ProtoReflect() protoreflect.Message
type AttachReq ¶
type AttachReq struct {
PID uint32 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"`
// Types that are assignable to Input:
//
// *AttachReq_Stdin
// *AttachReq_Signal
Input isAttachReq_Input `protobuf_oneof:"Input"`
// contains filtered or unexported fields
}
func (*AttachReq) ProtoReflect ¶
func (x *AttachReq) ProtoReflect() protoreflect.Message
type AttachReq_Signal ¶
type AttachReq_Signal struct {
Signal int32 `protobuf:"varint,3,opt,name=Signal,proto3,oneof"`
}
type AttachReq_Stdin ¶
type AttachReq_Stdin struct {
Stdin []byte `protobuf:"bytes,2,opt,name=Stdin,proto3,oneof"`
}
type AttachResp ¶
type AttachResp struct {
// Types that are assignable to Output:
//
// *AttachResp_Stdout
// *AttachResp_Stderr
// *AttachResp_ExitCode
Output isAttachResp_Output `protobuf_oneof:"Output"`
// contains filtered or unexported fields
}
func (*AttachResp) Descriptor
deprecated
func (*AttachResp) Descriptor() ([]byte, []int)
Deprecated: Use AttachResp.ProtoReflect.Descriptor instead.
func (*AttachResp) GetExitCode ¶
func (x *AttachResp) GetExitCode() int32
func (*AttachResp) GetOutput ¶
func (m *AttachResp) GetOutput() isAttachResp_Output
func (*AttachResp) GetStderr ¶
func (x *AttachResp) GetStderr() []byte
func (*AttachResp) GetStdout ¶
func (x *AttachResp) GetStdout() []byte
func (*AttachResp) ProtoMessage ¶
func (*AttachResp) ProtoMessage()
func (*AttachResp) ProtoReflect ¶
func (x *AttachResp) ProtoReflect() protoreflect.Message
func (*AttachResp) Reset ¶
func (x *AttachResp) Reset()
func (*AttachResp) String ¶
func (x *AttachResp) String() string
type AttachResp_ExitCode ¶
type AttachResp_ExitCode struct {
ExitCode int32 `protobuf:"varint,3,opt,name=ExitCode,proto3,oneof"`
}
type AttachResp_Stderr ¶
type AttachResp_Stderr struct {
Stderr []byte `protobuf:"bytes,2,opt,name=Stderr,proto3,oneof"`
}
type AttachResp_Stdout ¶
type AttachResp_Stdout struct {
Stdout []byte `protobuf:"bytes,1,opt,name=Stdout,proto3,oneof"`
}
type CPUInfo ¶
type CPUInfo struct {
Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
CPU int32 `protobuf:"varint,2,opt,name=CPU,proto3" json:"CPU,omitempty"`
VendorID string `protobuf:"bytes,3,opt,name=VendorID,proto3" json:"VendorID,omitempty"`
Family string `protobuf:"bytes,4,opt,name=Family,proto3" json:"Family,omitempty"`
PhysicalID string `protobuf:"bytes,5,opt,name=PhysicalID,proto3" json:"PhysicalID,omitempty"`
// contains filtered or unexported fields
}
func (*CPUInfo) ProtoReflect ¶
func (x *CPUInfo) ProtoReflect() protoreflect.Message
type ConnectionStat ¶
type ConnectionStat struct {
Fd uint32 `protobuf:"varint,1,opt,name=Fd,proto3" json:"Fd,omitempty"`
Family uint32 `protobuf:"varint,2,opt,name=Family,proto3" json:"Family,omitempty"`
Type uint32 `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
Laddr *Addr `protobuf:"bytes,4,opt,name=Laddr,proto3" json:"Laddr,omitempty"`
Raddr *Addr `protobuf:"bytes,5,opt,name=Raddr,proto3" json:"Raddr,omitempty"`
Status string `protobuf:"bytes,6,opt,name=Status,proto3" json:"Status,omitempty"`
UIDs []int32 `protobuf:"varint,7,rep,packed,name=UIDs,proto3" json:"UIDs,omitempty"`
PID uint32 `protobuf:"varint,8,opt,name=PID,proto3" json:"PID,omitempty"`
// contains filtered or unexported fields
}
func (*ConnectionStat) Descriptor
deprecated
func (*ConnectionStat) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionStat.ProtoReflect.Descriptor instead.
func (*ConnectionStat) GetFamily ¶
func (x *ConnectionStat) GetFamily() uint32
func (*ConnectionStat) GetFd ¶
func (x *ConnectionStat) GetFd() uint32
func (*ConnectionStat) GetLaddr ¶
func (x *ConnectionStat) GetLaddr() *Addr
func (*ConnectionStat) GetPID ¶
func (x *ConnectionStat) GetPID() uint32
func (*ConnectionStat) GetRaddr ¶
func (x *ConnectionStat) GetRaddr() *Addr
func (*ConnectionStat) GetStatus ¶
func (x *ConnectionStat) GetStatus() string
func (*ConnectionStat) GetType ¶
func (x *ConnectionStat) GetType() uint32
func (*ConnectionStat) GetUIDs ¶
func (x *ConnectionStat) GetUIDs() []int32
func (*ConnectionStat) ProtoMessage ¶
func (*ConnectionStat) ProtoMessage()
func (*ConnectionStat) ProtoReflect ¶
func (x *ConnectionStat) ProtoReflect() protoreflect.Message
func (*ConnectionStat) Reset ¶
func (x *ConnectionStat) Reset()
func (*ConnectionStat) String ¶
func (x *ConnectionStat) String() string
type DeleteReq ¶
type DeleteReq struct {
JIDs []string `protobuf:"bytes,1,rep,name=JIDs,proto3" json:"JIDs,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteReq) ProtoReflect ¶
func (x *DeleteReq) ProtoReflect() protoreflect.Message
type DeleteResp ¶
type DeleteResp struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteResp) Descriptor
deprecated
func (*DeleteResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResp.ProtoReflect.Descriptor instead.
func (*DeleteResp) GetMessage ¶
func (x *DeleteResp) GetMessage() string
func (*DeleteResp) ProtoMessage ¶
func (*DeleteResp) ProtoMessage()
func (*DeleteResp) ProtoReflect ¶
func (x *DeleteResp) ProtoReflect() protoreflect.Message
func (*DeleteResp) Reset ¶
func (x *DeleteResp) Reset()
func (*DeleteResp) String ¶
func (x *DeleteResp) String() string
type Details ¶
type Details struct {
JID *string `protobuf:"bytes,1,opt,name=JID,proto3,oneof" json:"JID,omitempty"`
PID *uint32 `protobuf:"varint,2,opt,name=PID,proto3,oneof" json:"PID,omitempty"`
ProcessStart *ProcessStartDetails `protobuf:"bytes,3,opt,name=ProcessStart,proto3,oneof" json:"ProcessStart,omitempty"`
// Plugin-specific job details:
Runc *runc.Details `protobuf:"bytes,4,opt,name=Runc,proto3,oneof" json:"Runc,omitempty"`
RuncStart *runc.StartDetails `protobuf:"bytes,5,opt,name=RuncStart,proto3,oneof" json:"RuncStart,omitempty"`
// contains filtered or unexported fields
}
func (*Details) GetProcessStart ¶
func (x *Details) GetProcessStart() *ProcessStartDetails
func (*Details) GetRuncStart ¶
func (x *Details) GetRuncStart() *runc.StartDetails
func (*Details) ProtoReflect ¶
func (x *Details) ProtoReflect() protoreflect.Message
type DumpReq ¶
type DumpReq struct {
Dir string `protobuf:"bytes,1,opt,name=Dir,proto3" json:"Dir,omitempty"`
Stream bool `protobuf:"varint,2,opt,name=Stream,proto3" json:"Stream,omitempty"`
Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
Criu *criu.CriuOpts `protobuf:"bytes,4,opt,name=Criu,proto3" json:"Criu,omitempty"`
Details *Details `protobuf:"bytes,5,opt,name=Details,proto3" json:"Details,omitempty"`
// contains filtered or unexported fields
}
func (*DumpReq) ProtoReflect ¶
func (x *DumpReq) ProtoReflect() protoreflect.Message
type DumpResp ¶
type DumpResp struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
Path string `protobuf:"bytes,2,opt,name=Path,proto3" json:"Path,omitempty"`
State *ProcessState `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"`
// contains filtered or unexported fields
}
func (*DumpResp) GetState ¶
func (x *DumpResp) GetState() *ProcessState
func (*DumpResp) ProtoReflect ¶
func (x *DumpResp) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type HostInfo ¶
type HostInfo struct {
HostID string `protobuf:"bytes,1,opt,name=HostID,proto3" json:"HostID,omitempty"`
Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
OS string `protobuf:"bytes,3,opt,name=OS,proto3" json:"OS,omitempty"`
Platform string `protobuf:"bytes,4,opt,name=Platform,proto3" json:"Platform,omitempty"`
KernelVersion string `protobuf:"bytes,5,opt,name=KernelVersion,proto3" json:"KernelVersion,omitempty"`
KernelArch string `protobuf:"bytes,6,opt,name=KernelArch,proto3" json:"KernelArch,omitempty"`
VirtualizationSystem string `protobuf:"bytes,7,opt,name=VirtualizationSystem,proto3" json:"VirtualizationSystem,omitempty"`
VirtualizationRole string `protobuf:"bytes,8,opt,name=VirtualizationRole,proto3" json:"VirtualizationRole,omitempty"`
// contains filtered or unexported fields
}
func (*HostInfo) ProtoReflect ¶
func (x *HostInfo) ProtoReflect() protoreflect.Message
type Job ¶
type Job struct {
JID string `protobuf:"bytes,1,opt,name=JID,proto3" json:"JID,omitempty"`
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
Process *ProcessState `protobuf:"bytes,3,opt,name=Process,proto3" json:"Process,omitempty"`
CheckpointPath string `protobuf:"bytes,4,opt,name=CheckpointPath,proto3" json:"CheckpointPath,omitempty"`
GPUEnabled bool `protobuf:"varint,5,opt,name=GPUEnabled,proto3" json:"GPUEnabled,omitempty"`
Log string `protobuf:"bytes,6,opt,name=Log,proto3" json:"Log,omitempty"`
Details *Details `protobuf:"bytes,7,opt,name=Details,proto3" json:"Details,omitempty"`
// contains filtered or unexported fields
}
func (*Job) GetProcess ¶
func (x *Job) GetProcess() *ProcessState
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
type KillReq ¶
type KillReq struct {
JIDs []string `protobuf:"bytes,1,rep,name=JIDs,proto3" json:"JIDs,omitempty"`
Signal int32 `protobuf:"varint,2,opt,name=Signal,proto3" json:"Signal,omitempty"`
// contains filtered or unexported fields
}
func (*KillReq) ProtoReflect ¶
func (x *KillReq) ProtoReflect() protoreflect.Message
type KillResp ¶
type KillResp struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
// contains filtered or unexported fields
}
func (*KillResp) ProtoReflect ¶
func (x *KillResp) ProtoReflect() protoreflect.Message
type ListReq ¶
type ListReq struct {
JIDs []string `protobuf:"bytes,1,rep,name=JIDs,proto3" json:"JIDs,omitempty"`
// contains filtered or unexported fields
}
func (*ListReq) ProtoReflect ¶
func (x *ListReq) ProtoReflect() protoreflect.Message
type ListResp ¶
type ListResp struct {
Jobs []*Job `protobuf:"bytes,1,rep,name=Jobs,proto3" json:"Jobs,omitempty"`
// contains filtered or unexported fields
}
func (*ListResp) ProtoReflect ¶
func (x *ListResp) ProtoReflect() protoreflect.Message
type ManageReq ¶
type ManageReq struct {
JID string `protobuf:"bytes,1,opt,name=JID,proto3" json:"JID,omitempty"`
Attach bool `protobuf:"varint,2,opt,name=Attach,proto3" json:"Attach,omitempty"`
Details *Details `protobuf:"bytes,3,opt,name=Details,proto3" json:"Details,omitempty"`
// contains filtered or unexported fields
}
func (*ManageReq) ProtoReflect ¶
func (x *ManageReq) ProtoReflect() protoreflect.Message
type ManageResp ¶
type ManageResp struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
PID uint32 `protobuf:"varint,2,opt,name=PID,proto3" json:"PID,omitempty"`
// contains filtered or unexported fields
}
func (*ManageResp) Descriptor
deprecated
func (*ManageResp) Descriptor() ([]byte, []int)
Deprecated: Use ManageResp.ProtoReflect.Descriptor instead.
func (*ManageResp) GetMessage ¶
func (x *ManageResp) GetMessage() string
func (*ManageResp) GetPID ¶
func (x *ManageResp) GetPID() uint32
func (*ManageResp) ProtoMessage ¶
func (*ManageResp) ProtoMessage()
func (*ManageResp) ProtoReflect ¶
func (x *ManageResp) ProtoReflect() protoreflect.Message
func (*ManageResp) Reset ¶
func (x *ManageResp) Reset()
func (*ManageResp) String ¶
func (x *ManageResp) String() string
type MemoryInfo ¶
type MemoryInfo struct {
Total uint64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"`
Available uint64 `protobuf:"varint,2,opt,name=Available,proto3" json:"Available,omitempty"`
Used uint64 `protobuf:"varint,3,opt,name=Used,proto3" json:"Used,omitempty"`
// contains filtered or unexported fields
}
func (*MemoryInfo) Descriptor
deprecated
func (*MemoryInfo) Descriptor() ([]byte, []int)
Deprecated: Use MemoryInfo.ProtoReflect.Descriptor instead.
func (*MemoryInfo) GetAvailable ¶
func (x *MemoryInfo) GetAvailable() uint64
func (*MemoryInfo) GetTotal ¶
func (x *MemoryInfo) GetTotal() uint64
func (*MemoryInfo) GetUsed ¶
func (x *MemoryInfo) GetUsed() uint64
func (*MemoryInfo) ProtoMessage ¶
func (*MemoryInfo) ProtoMessage()
func (*MemoryInfo) ProtoReflect ¶
func (x *MemoryInfo) ProtoReflect() protoreflect.Message
func (*MemoryInfo) Reset ¶
func (x *MemoryInfo) Reset()
func (*MemoryInfo) String ¶
func (x *MemoryInfo) String() string
type OpenFilesStat ¶
type OpenFilesStat struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
Fd uint64 `protobuf:"varint,2,opt,name=Fd,proto3" json:"Fd,omitempty"`
Mode string `protobuf:"bytes,3,opt,name=Mode,proto3" json:"Mode,omitempty"`
// contains filtered or unexported fields
}
func (*OpenFilesStat) Descriptor
deprecated
func (*OpenFilesStat) Descriptor() ([]byte, []int)
Deprecated: Use OpenFilesStat.ProtoReflect.Descriptor instead.
func (*OpenFilesStat) GetFd ¶
func (x *OpenFilesStat) GetFd() uint64
func (*OpenFilesStat) GetMode ¶
func (x *OpenFilesStat) GetMode() string
func (*OpenFilesStat) GetPath ¶
func (x *OpenFilesStat) GetPath() string
func (*OpenFilesStat) ProtoMessage ¶
func (*OpenFilesStat) ProtoMessage()
func (*OpenFilesStat) ProtoReflect ¶
func (x *OpenFilesStat) ProtoReflect() protoreflect.Message
func (*OpenFilesStat) Reset ¶
func (x *OpenFilesStat) Reset()
func (*OpenFilesStat) String ¶
func (x *OpenFilesStat) String() string
type ProcessInfo ¶
type ProcessInfo struct {
PID uint32 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"`
AttachedToHardwareAccel bool `protobuf:"varint,2,opt,name=AttachedToHardwareAccel,proto3" json:"AttachedToHardwareAccel,omitempty"`
OpenFiles []*OpenFilesStat `protobuf:"bytes,3,rep,name=OpenFiles,proto3" json:"OpenFiles,omitempty"`
WorkingDir string `protobuf:"bytes,4,opt,name=WorkingDir,proto3" json:"WorkingDir,omitempty"`
OpenConnections []*ConnectionStat `protobuf:"bytes,5,rep,name=OpenConnections,proto3" json:"OpenConnections,omitempty"`
MemoryPercent float32 `protobuf:"fixed32,6,opt,name=MemoryPercent,proto3" json:"MemoryPercent,omitempty"`
IsRunning bool `protobuf:"varint,7,opt,name=IsRunning,proto3" json:"IsRunning,omitempty"`
Status string `protobuf:"bytes,8,opt,name=Status,proto3" json:"Status,omitempty"`
// contains filtered or unexported fields
}
func (*ProcessInfo) Descriptor
deprecated
func (*ProcessInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead.
func (*ProcessInfo) GetAttachedToHardwareAccel ¶
func (x *ProcessInfo) GetAttachedToHardwareAccel() bool
func (*ProcessInfo) GetIsRunning ¶
func (x *ProcessInfo) GetIsRunning() bool
func (*ProcessInfo) GetMemoryPercent ¶
func (x *ProcessInfo) GetMemoryPercent() float32
func (*ProcessInfo) GetOpenConnections ¶
func (x *ProcessInfo) GetOpenConnections() []*ConnectionStat
func (*ProcessInfo) GetOpenFiles ¶
func (x *ProcessInfo) GetOpenFiles() []*OpenFilesStat
func (*ProcessInfo) GetPID ¶
func (x *ProcessInfo) GetPID() uint32
func (*ProcessInfo) GetStatus ¶
func (x *ProcessInfo) GetStatus() string
func (*ProcessInfo) GetWorkingDir ¶
func (x *ProcessInfo) GetWorkingDir() string
func (*ProcessInfo) ProtoMessage ¶
func (*ProcessInfo) ProtoMessage()
func (*ProcessInfo) ProtoReflect ¶
func (x *ProcessInfo) ProtoReflect() protoreflect.Message
func (*ProcessInfo) Reset ¶
func (x *ProcessInfo) Reset()
func (*ProcessInfo) String ¶
func (x *ProcessInfo) String() string
type ProcessStartDetails ¶
type ProcessStartDetails struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
WorkingDir string `protobuf:"bytes,2,opt,name=WorkingDir,proto3" json:"WorkingDir,omitempty"`
Args []string `protobuf:"bytes,3,rep,name=Args,proto3" json:"Args,omitempty"`
Env []string `protobuf:"bytes,4,rep,name=Env,proto3" json:"Env,omitempty"`
UID int32 `protobuf:"varint,5,opt,name=UID,proto3" json:"UID,omitempty"`
GID int32 `protobuf:"varint,6,opt,name=GID,proto3" json:"GID,omitempty"`
Groups []int32 `protobuf:"varint,7,rep,packed,name=Groups,proto3" json:"Groups,omitempty"`
// contains filtered or unexported fields
}
func (*ProcessStartDetails) Descriptor
deprecated
func (*ProcessStartDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProcessStartDetails.ProtoReflect.Descriptor instead.
func (*ProcessStartDetails) GetArgs ¶
func (x *ProcessStartDetails) GetArgs() []string
func (*ProcessStartDetails) GetEnv ¶
func (x *ProcessStartDetails) GetEnv() []string
func (*ProcessStartDetails) GetGID ¶
func (x *ProcessStartDetails) GetGID() int32
func (*ProcessStartDetails) GetGroups ¶
func (x *ProcessStartDetails) GetGroups() []int32
func (*ProcessStartDetails) GetPath ¶
func (x *ProcessStartDetails) GetPath() string
func (*ProcessStartDetails) GetUID ¶
func (x *ProcessStartDetails) GetUID() int32
func (*ProcessStartDetails) GetWorkingDir ¶
func (x *ProcessStartDetails) GetWorkingDir() string
func (*ProcessStartDetails) ProtoMessage ¶
func (*ProcessStartDetails) ProtoMessage()
func (*ProcessStartDetails) ProtoReflect ¶
func (x *ProcessStartDetails) ProtoReflect() protoreflect.Message
func (*ProcessStartDetails) Reset ¶
func (x *ProcessStartDetails) Reset()
func (*ProcessStartDetails) String ¶
func (x *ProcessStartDetails) String() string
type ProcessState ¶
type ProcessState struct {
PID uint32 `protobuf:"varint,1,opt,name=PID,proto3" json:"PID,omitempty"`
Task string `protobuf:"bytes,2,opt,name=Task,proto3" json:"Task,omitempty"`
StartedAt string `protobuf:"bytes,3,opt,name=StartedAt,proto3" json:"StartedAt,omitempty"`
Info *ProcessInfo `protobuf:"bytes,4,opt,name=Info,proto3" json:"Info,omitempty"`
HostInfo *HostInfo `protobuf:"bytes,5,opt,name=HostInfo,proto3" json:"HostInfo,omitempty"`
CPUInfo *CPUInfo `protobuf:"bytes,6,opt,name=CPUInfo,proto3" json:"CPUInfo,omitempty"`
MemoryInfo *MemoryInfo `protobuf:"bytes,7,opt,name=MemoryInfo,proto3" json:"MemoryInfo,omitempty"`
UIDs []uint32 `protobuf:"varint,8,rep,packed,name=UIDs,proto3" json:"UIDs,omitempty"`
GIDs []uint32 `protobuf:"varint,9,rep,packed,name=GIDs,proto3" json:"GIDs,omitempty"`
Groups []uint32 `protobuf:"varint,10,rep,packed,name=Groups,proto3" json:"Groups,omitempty"`
// contains filtered or unexported fields
}
func (*ProcessState) Descriptor
deprecated
func (*ProcessState) Descriptor() ([]byte, []int)
Deprecated: Use ProcessState.ProtoReflect.Descriptor instead.
func (*ProcessState) GetCPUInfo ¶
func (x *ProcessState) GetCPUInfo() *CPUInfo
func (*ProcessState) GetGIDs ¶
func (x *ProcessState) GetGIDs() []uint32
func (*ProcessState) GetGroups ¶
func (x *ProcessState) GetGroups() []uint32
func (*ProcessState) GetHostInfo ¶
func (x *ProcessState) GetHostInfo() *HostInfo
func (*ProcessState) GetInfo ¶
func (x *ProcessState) GetInfo() *ProcessInfo
func (*ProcessState) GetMemoryInfo ¶
func (x *ProcessState) GetMemoryInfo() *MemoryInfo
func (*ProcessState) GetPID ¶
func (x *ProcessState) GetPID() uint32
func (*ProcessState) GetStartedAt ¶
func (x *ProcessState) GetStartedAt() string
func (*ProcessState) GetTask ¶
func (x *ProcessState) GetTask() string
func (*ProcessState) GetUIDs ¶
func (x *ProcessState) GetUIDs() []uint32
func (*ProcessState) ProtoMessage ¶
func (*ProcessState) ProtoMessage()
func (*ProcessState) ProtoReflect ¶
func (x *ProcessState) ProtoReflect() protoreflect.Message
func (*ProcessState) Reset ¶
func (x *ProcessState) Reset()
func (*ProcessState) String ¶
func (x *ProcessState) String() string
type RestoreReq ¶
type RestoreReq struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
Stream bool `protobuf:"varint,2,opt,name=Stream,proto3" json:"Stream,omitempty"`
Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
Criu *criu.CriuOpts `protobuf:"bytes,4,opt,name=Criu,proto3" json:"Criu,omitempty"`
Log string `protobuf:"bytes,5,opt,name=Log,proto3" json:"Log,omitempty"`
Attach bool `protobuf:"varint,6,opt,name=Attach,proto3" json:"Attach,omitempty"`
Details *Details `protobuf:"bytes,7,opt,name=Details,proto3" json:"Details,omitempty"`
// contains filtered or unexported fields
}
func (*RestoreReq) Descriptor
deprecated
func (*RestoreReq) Descriptor() ([]byte, []int)
Deprecated: Use RestoreReq.ProtoReflect.Descriptor instead.
func (*RestoreReq) GetAttach ¶
func (x *RestoreReq) GetAttach() bool
func (*RestoreReq) GetCriu ¶
func (x *RestoreReq) GetCriu() *criu.CriuOpts
func (*RestoreReq) GetDetails ¶
func (x *RestoreReq) GetDetails() *Details
func (*RestoreReq) GetLog ¶
func (x *RestoreReq) GetLog() string
func (*RestoreReq) GetPath ¶
func (x *RestoreReq) GetPath() string
func (*RestoreReq) GetStream ¶
func (x *RestoreReq) GetStream() bool
func (*RestoreReq) GetType ¶
func (x *RestoreReq) GetType() string
func (*RestoreReq) ProtoMessage ¶
func (*RestoreReq) ProtoMessage()
func (*RestoreReq) ProtoReflect ¶
func (x *RestoreReq) ProtoReflect() protoreflect.Message
func (*RestoreReq) Reset ¶
func (x *RestoreReq) Reset()
func (*RestoreReq) String ¶
func (x *RestoreReq) String() string
type RestoreResp ¶
type RestoreResp struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
PID uint32 `protobuf:"varint,2,opt,name=PID,proto3" json:"PID,omitempty"`
State *ProcessState `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty"`
// contains filtered or unexported fields
}
func (*RestoreResp) Descriptor
deprecated
func (*RestoreResp) Descriptor() ([]byte, []int)
Deprecated: Use RestoreResp.ProtoReflect.Descriptor instead.
func (*RestoreResp) GetMessage ¶
func (x *RestoreResp) GetMessage() string
func (*RestoreResp) GetPID ¶
func (x *RestoreResp) GetPID() uint32
func (*RestoreResp) GetState ¶
func (x *RestoreResp) GetState() *ProcessState
func (*RestoreResp) ProtoMessage ¶
func (*RestoreResp) ProtoMessage()
func (*RestoreResp) ProtoReflect ¶
func (x *RestoreResp) ProtoReflect() protoreflect.Message
func (*RestoreResp) Reset ¶
func (x *RestoreResp) Reset()
func (*RestoreResp) String ¶
func (x *RestoreResp) String() string
type StartReq ¶
type StartReq struct {
JID string `protobuf:"bytes,1,opt,name=JID,proto3" json:"JID,omitempty"`
GPUEnabled bool `protobuf:"varint,2,opt,name=GPUEnabled,proto3" json:"GPUEnabled,omitempty"`
Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
Log string `protobuf:"bytes,4,opt,name=Log,proto3" json:"Log,omitempty"`
Attach bool `protobuf:"varint,5,opt,name=Attach,proto3" json:"Attach,omitempty"`
Details *Details `protobuf:"bytes,6,opt,name=Details,proto3" json:"Details,omitempty"`
// contains filtered or unexported fields
}
func (*StartReq) ProtoReflect ¶
func (x *StartReq) ProtoReflect() protoreflect.Message
type StartResp ¶
type StartResp struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
PID uint32 `protobuf:"varint,2,opt,name=PID,proto3" json:"PID,omitempty"`
JID string `protobuf:"bytes,3,opt,name=JID,proto3" json:"JID,omitempty"`
// contains filtered or unexported fields
}
func (*StartResp) ProtoReflect ¶
func (x *StartResp) ProtoReflect() protoreflect.Message
Source Files
¶
- daemon.pb.go