package
0.13.2
Repository: https://github.com/amckinley/kubernetes.git
Documentation: pkg.go.dev

# 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 and infrastructure container.
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
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.
No description provided by the author
Unpacks a container name, returning the pod full name and container name we would have used to construct the docker name.
RequireLatestImage returns if the user wants the latest image.
No description provided by the author

# 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

No description provided by the author
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
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.