Documentation ¶
Index ¶
- func GetRuntime(ctx context.Context, flags *flag.FlagSet, cfg *entities.PodmanConfig) (*libpod.Runtime, error)
- func GetRuntimeDisableFDs(ctx context.Context, fs *flag.FlagSet, cfg *entities.PodmanConfig) (*libpod.Runtime, error)
- func GetRuntimeMigrate(ctx context.Context, fs *flag.FlagSet, cfg *entities.PodmanConfig, ...) (*libpod.Runtime, error)
- func GetRuntimeNoStore(ctx context.Context, fs *flag.FlagSet, cfg *entities.PodmanConfig) (*libpod.Runtime, error)
- func GetRuntimeRenumber(ctx context.Context, fs *flag.FlagSet, cfg *entities.PodmanConfig) (*libpod.Runtime, error)
- func NewContainerEngine(facts *entities.PodmanConfig) (entities.ContainerEngine, error)
- func NewImageEngine(facts *entities.PodmanConfig) (entities.ImageEngine, error)
- func NewLibpodImageRuntime(flags *flag.FlagSet, opts *entities.PodmanConfig) (entities.ImageEngine, error)
- func NewLibpodRuntime(flags *flag.FlagSet, opts *entities.PodmanConfig) (entities.ContainerEngine, error)
- func NewSystemEngine(setup entities.EngineSetup, facts *entities.PodmanConfig) (entities.SystemEngine, error)
- func ParseIDMapping(mode namespaces.UsernsMode, uidMapSlice, gidMapSlice []string, ...) (*types.IDMappingOptions, error)
- func StartWatcher(rt *libpod.Runtime)
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)
NewContainerEngine factory provides a libpod runtime for container-related operations
func NewImageEngine ¶
func NewImageEngine(facts *entities.PodmanConfig) (entities.ImageEngine, error)
NewContainerEngine 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 ¶
StartWatcher starts a new SIGHUP go routine for the current config.
Types ¶
This section is empty.