Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerRuntime ¶
type DockerRuntime struct {
// contains filtered or unexported fields
}
DockerRuntime docker runtime object
func NewDockerRuntime ¶
func NewDockerRuntime(client libdocker.Interface) (*DockerRuntime, error)
NewDockerRuntime instantiate a docker runtime object
func (*DockerRuntime) GetNetNS ¶
func (dr *DockerRuntime) GetNetNS(podSandboxID string) (string, error)
GetNetNS returns the network namespace of the given containerID. The ID supplied is typically the ID of a pod sandbox. This getter doesn't try to map non-sandbox IDs to their respective sandboxes.
func (*DockerRuntime) GetSandboxID ¶
func (dr *DockerRuntime) GetSandboxID(containerID string) (string, error)
GetSandboxID returns kubernete's docker "pause" container ID
Click to show internal directories.
Click to hide internal directories.