package
0.21.4
Repository: https://github.com/k3s-io/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
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.
Handlers for pod lifecycle events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common types in the Kubelet.
Utility functions.

# Functions

No description provided by the author
GetPhase returns the phase of a pod given its container info.
Gets all validated sources from the specified sources.
ListenAndServeKubeletReadOnlyServer initializes a server to respond to HTTP network requests on the Kubelet.
ListenAndServeKubeletServer initializes a server to respond to HTTP network requests on the Kubelet.
New creates a new Kubelet for use in main.
No description provided by the author
NewServer initializes and configures a kubelet.Server object to handle HTTP requests.

# 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
No description provided by the author
No description provided by the author
The percent of the machine memory capacity.
These constants identify the sources of pods Updates from a file.
Updates from querying a web page.
The minimum memory limit allocated to docker container: 150Mi.
Used for ConfigMirrorAnnotationKey.
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
This is the current pod configuration.
No description provided by the author
No description provided by the author
No description provided by the author
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.

# Structs

Specified a policy for garbage collecting containers.
No description provided by the author
A policy for garbage collecting images.
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
No description provided by the author

# Interfaces

HostInterface contains all the kubelet methods required by the server.
No description provided by the author
PodWorkers is an abstract interface for testability.
SyncHandler is an interface implemented by Kubelet, for testability.
No description provided by the author

# Type aliases

PodOperation defines what changes will be made on a pod configuration.
No description provided by the author
SyncPodType classifies pod updates, eg: create, update.