Initial commit

This commit is contained in:
Michael Crosby 2015-11-05 15:29:53 -08:00
commit 15a96783ca
12 changed files with 911 additions and 0 deletions

15
errors.go Normal file
View file

@ -0,0 +1,15 @@
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")
// Internal errors
errShutdown = errors.New("containerd: supervisor is shutdown")
errRootNotAbs = errors.New("containerd: rootfs path is not an absolute path")
)