infra

package
v5.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRuntime

func GetRuntime(ctx context.Context, flags *flag.FlagSet, cfg *entities.PodmanConfig) (*libpod.Runtime, error)

GetRuntime generates a new libpod runtime configured by command line options

func NewContainerEngine

func NewContainerEngine(facts *entities.PodmanConfig) (entities.ContainerEngine, error)

NewContainerEngine factory provides a libpod runtime for container-related operations

func NewImageEngine

func NewImageEngine(facts *entities.PodmanConfig) (entities.ImageEngine, error)

NewImageEngine factory provides a libpod runtime for image-related operations

func NewLibpodImageRuntime

func NewLibpodImageRuntime(flags *flag.FlagSet, opts *entities.PodmanConfig) (entities.ImageEngine, error)

func NewLibpodRuntime

func NewLibpodRuntime(flags *flag.FlagSet, opts *entities.PodmanConfig) (entities.ContainerEngine, error)

func ParseIDMapping

func ParseIDMapping(mode namespaces.UsernsMode, uidMapSlice, gidMapSlice []string, subUIDMap, subGIDMap string) (*types.IDMappingOptions, error)

ParseIDMapping takes idmappings and subuid and subgid maps and returns a storage mapping

func StartWatcher

func StartWatcher(rt *libpod.Runtime)

StartWatcher starts a new SIGHUP go routine for the current config.

Types

This section is empty.

Directories

Path Synopsis
abi

Jump to

Keyboard shortcuts

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