package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/fnxpt/cli.git
Documentation: pkg.go.dev
# Functions
New creates a fresh instance of libcontainerd remote.
WithDebugAddress defines at which location the debug GRPC connection should be made.
WithLogLevel defines which log level to starts containerd with.
WithMetricsAddress defines at which location the debug GRPC connection should be made.
WithOOMScore defines the oom_score_adj to set for the containerd process.
WithPlugin allow configuring a containerd plugin configuration values passed needs to be quoted if quotes are needed in the toml format.
WithRemoteAddr sets the external containerd socket to connect to.
WithRemoteAddrUser sets the uid and gid to create the RPC address with.
WithSnapshotter defines snapshotter driver should be used.
WithStartDaemon defines if libcontainerd should also run containerd daemon.
WithSubreaper sets whether containerd should register itself as a subreaper.
# Constants
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
Event constants used when reporting events.
InitProcessName is the name given to the first process of a container.
Created indicates the process has been created within containerd but the user's defined process has not started.
Paused indicates that the process is currently paused.
Pausing indicates that the process is currently switching from a running state into a paused state.
Running indicates the process is currently executing.
Stopped indicates that the process has ran and exited.
Unknown indicates that we could not determine the status from the runtime.
# Structs
Checkpoints contains the details of a checkpoint.
EventInfo contains the event info.
IOPipe contains the stdio streams.
ServerVersion contains version information as retrieved from the server.
Stats holds metrics properties as returned by containerd.
Summary is not used on linux.
# Interfaces
Backend defines callbacks that the client of the library needs to implement.
Client provides access to containerd features.
Remote on Linux defines the accesspoint to the containerd grpc API.
RemoteOption allows to configure parameters of remotes.
# Type aliases
EventType represents a possible event from libcontainerd.
Resources defines updatable container resource values.
Status represents the current status of a container.
StdioCallback is called to connect a container or process stdio.