Versions in this module Expand all Collapse all v2 v2.0.6 Sep 1, 2020 v2.0.6-rc1 Aug 28, 2020 GO-2023-1544 GO-2023-1544: Podman has Files or Directories Accessible to External Parties in github.com/containers/libpod v2.0.5 Aug 24, 2020 GO-2023-1544 GO-2023-1544: Podman has Files or Directories Accessible to External Parties in github.com/containers/libpod v2.0.4 Jul 31, 2020 GO-2023-1544 +1 more GO-2023-1544: Podman has Files or Directories Accessible to External Parties in github.com/containers/libpod GO-2024-2766: Information disclosure in podman in github.com/containers/libpod v2.0.3 Jul 23, 2020 GO-2023-1544 +1 more GO-2023-1544: Podman has Files or Directories Accessible to External Parties in github.com/containers/libpod GO-2024-2766: Information disclosure in podman in github.com/containers/libpod v2.0.2 Jul 7, 2020 GO-2023-1544 +1 more GO-2023-1544: Podman has Files or Directories Accessible to External Parties in github.com/containers/libpod GO-2024-2766: Information disclosure in podman in github.com/containers/libpod Changes in this version + var DefaultKernelNamespaces = "cgroup,ipc,net,uts" + func CreateContainer(ctx context.Context, c *GenericCLIResults, runtime *libpod.Runtime) (*libpod.Container, *cc.CreateConfig, error) + func CreateContainerFromCreateConfig(ctx context.Context, r *libpod.Runtime, createConfig *cc.CreateConfig, ...) (*libpod.Container, error) + func GenerateCommand(command, imageName, name, globalOpts string) ([]string, error) + func GenerateContainerFilterFuncs(filter, filterValue string, r *libpod.Runtime) (func(container *libpod.Container) bool, error) + func GenerateKube(name string, service bool, r *libpod.Runtime) (*v1.Pod, *v1.Service, error) + func GenerateRunEnvironment(name, imageName string, opts map[string]string) []string + func GenerateRunlabelCommand(runLabel, imageName, name string, opts map[string]string, extraArgs []string, ...) ([]string, []string, error) + func GetNamespaceInfo(path string) (string, error) + func GetNamespaceOptions(ns []string) ([]libpod.PodCreateOption, error) + func GetRunlabel(label string, runlabelImage string, ctx context.Context, ...) (string, string, error) + func GetSystemContext(authfile string) (*types.SystemContext, error) + func Parallelize(job string) int + func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod.Runtime, ...) (*cc.CreateConfig, error) + type BatchContainerStruct struct + ConConfig *libpod.ContainerConfig + ConState define.ContainerStatus + ExitCode int32 + Exited bool + ExitedTime time.Time + Pid int + Size *ContainerSize + StartedTime time.Time + func BatchContainerOp(ctr *libpod.Container, opts PsOptions) (BatchContainerStruct, error) + type CRBool struct + Val bool + func (c CRBool) IsSet() bool + func (c CRBool) Name() string + func (c CRBool) Value() interface{} + type CRFloat64 struct + Val float64 + func (c CRFloat64) IsSet() bool + func (c CRFloat64) Name() string + func (c CRFloat64) Value() interface{} + type CRInt struct + Val int + func (c CRInt) IsSet() bool + func (c CRInt) Name() string + func (c CRInt) Value() interface{} + type CRInt64 struct + Val int64 + func (c CRInt64) IsSet() bool + func (c CRInt64) Name() string + func (c CRInt64) Value() interface{} + type CRString struct + Val string + func (c CRString) IsSet() bool + func (c CRString) Name() string + func (c CRString) Value() interface{} + type CRStringArray struct + Val []string + func (c CRStringArray) IsSet() bool + func (c CRStringArray) Name() string + func (c CRStringArray) Value() interface{} + type CRStringSlice struct + Val []string + func (c CRStringSlice) IsSet() bool + func (c CRStringSlice) Name() string + func (c CRStringSlice) Value() interface{} + type CRUint struct + Val uint + func (c CRUint) IsSet() bool + func (c CRUint) Name() string + func (c CRUint) Value() interface{} + type CRUint64 struct + Val uint64 + func (c CRUint64) IsSet() bool + func (c CRUint64) Name() string + func (c CRUint64) Value() interface{} + type ContainerSize struct + RootFsSize int64 + RwSize int64 + type GenericCLIResult interface + IsSet func() bool + Name func() string + Value func() interface{} + type GenericCLIResults struct + InputArgs []string + func (f GenericCLIResults) Bool(flag string) bool + func (f GenericCLIResults) Changed(flag string) bool + func (f GenericCLIResults) Float64(flag string) float64 + func (f GenericCLIResults) Int(flag string) int + func (f GenericCLIResults) Int64(flag string) int64 + func (f GenericCLIResults) IsSet(flag string) bool + func (f GenericCLIResults) String(flag string) string + func (f GenericCLIResults) StringArray(flag string) []string + func (f GenericCLIResults) StringSlice(flag string) []string + func (f GenericCLIResults) Uint(flag string) uint + func (f GenericCLIResults) Uint64(flag string) uint64 + func (f GenericCLIResults) Value(flag string) interface{} + type Namespace struct + Cgroup string + IPC string + MNT string + NET string + PID string + PIDNS string + UTS string + User string + func GetNamespaces(pid int) *Namespace + type PsContainerOutput struct + Cgroup string + Command string + Created string + CreatedAt time.Time + ExitedAt time.Time + ID string + IPC string + Image string + ImageID string + IsInfra bool + Labels map[string]string + MNT string + Mounts string + NET string + Names string + PID string + PIDNS string + Pid int + Pod string + PodName string + Ports string + Size *ContainerSize + StartedAt time.Time + State define.ContainerStatus + Status string + UTS string + User string + func GetPsContainerOutput(r *libpod.Runtime, opts PsOptions, filters []string, maxWorkers int) ([]PsContainerOutput, error) + func NewBatchContainer(r *libpod.Runtime, ctr *libpod.Container, opts PsOptions) (PsContainerOutput, error) + func PBatch(r *libpod.Runtime, containers []*libpod.Container, workers int, opts PsOptions) []PsContainerOutput + type PsOptions struct + All bool + Format string + Last int + Latest bool + Namespace bool + NoTrunc bool + Pod bool + Quiet bool + Size bool + Sort string + Sync bool Other modules containing this package github.com/containers/libpod