pod

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package pod contains utilities related to Kubernetes Pod.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutorManagedBy

func ExecutorManagedBy(mgr manager.Manager) remoteexec.RemoteExecutor

func PodCondition

func PodCondition(status *corev1.PodStatus, conditionType corev1.PodConditionType) *corev1.PodCondition

PodCondition extracts the provided condition from the given status and returns that. Returns nil if the condition is not present.

func PodConditionIsReady

func PodConditionIsReady(pod *corev1.Pod) bool

PodConditionIsReady returns true if a pod is ready.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL