# Packages
No description provided by the author
# Functions
No description provided by the author
Build the pod full name from pod name and namespace.
TODO(random-liu): Convert PodStatus to running Pod, should be deprecated soon.
EnvVarsToMap constructs a map of environment name to value from a slice of env vars.
No description provided by the author
Create an event recorder to record object's event except implicitly required container's, like infra container.
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.
Pod must not be nil.
NewCache creates a pod cache.
New ContainerGC instance with the specified policy.
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.
NewSyncResult generates new SyncResult with specific Action and Target.
No description provided by the author
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
# 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
This unknown encompasses all the states that we currently don't care.
Probe event reason list.
Container event reason list.
No description provided by the author
No description provided by the author
Lifecycle hooks.
No description provided by the author
Pod worker event reason list.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config event reason list.
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
Image manager event reason list.
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
kubelet event reason list.
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
Image event reason list.
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
ErrContainerNotFound returned when a container in the given pod with the given container name was not found, amongst those managed by the kubelet.
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
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
Get http error when pulling image from registry.
# Structs
Container provides the runtime information for a container, such as ID, hash, state of the container.
Specified a policy for garbage collecting containers.
ContainerID is a type that identifies a container.
ContainerStatus represents the status of a container.
No description provided by the author
Basic information about a container image.
ImageSpec is an internal representation of an image.
ImageStats contains statistics about all the images currently available.
No description provided by the author
Pod is a group of containers.
PodPair contains both runtime#Pod and api#Pod.
PodStatus represents the status of the pod and its containers.
PodSyncResult is the summary result of SyncPod() and KillPod().
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.
SyncResult is the result of sync action.
TestRunTimeCache embeds runtimeCache with some additional methods for testing.
VolumeInfo contains information about the volume.
# Interfaces
Cache stores the PodStatus for the pods.
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.
Runtime interface defines the interfaces that should be implemented by a container runtime.
No description provided by the author
RuntimeHelper wraps kubelet to make container runtime able to get necessary informations like the RunContainerOptions, DNS settings.
No description provided by the author
# Type aliases
No description provided by the author
DockerID is an ID of docker container.
Option is a functional option type for Runtime, useful for completely optional settings.
No description provided by the author
Sort the container statuses by creation time.
SyncAction indicates different kind of actions in SyncPod() and KillPod().
No description provided by the author