Documentation ¶
Index ¶
- func ContainerStatus(client internalapi.RuntimeService, id, output string, tmplStr string, ...) error
- func ListContainers(runtimeClient internalapi.RuntimeService, opts listOptions) error
- type CRITool
- func (ct *CRITool) ContainerStatus(id string) (*ContainerPodInfo, error)
- func (ct *CRITool) FilterNamespace(ns string) bool
- func (ct *CRITool) FilterNamespaceWithContainerId(id string) bool
- func (ct *CRITool) GetAllContainers() ([]*pb.Container, error)
- func (ct *CRITool) GetLogPath(id string) (string, error)
- func (ct *CRITool) GetPidsRunningOnContainers() (map[uint32]struct{}, error)
- type ContainerPodInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerStatus ¶
func ContainerStatus(client internalapi.RuntimeService, id, output string, tmplStr string, quiet bool) error
ContainerStatus sends a ContainerStatusRequest to the server, and parses the returned ContainerStatusResponse.
func ListContainers ¶
func ListContainers(runtimeClient internalapi.RuntimeService, opts listOptions) error
Types ¶
type CRITool ¶
type CRITool struct {
// contains filtered or unexported fields
}
func (*CRITool) ContainerStatus ¶
func (ct *CRITool) ContainerStatus(id string) (*ContainerPodInfo, error)
func (*CRITool) FilterNamespace ¶
func (*CRITool) FilterNamespaceWithContainerId ¶
func (*CRITool) GetLogPath ¶
get log path of container id string : containerID
func (*CRITool) GetPidsRunningOnContainers ¶
type ContainerPodInfo ¶
Click to show internal directories.
Click to hide internal directories.