Documentation ¶
Index ¶
- func IsPodsChanged(old v1.Pod, cur v1.Pod) bool
- func ListPods(labelSelector string, ns string, c clientset.Interface) ([]v1.Pod, error)
- func MustListPods(labelSelector string, ns string, c clientset.Interface) []v1.Pod
- func PodsAreChanged(c kubernetes.Interface, pods []v1.Pod) wait.ConditionFunc
- func WaitForPodsAreChanged(c kubernetes.Interface, pods []v1.Pod, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustListPods ¶ added in v1.3.2
func PodsAreChanged ¶
func PodsAreChanged(c kubernetes.Interface, pods []v1.Pod) wait.ConditionFunc
PodsAreChanged checks the given pods are changed or not (recreate, update).
func WaitForPodsAreChanged ¶
WaitForPodsAreChanged waits for given pods are changed. It returns wait.ErrWaitTimeout if the given pods are not changed in specified timeout.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.