Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContainerTerminated = fmt.Errorf("container terminated")
ErrContainerTerminated is returned by PodContainerRunning in the intermediate state where the pod indicates it's still running, but its container is already terminated
Functions ¶
func PodContainerRunning ¶
func PodContainerRunning(containerName string) watchtools.ConditionFunc
PodContainerRunning returns false until the named container has ContainerStatus running (at least once), and will return an error if the pod is deleted, runs to completion, or the container pod is not available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.