package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AttachLocation returns the attach URL for a pod container.
ExecLocation returns the exec URL for a pod container.
GetAttrs returns labels and fields of a given object for filtering purposes.
Indexers returns the indexers for pod storage.
LogLocation returns the log URL for a pod container.
MatchPod returns a generic matcher for a given label and field selector.
NamespaceIndexFunc return value name of given object.
NodeNameIndexFunc return value spec.nodename of given object.
NodeNameTriggerFunc returns value spec.nodename of given object.
PortForwardLocation returns the port-forward URL for a pod.
ResourceLocation returns a URL to which one can send traffic for the specified pod.
ToSelectableFields returns a field set that represents the object TODO: fields are not labels, and the validation rules for them do not apply.
# Variables
EphemeralContainersStrategy wraps and exports the used podStrategy for the storage package.
ResizeStrategy wraps and exports the used podStrategy for the storage package.
StatusStrategy wraps and exports the used podStrategy for the storage package.
Strategy is the default logic that applies when creating and updating Pod objects via the REST API.
# Interfaces
ResourceGetter is an interface for retrieving resources by ResourceLocation.