summaryrefslogtreecommitdiff
path: root/libpod/container_internal_unsupported.go
blob: 975d6d7148146d26ce99051153c051988b3e3ea0 (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
// +build !linux

package libpod

import (
	"context"

	spec "github.com/opencontainers/runtime-spec/specs-go"
)

func (c *Container) cleanupCgroups() error {
	return ErrOSNotSupported
}

func (c *Container) mountSHM(shmOptions string) error {
	return ErrNotImplemented
}

func (c *Container) unmountSHM(mount string) error {
	return ErrNotImplemented
}

func (c *Container) prepare() (err error) {
	return ErrNotImplemented
}

func (c *Container) cleanupNetwork() error {
	return ErrNotImplemented
}

func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
	return nil, ErrNotImplemented
}