package
0.12.1
Repository: https://github.com/projectatomic/libpod.git
Documentation: pkg.go.dev

# Functions

BatchContainer is used in ps to reduce performance hits by "batching" locks.
GenerateCommand takes a label (string) and converts it to an executable command.
GenerateRunEnvironment merges the current environment variables with optional environment variables provided by the user.
GenerateRunlabelCommand generates the command that will eventually be execucted by podman.
GetCtrInspectInfo takes container inspect data and collects all its info into a ContainerData structure for inspection related methods.
GetNamespaceOptions transforms a slice of kernel namespaces into a slice of pod create options.
GetNamespaces returns a populated namespace struct.
GetPodStatus determines the status of the pod based on the statuses of the containers in the pod.
GetRunlabel is a helper function for runlabel; it gets the image if needed and begins the contruction of the runlabel output and environment variables.
NewBatchContainer runs a batch process under one lock to get container information and only be called in PBatch.
ParallelExecuteWorkerPool takes container jobs and performs them in parallel.
Parallelize provides the maximum number of parallel workers (int) as calculated by a basic heuristic.
ParallelWorker is a "threaded" worker that takes jobs from the channel "queue".
PBatch is performs batch operations on a container in parallel.
Prune removes all unnamed and unused images from the local store.

# Structs

BatchContainerStruct is the return obkect from BatchContainer and contains container related information.
ContainerSize holds the size of the container's root filesystem and top read-write layer.
Namespace describes output for ps namespace.
ParallelWorkerInput is a struct used to pass in a slice of parallel funcs to be performed on a container ID.
PsContainerOutput is the struct being returned from a parallel Batch operation.
PsOptions describes the struct being formed for ps.