rootless

package
v0.0.0-...-04f2983 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2021 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// IsRootless is declared this way for mocking in unit tests
	IsRootless = isRootlessFunc
)

Functions

func GetRootlessDir

func GetRootlessDir() string

GetRootlessDir returns the path to the location for rootless container and sandbox storage

func NewNS

func NewNS() (ns.NetNS, error)

Creates a new persistent network namespace and returns an object representing that namespace, without switching to it

func SetLogger

func SetLogger(ctx context.Context, logger *logrus.Entry)

SetLogger sets up a logger for the rootless pkg

func SetRootless

func SetRootless(rootless bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL