daemon

package
v1.35.2-00000000000000... Latest Latest
Warning

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

Go to latest
Published: unknown License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor deprecated

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

Deprecated: Use Addr.ProtoReflect.Descriptor instead.

func (*Addr) GetIP

func (x *Addr) GetIP() string

func (*Addr) GetPort

func (x *Addr) GetPort() uint32

func (*Addr) ProtoMessage

func (*Addr) ProtoMessage()

func (*Addr) ProtoReflect

func (x *Addr) ProtoReflect() protoreflect.Message

func (*Addr) Reset

func (x *Addr) Reset()

func (*Addr) String

func (x *Addr) String() string

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) Descriptor deprecated

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

Deprecated: Use AttachReq.ProtoReflect.Descriptor instead.

func (*AttachReq) GetInput

func (m *AttachReq) GetInput() isAttachReq_Input

func (*AttachReq) GetPID

func (x *AttachReq) GetPID() uint32

func (*AttachReq) GetSignal

func (x *AttachReq) GetSignal() int32

func (*AttachReq) GetStdin

func (x *AttachReq) GetStdin() []byte

func (*AttachReq) ProtoMessage

func (*AttachReq) ProtoMessage()

func (*AttachReq) ProtoReflect

func (x *AttachReq) ProtoReflect() protoreflect.Message

func (*AttachReq) Reset

func (x *AttachReq) Reset()

func (*AttachReq) String

func (x *AttachReq) String() string

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) Descriptor deprecated

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

Deprecated: Use CPUInfo.ProtoReflect.Descriptor instead.

func (*CPUInfo) GetCPU

func (x *CPUInfo) GetCPU() int32

func (*CPUInfo) GetCount

func (x *CPUInfo) GetCount() int32

func (*CPUInfo) GetFamily

func (x *CPUInfo) GetFamily() string

func (*CPUInfo) GetPhysicalID

func (x *CPUInfo) GetPhysicalID() string

func (*CPUInfo) GetVendorID

func (x *CPUInfo) GetVendorID() string

func (*CPUInfo) ProtoMessage

func (*CPUInfo) ProtoMessage()

func (*CPUInfo) ProtoReflect

func (x *CPUInfo) ProtoReflect() protoreflect.Message

func (*CPUInfo) Reset

func (x *CPUInfo) Reset()

func (*CPUInfo) String

func (x *CPUInfo) String() string

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) Descriptor deprecated

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

Deprecated: Use DeleteReq.ProtoReflect.Descriptor instead.

func (*DeleteReq) GetJIDs

func (x *DeleteReq) GetJIDs() []string

func (*DeleteReq) ProtoMessage

func (*DeleteReq) ProtoMessage()

func (*DeleteReq) ProtoReflect

func (x *DeleteReq) ProtoReflect() protoreflect.Message

func (*DeleteReq) Reset

func (x *DeleteReq) Reset()

func (*DeleteReq) String

func (x *DeleteReq) String() string

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) Descriptor deprecated

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

Deprecated: Use Details.ProtoReflect.Descriptor instead.

func (*Details) GetJID

func (x *Details) GetJID() string

func (*Details) GetPID

func (x *Details) GetPID() uint32

func (*Details) GetProcessStart

func (x *Details) GetProcessStart() *ProcessStartDetails

func (*Details) GetRunc

func (x *Details) GetRunc() *runc.Details

func (*Details) GetRuncStart

func (x *Details) GetRuncStart() *runc.StartDetails

func (*Details) ProtoMessage

func (*Details) ProtoMessage()

func (*Details) ProtoReflect

func (x *Details) ProtoReflect() protoreflect.Message

func (*Details) Reset

func (x *Details) Reset()

func (*Details) String

func (x *Details) String() string

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) Descriptor deprecated

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

Deprecated: Use DumpReq.ProtoReflect.Descriptor instead.

func (*DumpReq) GetCriu

func (x *DumpReq) GetCriu() *criu.CriuOpts

func (*DumpReq) GetDetails

func (x *DumpReq) GetDetails() *Details

func (*DumpReq) GetDir

func (x *DumpReq) GetDir() string

func (*DumpReq) GetStream

func (x *DumpReq) GetStream() bool

func (*DumpReq) GetType

func (x *DumpReq) GetType() string

func (*DumpReq) ProtoMessage

func (*DumpReq) ProtoMessage()

func (*DumpReq) ProtoReflect

func (x *DumpReq) ProtoReflect() protoreflect.Message

func (*DumpReq) Reset

func (x *DumpReq) Reset()

func (*DumpReq) String

func (x *DumpReq) String() string

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) Descriptor deprecated

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

Deprecated: Use DumpResp.ProtoReflect.Descriptor instead.

func (*DumpResp) GetMessage

func (x *DumpResp) GetMessage() string

func (*DumpResp) GetPath

func (x *DumpResp) GetPath() string

func (*DumpResp) GetState

func (x *DumpResp) GetState() *ProcessState

func (*DumpResp) ProtoMessage

func (*DumpResp) ProtoMessage()

func (*DumpResp) ProtoReflect

func (x *DumpResp) ProtoReflect() protoreflect.Message

func (*DumpResp) Reset

func (x *DumpResp) Reset()

func (*DumpResp) String

func (x *DumpResp) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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) Descriptor deprecated

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

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) GetHostID

func (x *HostInfo) GetHostID() string

func (*HostInfo) GetHostname

func (x *HostInfo) GetHostname() string

func (*HostInfo) GetKernelArch

func (x *HostInfo) GetKernelArch() string

func (*HostInfo) GetKernelVersion

func (x *HostInfo) GetKernelVersion() string

func (*HostInfo) GetOS

func (x *HostInfo) GetOS() string

func (*HostInfo) GetPlatform

