Signed-off-by: Michael Crosby <crosbymichael@gmail.com> implement pause and resume Add godeps Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Add readme Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
20 lines
988 B
Go
20 lines
988 B
Go
package containerd
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// External errors
|
|
ErrEventChanNil = errors.New("containerd: event channel is nil")
|
|
ErrBundleNotFound = errors.New("containerd: bundle not found")
|
|
ErrContainerNotFound = errors.New("containerd: container not found")
|
|
ErrContainerExists = errors.New("containerd: container already exists")
|
|
ErrProcessNotFound = errors.New("containerd: processs not found for container")
|
|
ErrUnknownContainerStatus = errors.New("containerd: unknown container status ")
|
|
|
|
// Internal errors
|
|
errShutdown = errors.New("containerd: supervisor is shutdown")
|
|
errRootNotAbs = errors.New("containerd: rootfs path is not an absolute path")
|
|
errNoContainerForPid = errors.New("containerd: pid not registered for any container")
|
|
errInvalidContainerType = errors.New("containerd: invalid container type for runtime")
|
|
errNotChildProcess = errors.New("containerd: not a child process for container")
|
|
)
|