ps

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 14 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 ListContainerBatch

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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