Documentation ¶
Index ¶
- func GetContainerLists(runtime *libpod.Runtime, options entities.ContainerListOptions) ([]entities.ListContainer, error)
- func GetExternalContainerLists(runtime *libpod.Runtime) ([]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) (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 GetExternalContainerLists ¶
func GetExternalContainerLists(runtime *libpod.Runtime) ([]entities.ListContainer, error)
GetExternalContainerLists returns list of external containers for e.g created by buildah
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 ¶
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.