Documentation ¶
Index ¶
- func GetContainerLists(runtime *libpod.Runtime, options entities.ContainerListOptions) ([]entities.ListContainer, error)
- func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts entities.ContainerListOptions) (entities.ListContainer, error)
- func ListStorageContainer(rt *libpod.Runtime, ctr storage.Container, opts entities.ContainerListOptions) (entities.ListContainer, error)
- type SortContainers
- type SortCreateTime
- type SortPSContainers
- type SortPSCreateTime
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 ¶
func ListContainerBatch(rt *libpod.Runtime, ctr *libpod.Container, opts entities.ContainerListOptions) (entities.ListContainer, error)
BatchContainerOp is used in ps to reduce performance hits by "batching" locks.
func ListStorageContainer ¶
func ListStorageContainer(rt *libpod.Runtime, ctr storage.Container, opts entities.ContainerListOptions) (entities.ListContainer, error)
Types ¶
type SortContainers ¶
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
Click to show internal directories.
Click to hide internal directories.