# Functions
Creates a name which can be reversed to identify both full pod name and container name.
No description provided by the author
GetDockerPodInfo returns docker info for all containers in the pod/manifest.
GetKubeletDockerContainerLogs returns logs of specific container By default the function will return snapshot of the container log Log streaming is possible if 'follow' param is set to true Log tailing is possible when number of tailed lines are set and only if 'follow' is false TODO: Make 'RawTerminal' option flagable.
GetKubeletDockerContainers takes client and boolean whether to list all container or just the running ones.
GetRecentDockerContainersWithNameAndUUID returns a list of dead docker containers which matches the name and uid given.
No description provided by the author
No description provided by the author
NewDockerContainerCommandRunner creates a ContainerCommandRunner which uses nsinit to run a command inside a container.
NewDockerPuller creates a new instance of the default implementation of DockerPuller.
TODO(vmarmol): This should probably return an error.
RequireLatestImage returns if the user wants the latest image.
# Constants
No description provided by the author
No description provided by the author
# Variables
ErrContainerCannotRun is returned when a container is created, but cannot run properly.
ErrNoContainersInPod is returned when there are no containers for a given pod.
ErrNoPodInfraContainerInPod is returned when there is no pod infra container for a given pod.
# Structs
FakeDockerClient is a simple fake docker client, so that kubelet can be run for testing without requiring a real docker setup.
FakeDockerPuller is a stub implementation of DockerPuller.
# Interfaces
No description provided by the author
DockerInterface is an abstract interface for testability.
DockerPuller is an abstract interface for testability.
# Type aliases
DockerContainers is a map of containers.
DockerID is an ID of docker container.