package
0.2.9-rc1
Repository: https://github.com/ernoaapa/eliot.git
Documentation: pkg.go.dev

# Functions

ErrWithMessagef updates error message with formated message I.e.
GetLifecycleExtension returns ContainerLifecycle from container extensions or nil if not defined.
GetPipeExtension returns PipeSet from container extensions or nil if not defined.
IncrementRestart is containerd.UpdateContainerOpts implementation what increments restart counter.
IsNotFound returns true if the error is due to a missing resource.
WithLifecycleExtension is containerd.NewContainerOpts implementation what add lifecycle extension data to the container object.
WithPipeExtension appends pipe extension data to the container object.

# Constants

Always is default restart policy what means that every time when container stops, it should be restarted.
OnFailure means that only if process fails (non zero exit code) the container should be restarted.

# Variables

Definitions of common error types from extensions.

# Structs

ContainerLifecycle contains all lifecycle related information like restart counter and restart policy.
PipeFromStdout defines container stdout as source for the piping.
PipeSet allows defining pipe from some source(s) to another container.
PipeToStdin defines container stdin as target for the piping.

# Type aliases

RestartPolicy describes policy for restarting th econtainer.