package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/kubectl.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
FindContainerByName selects the named container from the spec of the provided pod or return nil if no such container exists.
FindOrDefaultContainerByName defaults a container for a pod to the first container if any exists, or returns an error.

# Constants

DefaultContainerAnnotationName is an annotation name that can be used to preselect the interesting container from a pod when running kubectl.