infra

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 19 Imported by: 1

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 GetRuntimeReset added in v4.2.0

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

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 NewSystemEngine

func NewSystemEngine(setup entities.EngineSetup, facts *entities.PodmanConfig) (entities.SystemEngine, error)

NewSystemEngine factory provides a libpod runtime for specialized system operations

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