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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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