Change base package to containerd from containerkit
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
51510a8806
commit
503b068f59
5 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
package containerkit
|
||||
package containerd
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package containerkit
|
||||
package containerd
|
||||
|
||||
import "errors"
|
||||
|
||||
var ErrProcessSet = errors.New("containerkit: container process is already set")
|
||||
var ErrProcessSet = errors.New("container process is already set")
|
||||
|
||||
type Runtime interface {
|
||||
Create(*Container) (ProcessDelegate, error)
|
||||
|
|
2
mount.go
2
mount.go
|
@ -1,4 +1,4 @@
|
|||
package containerkit
|
||||
package containerd
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package containerkit
|
||||
package containerd
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
@ -8,7 +8,7 @@ import (
|
|||
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 {
|
||||
Pid() int
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package containerkit
|
||||
package containerd
|
||||
|
||||
import "fmt"
|
||||
|
||||
// VersionMajor holds the release major number
|
||||
const VersionMajor = 2
|
||||
const VersionMajor = 1
|
||||
|
||||
// VersionMinor holds the release minor number
|
||||
const VersionMinor = 0
|
||||
|
|
Loading…
Reference in a new issue