ps

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainerLists

func GetContainerLists(runtime *libpod.Runtime, options entities.ContainerListOptions) ([]entities.ListContainer, error)

func GetExternalContainerLists

func GetExternalContainerLists(runtime *libpod.Runtime) ([]entities.ListContainer, error)

GetExternalContainerLists returns list of external containers for e.g. created by buildah

func ListContainerBatch

ListContainerBatch is used in ps to reduce performance hits by "batching" locks.

func ListStorageContainer

func ListStorageContainer(rt *libpod.Runtime, ctr storage.Container) (entities.ListContainer, error)

Types

type SortContainers

type SortContainers []*libpod.Container

SortContainers helps us set-up ability to sort by createTime

func (SortContainers) Len

func (a SortContainers) Len() int

func (SortContainers) Swap

func (a SortContainers) Swap(i, j int)

type SortCreateTime

type SortCreateTime struct{ SortContainers }

func (SortCreateTime) Less

func (a SortCreateTime) Less(i, j int) bool

type SortPSContainers

type SortPSContainers []entities.ListContainer

SortPSContainers helps us set-up ability to sort by createTime

func (SortPSContainers) Len

func (a SortPSContainers) Len() int

func (SortPSContainers) Swap

func (a SortPSContainers) Swap(i, j int)

type SortPSCreateTime

type SortPSCreateTime struct{ SortPSContainers }

func (SortPSCreateTime) Less

func (a SortPSCreateTime) Less(i, j int) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL