infra

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 14 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 GetRuntimeDisableFDs

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

GetRuntimeDisableFDs gets a libpod runtime that will disable sd notify

func GetRuntimeMigrate

func GetRuntimeMigrate(ctx context.Context, fs *flag.FlagSet, cfg entities.PodmanConfig, newRuntime string) (*libpod.Runtime, error)

GetRuntimeMigrate gets a libpod runtime that will perform a migration of existing containers

func GetRuntimeNoStore

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

GetRuntimeNoStore generates a new libpod runtime configured by command line options

func GetRuntimeRenumber

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

GetRuntimeRenumber gets a libpod runtime that will perform a lock renumber

func NewContainerEngine

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

func NewImageEngine

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

NewImageEngine factory provides a libpod runtime for image-related operations

func ParseIDMapping

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

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

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