package
1.13.0-alpha.1
Repository: https://github.com/clickyotomy/kubernetes.git
Documentation: pkg.go.dev
# Functions
FindPort locates the container port for the given pod and portName.
GetContainerStatus extracts the status of container "name" from "statuses".
GetExistingContainerStatus extracts the status of container "name" from "statuses", It also returns if "name" exists.
GetPodCondition extracts the provided condition from the given status and returns that.
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
GetPodReadyCondition extracts the pod ready condition from the given status and returns that.
IsPodAvailable returns true if a pod is available; false otherwise.
IsPodReady returns true if a pod is ready; false otherwise.
IsPodReadyConditionTrue returns true if a pod is ready; false otherwise.
UpdatePodCondition updates existing pod condition or creates a new one.
VisitPodConfigmapNames invokes the visitor function with the name of every configmap referenced by the pod spec.
VisitPodSecretNames invokes the visitor function with the name of every secret referenced by the pod spec.
# Type aliases
Visitor is called with each object name, and returns true if visiting should continue.