func (x *HostInfo) GetPlatform() string

func (*HostInfo) GetVirtualizationRole

func (x *HostInfo) GetVirtualizationRole() string

func (*HostInfo) GetVirtualizationSystem

func (x *HostInfo) GetVirtualizationSystem() string

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect

func (x *HostInfo) ProtoReflect() protoreflect.Message

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) String

func (x *HostInfo) String() string

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) Descriptor deprecated

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetCheckpointPath

func (x *Job) GetCheckpointPath() string

func (*Job) GetDetails

func (x *Job) GetDetails() *Details

func (*Job) GetGPUEnabled

func (x *Job) GetGPUEnabled() bool

func (*Job) GetJID

func (x *Job) GetJID() string

func (*Job) GetLog

func (x *Job) GetLog() string

func (*Job) GetProcess

func (x *Job) GetProcess() *ProcessState

func (*Job) GetType

func (x *Job) GetType() string

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

func (x *Job) ProtoReflect() protoreflect.Message

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

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) Descriptor deprecated

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

Deprecated: Use KillReq.ProtoReflect.Descriptor instead.

func (*KillReq) GetJIDs

func (x *KillReq) GetJIDs() []string

func (*KillReq) GetSignal

func (x *KillReq) GetSignal() int32

func (*KillReq) ProtoMessage

func (*KillReq) ProtoMessage()

func (*KillReq) ProtoReflect

func (x *KillReq) ProtoReflect() protoreflect.Message

func (*KillReq) Reset

func (x *KillReq) Reset()

func (*KillReq) String

func (x *KillReq) String() string

type KillResp

type KillResp struct {
	Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

func (*KillResp) Descriptor deprecated

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

Deprecated: Use KillResp.ProtoReflect.Descriptor instead.

func (*KillResp) GetMessage

func (x *KillResp) GetMessage() string

func (*KillResp) ProtoMessage

func (*KillResp) ProtoMessage()

func (*KillResp) ProtoReflect

func (x *KillResp) ProtoReflect() protoreflect.Message

func (*KillResp) Reset

func (x *KillResp) Reset()

func (*KillResp) String

func (x *KillResp) String() string

type ListReq

type ListReq struct {
	JIDs []string `protobuf:"bytes,1,rep,name=JIDs,proto3" json:"JIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReq) Descriptor deprecated

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

Deprecated: Use ListReq.ProtoReflect.Descriptor instead.

func (*ListReq) GetJIDs

func (x *ListReq) GetJIDs() []string

func (*ListReq) ProtoMessage

func (*ListReq) ProtoMessage()

func (*ListReq) ProtoReflect

func (x *ListReq) ProtoReflect() protoreflect.Message

func (*ListReq) Reset

func (x *ListReq) Reset()

func (*ListReq) String

func (x *ListReq) String() string

type ListResp

type ListResp struct {
	Jobs []*Job `protobuf:"bytes,1,rep,name=Jobs,proto3" json:"Jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResp) Descriptor deprecated

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

Deprecated: Use ListResp.ProtoReflect.Descriptor instead.

func (*ListResp) GetJobs

func (x *ListResp) GetJobs() []*Job

func (*ListResp) ProtoMessage

func (*ListResp) ProtoMessage()

func (*ListResp) ProtoReflect

func (x *ListResp) ProtoReflect() protoreflect.Message

func (*ListResp) Reset

func (x *ListResp) Reset()

func (*ListResp) String

func (x *ListResp) String() string

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) Descriptor deprecated

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

Deprecated: Use ManageReq.ProtoReflect.Descriptor instead.

func (*ManageReq) GetAttach

func (x *ManageReq) GetAttach() bool

func (*ManageReq) GetDetails

func (x *ManageReq) GetDetails() *Details

func (*ManageReq) GetJID

func (x *ManageReq) GetJID() string

func (*ManageReq) ProtoMessage

func (*ManageReq) ProtoMessage()

func (*ManageReq) ProtoReflect

func (x *ManageReq) ProtoReflect() protoreflect.Message

func (*ManageReq) Reset

func (x *ManageReq) Reset()

func (*ManageReq) String

func (x *ManageReq) String() string

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) Descriptor deprecated

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

Deprecated: Use StartReq.ProtoReflect.Descriptor instead.

func (*StartReq) GetAttach

func (x *StartReq) GetAttach() bool

func (*StartReq) GetDetails

func (x *StartReq) GetDetails() *Details

func (*StartReq) GetGPUEnabled

func (x *StartReq) GetGPUEnabled() bool

func (*StartReq) GetJID

func (x *StartReq) GetJID() string

func (*StartReq) GetLog

func (x *StartReq) GetLog() string

func (*StartReq) GetType

func (x *StartReq) GetType() string

func (*StartReq) ProtoMessage

func (*StartReq) ProtoMessage()

func (*StartReq) ProtoReflect

func (x *StartReq) ProtoReflect() protoreflect.Message

func (*StartReq) Reset

func (x *StartReq) Reset()

func (*StartReq) String

func (x *StartReq) String() string

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) Descriptor deprecated

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

Deprecated: Use StartResp.ProtoReflect.Descriptor instead.

func (*StartResp) GetJID

func (x *StartResp) GetJID() string

func (*StartResp) GetMessage

func (x *StartResp) GetMessage() string

func (*StartResp) GetPID

func (x *StartResp) GetPID() uint32

func (*StartResp) ProtoMessage

func (*StartResp) ProtoMessage()

func (*StartResp) ProtoReflect

func (x *StartResp) ProtoReflect() protoreflect.Message

func (*StartResp) Reset

func (x *StartResp) Reset()

func (*StartResp) String

func (x *StartResp) String() string

Source Files

  • daemon.pb.go

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

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