package
1.2.0-alpha.3
Repository: https://github.com/carlanton/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
package portforward contains server-side logic for handling port forwarding requests.
No description provided by the author
package qos contains helper functions for quality of service.
Package rkt contains the Containerruntime interface implementation for rkt.
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.
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.
NewKubeletAuth returns a kubelet.AuthInterface composed of the given authenticator, attribute getter, and authorizer.
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.
ServePortForward handles a port forwarding request.
# Constants
The percent of the machine memory capacity.
No description provided by the author
No description provided by the author
No description provided by the author
max backoff period, exported for the e2e test.
The minimum memory limit allocated to docker container: 150Mi.
system default DNS resolver configuration.
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.
# Structs
No description provided by the author
A policy for garbage collecting images.
Kubelet is the main kubelet implementation.
KubeletAuth implements AuthInterface.
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
AuthInterface contains all methods required by the auth filters.
No description provided by the author
HostInterface contains all the kubelet methods required by the server.
No description provided by the author
PodWorkers is an abstract interface for testability.
PortForwarder knows how to forward content from a data stream to/from a port in a pod.
SyncHandler is an interface implemented by Kubelet, for testability.
No description provided by the author
# Type aliases
TODO: plumb this up as a flag to Kubelet in a future PR.
No description provided by the author