Files
2026-07-26 17:28:16 +00:00

119 lines
2.2 KiB
Go

package logfields
const (
// Identifiers
Name = "name"
Namespace = "namespace"
Operation = "operation"
ID = "id"
ContainerID = "cid"
GCSContainerID = "gcs_container_id"
ExecID = "eid"
NamespaceID = "namespace-id"
PodID = "pod-id"
ProcessID = "pid"
SandboxID = "sandbox-id"
TaskID = "tid"
UVMID = "uvm-id"
VirtualSandboxID = "virtual-sandbox-id"
// networking and IO
File = "file"
Path = "path"
Bytes = "bytes"
Pipe = "pipe"
// SCSI Constants
Controller = "controller"
LUN = "lun"
DiskType = "disk-type"
Partition = "partition"
// Common Misc
Attempt = "attemptNo"
JSON = "json"
// Time
StartTime = "startTime"
EndTime = "endTime"
Duration = "duration"
Timeout = "timeout"
// Keys/values
Field = "field"
Key = "key"
OCIAnnotation = "oci-annotation"
Value = "value"
Options = "options"
// Golang type's
ExpectedType = "expected-type"
Bool = "bool"
Int32 = "int32"
Uint32 = "uint32"
Uint64 = "uint64"
// task / process lifecycle
Bundle = "bundle"
Terminal = "terminal"
Stdin = "stdin"
Stdout = "stdout"
Stderr = "stderr"
Checkpoint = "checkpoint"
ParentCheckpoint = "parent-checkpoint"
Status = "status"
ExitStatus = "exit-status"
ExitedAt = "exited-at"
Signal = "signal"
All = "all"
Width = "width"
Height = "height"
Version = "version"
ShimPid = "shim-pid"
TaskPid = "task-pid"
// vpci device
VMBusGUID = "vmBusGUID"
DeviceID = "deviceInstanceID"
VFIndex = "virtualFunctionIndex"
// sandbox
NetNsPath = "net-ns-path"
Verbose = "verbose"
// shimdiag
Args = "args"
Workdir = "workdir"
HostPath = "host-path"
UVMPath = "uvm-path"
ReadOnly = "readonly"
Execs = "execs"
// runhcs
VMShimOperation = "vmshim-op"
// migration
SessionID = "session-id"
Action = "action"
// logging and tracing
TraceID = "traceID"
SpanID = "spanID"
ParentSpanID = "parentSpanID"
)