package
0.99.0-nabarun.1
Repository: https://github.com/palnabarun/kubectl.git
Documentation: pkg.go.dev
# Functions
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.