Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCtrInspectInfo ¶ added in v0.6.1
func GetCtrInspectInfo(ctr *libpod.Container, ctrInspectData *inspect.ContainerInspectData) (*inspect.ContainerData, error)
GetCtrInspectInfo takes container inspect data and collects all its info into a ContainerData structure for inspection related methods
Types ¶
type BatchContainerStruct ¶
type BatchContainerStruct struct { ConConfig *libpod.ContainerConfig ConState libpod.ContainerStatus ExitCode int32 Pid int RootFsSize, RwSize int64 StartedTime time.Time }
BatchContainerStruct is the return obkect from BatchContainer and contains container related information
func BatchContainerOp ¶
func BatchContainerOp(ctr *libpod.Container, opts PsOptions) (BatchContainerStruct, error)
BatchContainer is used in ps to reduce performance hits by "batching" locks.
type Namespace ¶
type Namespace struct { PID string `json:"pid,omitempty"` Cgroup string `json:"cgroup,omitempty"` IPC string `json:"ipc,omitempty"` MNT string `json:"mnt,omitempty"` NET string `json:"net,omitempty"` PIDNS string `json:"pidns,omitempty"` User string `json:"user,omitempty"` UTS string `json:"uts,omitempty"` }
Namespace describes output for ps namespace
func GetNamespaces ¶
GetNamespaces returns a populated namespace struct
Click to show internal directories.
Click to hide internal directories.