Documentation ¶
Index ¶
- func GetRuntime(ctx context.Context, flags *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 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 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 ¶
StartWatcher starts a new SIGHUP go routine for the current config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.