ps

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 16 Imported by: 2

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

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