Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusDie = "die" StatusStart = "start" DateTimeFormat = "2006-01-02 15:04:05.999999" DOCKERIZED = "AGENT_IN_DOCKER" LocalIP = "127.0.0.1" // JournalIdentifier is the one term the journal reader matches, so every eru workload logs under it. JournalIdentifier = "eru" // These name the journal fields every eru log writer sets and the journal reader routes on. FieldIdentifier = "SYSLOG_IDENTIFIER" FieldID = "ERU_ID" FieldName = "ERU_NAME" FieldStream = "ERU_STREAM" // StreamConsole marks a line the agent read off a vm console and already forwarded. StreamConsole = "console" StreamStdout = "stdout" StreamStderr = "stderr" // NetworkLabelPrefix is where the oci hook writes a cni address and the containerd source reads it. NetworkLabelPrefix = "eru.network." ContainerdSocket = "/run/containerd/containerd.sock" ContainerdNamespace = "eru" CocoonSocket = "/run/cocoond.sock" GRPCStore = "grpc" MocksStore = "mocks" )
Variables ¶
View Source
var ( ErrConnecting = errors.New("connecting") ErrInvalidScheme = errors.New("invalid scheme") ErrNoRuntime = errors.New("no runtime configured for this node") ErrInvalidStoreType = errors.New("unknown store type") ErrWorkloadUnhealthy = errors.New("not healthy") ErrSyscallFailed = errors.New("not a syscall.Stat_t") ErrDevNotFound = errors.New("device not found") ErrNoCgroupV2 = errors.New("no unified cgroup v2 hierarchy") ErrJournalDisabled = errors.New("journal disabled") ErrInvalidContainer = errors.New("invalid container") ErrGetLockFailed = errors.New("get lock failed") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.