# Functions
No description provided by the author
Build the pod full name from pod name and namespace.
EnvVarsToMap constructs a map of environment name to value from a slice of env vars.
No description provided by the author
GenerateContainerRef returns an *api.ObjectReference which references the given container within the given pod.
GetPodFullName returns a name that uniquely identifies a pod.
HashContainer returns the hash of the container.
New ContainerGC instance with the specified policy.
No description provided by the author
NewImagePuller takes an event recorder and container runtime to create a image puller that wraps the container runtime's PullImage interface.
NewRefManager creates and returns a container reference manager with empty contents.
NewRuntimeCache creates a container runtime cache.
NewSerializedImagePuller takes an event recorder and container runtime to create a image puller that wraps the container runtime's PullImage interface.
Convenience method for creating a ContainerID from an ID string.
Parse the pod full name.
ShouldContainerBeRestarted checks whether a container needs to be restarted.
No description provided by the author
# Variables
Container Terminated and Kubelet is backing off the restart.
Unable to inspect image.
Required Image is absent on host and PullPolicy is NeverPullImage.
General image pull error.
Container image pull failed, kubelet is backing off image pull.
No description provided by the author
Get http error when pulling image from registry.
# Structs
Container provides the runtime information for a container, such as ID, hash, status of the container.
Specified a policy for garbage collecting containers.
ContainerID is a type that identifies a container.
No description provided by the author
FakeOS mocks out certain OS calls to avoid perturbing the filesystem on the test machine.
FakeRuntime is a fake container runtime for testing.
No description provided by the author
No description provided by the author
Basic information about a container image.
ImageSpec is an internal representation of an image.
No description provided by the author
Pod is a group of containers, with the status of the pod.
No description provided by the author
RealOS is used to dispatch the real system level operaitons.
RefManager manages the references for the containers.
RunContainerOptions specify the options which are necessary for running containers.
VolumeInfo contains information about the volume.
# Interfaces
No description provided by the author
CommandRunner encapsulates the command runner interfaces for testability.
Manages garbage collection of dead containers.
HandlerRunner runs a lifecycle handler for a container.
ImagePuller wraps Runtime.PullImage() to pull a container image.
OSInterface collects system level operations that need to be mocked out during tests.
RunContainerOptionsGenerator generates the options that necessary for container runtime to run a container.
Runtime interface defines the interfaces that should be implemented by a container runtime.
No description provided by the author
No description provided by the author