package
1.8.0-alpha.2
Repository: https://github.com/lxpollitt/kubernetes.git
Documentation: pkg.go.dev

# Functions

Creates a name which can be reversed to identify both full pod name and container name.
ConnectToDockerOrDie creates docker client connecting to docker daemon.
GetFakeContainerID generates a fake container id from container name with a hash.
GetKubeletDockerContainers lists all container or just the running ones.
IsContainerNotFoundError checks whether the error is container not found error.
IsImageNotFoundError checks whether the error is image not found error.
NewCalledDetail create a new call detail item.
No description provided by the author
Creates an instrumented Interface from an existing Interface.
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 Interface from string to time.Time.

# Constants

https://docs.docker.com/engine/reference/api/docker_remote_api/ docker version should be at least 1.10.x.
No description provided by the author
No description provided by the author
Status of a container returned by ListContainers.

# Structs

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 meant to be a simple wrapper around FakeDockerClient.
ImageNotFoundError is the error returned by InspectImage when image not found.
KubeletContainerName encapsulates a pod name and a Kubernetes container name.
StreamOptions are the options used to configure the stream redirection.

# Interfaces

Interface is an abstract interface for testability.