package
1.6.0-alpha.0
Repository: https://github.com/mikedanese/kubernetes.git
Documentation: pkg.go.dev
# Functions
Temporarily export this function to share with dockershim.
Creates a name which can be reversed to identify both full pod name and container name.
ConnectToDockerOrDie creates docker client connecting to docker daemon.
Temporarily export this function to share with dockershim.
Temporarily export this function to share with dockershim.
GetKubeletDockerContainers lists all container or just the running ones.
Temporarily export this function to share with dockershim.
IsImageNotFoundError checks whether the error is image not found error.
No description provided by the author
NewCalledDetail create a new call detail item.
No description provided by the author
No description provided by the author
No description provided by the author
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.
Unpacks a container name, returning the pod full name and container name we would have used to construct the docker name.
ParseDockerTimestamp parses the timestamp returned by DockerInterface from string to time.Time.
No description provided by the author
Temporarily export this function to share with dockershim.
SetContainerNamePrefix allows the container prefix name for this process to be changed.
# 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
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
Because the new data type returned by engine-api is too complex to manually initialize, we need a fake container which is easier to initialize.
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.
StreamOptions are the options used to configure the stream redirection.
# 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.