Documentation ¶
Index ¶
- Variables
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetChunk() []byte
- func (x *File) GetGroup() string
- func (x *File) GetOwner() string
- func (x *File) GetPath() string
- func (x *File) GetPermissions() string
- func (x *File) GetSha3_256Hash() string
- func (x *File) GetSize() int64
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type Process
- func (*Process) Descriptor() ([]byte, []int)deprecated
- func (x *Process) GetCmd() string
- func (x *Process) GetCwd() string
- func (x *Process) GetEnv() string
- func (x *Process) GetName() string
- func (x *Process) GetPath() string
- func (x *Process) GetPid() uint64
- func (x *Process) GetPpid() uint64
- func (x *Process) GetPrincipal() string
- func (x *Process) GetStatus() Process_Status
- func (*Process) ProtoMessage()
- func (x *Process) ProtoReflect() protoreflect.Message
- func (x *Process) Reset()
- func (x *Process) String() string
- type ProcessList
- type Process_Status
- func (Process_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Process_Status) Enum() *Process_Status
- func (Process_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (p Process_Status) MarshalGQL(w io.Writer)
- func (x Process_Status) Number() protoreflect.EnumNumber
- func (p *Process_Status) Scan(val any) error
- func (x Process_Status) String() string
- func (Process_Status) Type() protoreflect.EnumType
- func (p *Process_Status) UnmarshalGQL(v interface{}) error
- func (p Process_Status) Value() (driver.Value, error)
- func (Process_Status) Values() []string
- type Tome
- func (*Tome) Descriptor() ([]byte, []int)deprecated
- func (x *Tome) GetEldritch() string
- func (x *Tome) GetFileNames() []string
- func (x *Tome) GetParameters() map[string]string
- func (*Tome) ProtoMessage()
- func (x *Tome) ProtoReflect() protoreflect.Message
- func (x *Tome) Reset()
- func (x *Tome) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Process_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_UNKNOWN", 2: "STATUS_IDLE", 3: "STATUS_RUN", 4: "STATUS_SLEEP", 5: "STATUS_STOP", 6: "STATUS_ZOMBIE", 7: "STATUS_TRACING", 8: "STATUS_DEAD", 9: "STATUS_WAKE_KILL", 10: "STATUS_WAKING", 11: "STATUS_PARKED", 12: "STATUS_LOCK_BLOCKED", 13: "STATUS_UNINTERUPTIBLE_DISK_SLEEP", } Process_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_UNKNOWN": 1, "STATUS_IDLE": 2, "STATUS_RUN": 3, "STATUS_SLEEP": 4, "STATUS_STOP": 5, "STATUS_ZOMBIE": 6, "STATUS_TRACING": 7, "STATUS_DEAD": 8, "STATUS_WAKE_KILL": 9, "STATUS_WAKING": 10, "STATUS_PARKED": 11, "STATUS_LOCK_BLOCKED": 12, "STATUS_UNINTERUPTIBLE_DISK_SLEEP": 13, } )
Enum value maps for Process_Status.
View Source
var File_eldritch_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` Permissions string `protobuf:"bytes,4,opt,name=permissions,proto3" json:"permissions,omitempty"` Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` Sha3_256Hash string `protobuf:"bytes,6,opt,name=sha3_256_hash,json=sha3256Hash,proto3" json:"sha3_256_hash,omitempty"` Chunk []byte `protobuf:"bytes,7,opt,name=chunk,proto3" json:"chunk,omitempty"` // contains filtered or unexported fields }
File on the host system.
func (*File) Descriptor
deprecated
func (*File) GetPermissions ¶
func (*File) GetSha3_256Hash ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type Process ¶
type Process struct { Pid uint64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` Ppid uint64 `protobuf:"varint,2,opt,name=ppid,proto3" json:"ppid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"` Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` Cmd string `protobuf:"bytes,6,opt,name=cmd,proto3" json:"cmd,omitempty"` Env string `protobuf:"bytes,7,opt,name=env,proto3" json:"env,omitempty"` Cwd string `protobuf:"bytes,8,opt,name=cwd,proto3" json:"cwd,omitempty"` Status Process_Status `protobuf:"varint,9,opt,name=status,proto3,enum=eldritch.Process_Status" json:"status,omitempty"` // contains filtered or unexported fields }
Process running on the host system.
func (*Process) Descriptor
deprecated
func (*Process) GetPrincipal ¶
func (*Process) GetStatus ¶
func (x *Process) GetStatus() Process_Status
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶
func (x *Process) ProtoReflect() protoreflect.Message
type ProcessList ¶
type ProcessList struct { List []*Process `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
ProcessList of running processes on the host system.
func (*ProcessList) Descriptor
deprecated
func (*ProcessList) Descriptor() ([]byte, []int)
Deprecated: Use ProcessList.ProtoReflect.Descriptor instead.
func (*ProcessList) GetList ¶
func (x *ProcessList) GetList() []*Process
func (*ProcessList) ProtoMessage ¶
func (*ProcessList) ProtoMessage()
func (*ProcessList) ProtoReflect ¶
func (x *ProcessList) ProtoReflect() protoreflect.Message
func (*ProcessList) Reset ¶
func (x *ProcessList) Reset()
func (*ProcessList) String ¶
func (x *ProcessList) String() string
type Process_Status ¶
type Process_Status int32
const ( Process_STATUS_UNSPECIFIED Process_Status = 0 Process_STATUS_UNKNOWN Process_Status = 1 Process_STATUS_IDLE Process_Status = 2 Process_STATUS_RUN Process_Status = 3 Process_STATUS_SLEEP Process_Status = 4 Process_STATUS_STOP Process_Status = 5 Process_STATUS_ZOMBIE Process_Status = 6 Process_STATUS_TRACING Process_Status = 7 Process_STATUS_DEAD Process_Status = 8 Process_STATUS_WAKE_KILL Process_Status = 9 Process_STATUS_WAKING Process_Status = 10 Process_STATUS_PARKED Process_Status = 11 Process_STATUS_LOCK_BLOCKED Process_Status = 12 Process_STATUS_UNINTERUPTIBLE_DISK_SLEEP Process_Status = 13 )
func (Process_Status) Descriptor ¶
func (Process_Status) Descriptor() protoreflect.EnumDescriptor
func (Process_Status) Enum ¶
func (x Process_Status) Enum() *Process_Status
func (Process_Status) EnumDescriptor
deprecated
func (Process_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Process_Status.Descriptor instead.
func (Process_Status) MarshalGQL ¶
func (p Process_Status) MarshalGQL(w io.Writer)
MarshalGQL writes a formatted string value for GraphQL.
func (Process_Status) Number ¶
func (x Process_Status) Number() protoreflect.EnumNumber
func (*Process_Status) Scan ¶
func (p *Process_Status) Scan(val any) error
Scan tells our code how to read the enum into our type.
func (Process_Status) String ¶
func (x Process_Status) String() string
func (Process_Status) Type ¶
func (Process_Status) Type() protoreflect.EnumType
func (*Process_Status) UnmarshalGQL ¶
func (p *Process_Status) UnmarshalGQL(v interface{}) error
UnmarshalGQL parses a GraphQL string representation into the enum.
func (Process_Status) Value ¶
func (p Process_Status) Value() (driver.Value, error)
Value provides the DB a string from int.
func (Process_Status) Values ¶
func (Process_Status) Values() []string
Values provides list valid values for Enum.
type Tome ¶
type Tome struct { Eldritch string `protobuf:"bytes,1,opt,name=eldritch,proto3" json:"eldritch,omitempty"` Parameters map[string]string `` /* 161-byte string literal not displayed */ FileNames []string `protobuf:"bytes,3,rep,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // contains filtered or unexported fields }
Tome for eldritch to execute.
func (*Tome) Descriptor
deprecated
func (*Tome) GetEldritch ¶
func (*Tome) GetFileNames ¶
func (*Tome) GetParameters ¶
func (*Tome) ProtoMessage ¶
func (*Tome) ProtoMessage()
func (*Tome) ProtoReflect ¶
func (x *Tome) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.