Files
podman/libpod/container_internal_unsupported.go
Giuseppe Scrivano 3a0a727110 userns: support --userns=auto
automatically pick an empty range and create an user namespace for the
container.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-06 16:32:36 +02:00

52 lines
1.1 KiB
Go

// +build !linux
package libpod
import (
"context"
"github.com/containers/libpod/libpod/define"
"github.com/containers/libpod/pkg/lookup"
spec "github.com/opencontainers/runtime-spec/specs-go"
)
func (c *Container) mountSHM(shmOptions string) error {
return define.ErrNotImplemented
}
func (c *Container) unmountSHM(mount string) error {
return define.ErrNotImplemented
}
func (c *Container) prepare() (err error) {
return define.ErrNotImplemented
}
func (c *Container) cleanupNetwork() error {
return define.ErrNotImplemented
}
func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
return nil, define.ErrNotImplemented
}
func (c *Container) checkpoint(ctx context.Context, options ContainerCheckpointOptions) error {
return define.ErrNotImplemented
}
func (c *Container) restore(ctx context.Context, options ContainerCheckpointOptions) error {
return define.ErrNotImplemented
}
func (c *Container) copyOwnerAndPerms(source, dest string) error {
return nil
}
func (c *Container) getOCICgroupPath() (string, error) {
return "", define.ErrNotImplemented
}
func (c *Container) getUserOverrides() *lookup.Overrides {
return nil
}