package
0.2.9
Repository: https://github.com/crisesw/containerd.git
Documentation: pkg.go.dev

# Functions

CollectMachineInformation returns information regarding the current machine (e.g.
Metrics return the list of all available metrics.
New returns an initialized Process supervisor.
NewMonitor starts a new process monitor and returns it.
NewWorker return a new initialized worker.

# Constants

State constants used in Event types.
State constants used in Event types.
State constants used in Event types.
State constants used in Event types.
State constants used in Event types.
State constants used in Event types.
State constants used in Event types.

# Variables

ContainerCreateTimer holds the metrics timer associated with container creation.
ContainerDeleteTimer holds the metrics timer associated with container deletion.
ContainersCounter keeps track of the number of active containers.
ContainerStartTimer holds the metrics timer associated with container start duration.
ContainerStatsTimer holds the metrics timer associated with container stats generation.
EpollFdCounter keeps trac of how many process are being monitored.
ErrContainerNotFound is returned when the container ID passed for a given operation is invalid.
ErrProcessNotFound is returned when the process ID passed for a given operation is invalid.
ErrUnknownContainerStatus is returned when the container status cannot be determined.
ErrUnknownTask is returned when an unknown Task type is scheduled (should never happen).
EventSubscriberCounter keeps track of the number of active event subscribers.
ExecProcessTimer holds the metrics timer associated with container exec.
ExitProcessTimer holds the metrics timer associated with reporting container exit status.
TasksCounter keeps track of the number of active supervisor tasks.

# Structs

AddProcessTask holds everything necessary to add a process to a container.
CreateCheckpointTask holds needed parameters to create a new checkpoint.
DeleteCheckpointTask holds needed parameters to delete a checkpoint.
DeleteTask holds needed parameters to remove a container.
Event represents a container event.
ExecExitTask holds needed parameters to execute the exec exit task.
ExitTask holds needed parameters to execute the exit task.
GetContainersTask holds needed parameters to retrieve a list of containers.
Machine holds the current machine cpu count and ram size.
Monitor represents a runtime.Process monitor.
OOMTask holds needed parameters to report a container OOM.
SignalTask holds needed parameters to signal a container.
StartResponse is the response containing a started container.
StartTask holds needed parameters to create a new container.
StatsTask holds needed parameters to retrieve a container statistics.
Supervisor represents a container supervisor.
UpdateProcessTask holds needed parameters to update a container process terminal size or close its stdin.
UpdateTask holds needed parameters to update a container resource constraints.

# Interfaces

Task executes an action returning an error chan with either nil or the error from executing the task.
Worker interface.