Change base package to containerd from containerkit

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-11-29 16:08:30 -08:00
parent 51510a8806
commit 503b068f59
5 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
package containerkit package containerd
import ( import (
"encoding/json" "encoding/json"

View file

@ -1,8 +1,8 @@
package containerkit package containerd
import "errors" import "errors"
var ErrProcessSet = errors.New("containerkit: container process is already set") var ErrProcessSet = errors.New("container process is already set")
type Runtime interface { type Runtime interface {
Create(*Container) (ProcessDelegate, error) Create(*Container) (ProcessDelegate, error)

View file

@ -1,4 +1,4 @@
package containerkit package containerd
import ( import (
"os" "os"

View file

@ -1,4 +1,4 @@
package containerkit package containerd
import ( import (
"errors" "errors"
@ -8,7 +8,7 @@ import (
specs "github.com/opencontainers/runtime-spec/specs-go" specs "github.com/opencontainers/runtime-spec/specs-go"
) )
var ErrNotExecProcess = errors.New("containerkit: process not an exec process") var ErrNotExecProcess = errors.New("process not an exec process")
type ProcessDelegate interface { type ProcessDelegate interface {
Pid() int Pid() int

View file

@ -1,9 +1,9 @@
package containerkit package containerd
import "fmt" import "fmt"
// VersionMajor holds the release major number // VersionMajor holds the release major number
const VersionMajor = 2 const VersionMajor = 1
// VersionMinor holds the release minor number // VersionMinor holds the release minor number
const VersionMinor = 0 const VersionMinor = 0