aboutsummaryrefslogtreecommitdiff
path: root/libpod/oci_unsupported.go
blob: 12183faf306db455b54b992796edb0ef504d87b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// +build !linux

package libpod

import (
	"os"
	"os/exec"
)

func (r *OCIRuntime) moveConmonToCgroup(ctr *Container, cgroupParent string, cmd *exec.Cmd) error {
	return ErrOSNotSupported
}

func newPipe() (parent *os.File, child *os.File, err error) {
	return nil, nil, ErrNotImplemented
}

func (r *OCIRuntime) createContainer(ctr *Container, cgroupParent string, restoreOptions *ContainerCheckpointOptions) (err error) {
	return ErrNotImplemented
}

func (r *OCIRuntime) pathPackage() string {
	return ""
}

func (r *OCIRuntime) conmonPackage() string {
	return ""
}

func (r *OCIRuntime) createOCIContainer(ctr *Container, cgroupParent string, restoreOptions *ContainerCheckpointOptions) (err error) {
	return ErrOSNotSupported
}

func (r *OCIRuntime) execStopContainer(ctr *Container, timeout uint) error {
	return ErrOSNotSupported
}

func (r *OCIRuntime) stopContainer(ctr *Container, timeout uint) error {
	return ErrOSNotSupported
}