package
1.2.0-alpha.0
Repository: https://github.com/guildencrantz/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
GetKubeletDockerContainers lists all container or just the running ones.
No description provided by the author
No description provided by the author
No description provided by the author
Creates an instrumented DockerInterface from an existing DockerInterface.
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.
# Constants
No description provided by the author
No description provided by the author
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.
KubeletContainerName encapsulates a pod name and a Kubernetes container name.
NativeExecHandler executes commands in Docker containers using Docker's exec API.
NsenterExecHandler executes commands in Docker containers using nsenter.
No description provided by the author
# Interfaces
DockerInterface is an abstract interface for testability.
DockerPuller is an abstract interface for testability.
ExecHandler knows how to execute a command in a running Docker container.
# Type aliases
DockerContainers is a map of containers.