package
0.13.2
Repository: https://github.com/amckinley/kubernetes.git
Documentation: pkg.go.dev

# Packages

Kubelet interactions with cAdvisor.
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

Build the pod full name from pod name and namespace.
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.
New creates a new Kubelet for use in main.
NewServer initializes and configures a kubelet.Server object to handle HTTP requests.
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
These constants identify the sources of pods Updates from a file.
Updates from querying a web page.
No description provided by the author
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

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.
No description provided by the author

# 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