Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindK8SPauseContainerID ¶
func FindK8SPauseContainerID(containers []types.Container, PodName, Namespace, PodUUID string) (string, error)
FindK8SPauseContainerID : Use pod-name, k8s-namespace, pod-uuid to match container-id in containers
func GetSandboxKey ¶
func GetSandboxKey(containerInfo types.ContainerJSON) string
GetSandboxKey : docker inspect <Container ID> | grep -E 'SandboxKey|Id'
Types ¶
type Client ¶
Client : include docker client and context
func (*Client) InspectContainer ¶
func (c *Client) InspectContainer(containerID string) (types.ContainerJSON, error)
InspectContainer : docker inspect <Container ID>
Click to show internal directories.
Click to hide internal directories.