# Packages
Reads the pod configuration from an HTTP GET response.
No description provided by the author
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
Package leaky holds bits of kubelet that should be internal but have leaked out through bad abstractions.
No description provided by the author
Package volume includes internal representations of external volume types as well as utility methods required to mount/unmount volumes to kubelets.
# Functions
TODO: move this into a pkg/tools/etcd_tools.
GetPodFullName returns a name that uniquely identifies a pod across all config sources.
ListenAndServeKubeletServer initializes a server to respond to HTTP network requests on the Kubelet.
TODO: move this into the kubelet itself.
New creates a new Kubelet for use in main.
NewServer initializes and configures a kubelet.Server object to handle HTTP requests.
ParsePodFullName unpacks a pod full name and returns the pod name, namespace, and annotations.
ResolvePort attempts to turn a IntOrString port reference into a concrete port number.
TODO: move this into pkg/capabilities.
No description provided by the author
TODO: Split this up?.
# Constants
Pods with the given ids are new to this source.
Updates from all sources.
Updates from Kubernetes API Server.
No description provided by the author
Updates from etcd.
These constants identify the sources of pods Updates from a file.
Updates from querying a web page.
No description provided by the author
Pods with the given ids have been removed from this source.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Updates received to the kubelet server.
This is the current pod configuration.
Pods with the given ids have been updated in this source.
# Variables
ErrCadvisorApiFailure returned when cadvisor couldn't retrieve stats for the given container, either because it isn't running or it was confused by the request.
ErrContainerNotFound returned when a container in the given pod with the given container name was not found, amongst those managed by the kubelet.
ErrNoKubeletContainers returned when there are not containers managed by the kubelet (ie: either no containers on the node, or none that the kubelet cares about).
# Structs
FlushWriter provides wrapper for responseWriter with HTTP streaming capabilities.
Kubelet is the main kubelet implementation.
PodUpdate defines an operation sent on the channel.
No description provided by the author
Server is a http.Handler which exposes kubelet functionality over HTTP.
# Interfaces
HostInterface contains all the kubelet methods required by the server.
SyncHandler is an interface implemented by Kubelet, for testability.
# Type aliases
No description provided by the author
PodOperation defines what changes will be made on a pod configuration.
No description provided by the author