matcher

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeGone

func BeGone() types.GomegaMatcher

func BeInPhase

func BeInPhase(phase interface{}) types.GomegaMatcher

func BeOwned

func BeOwned() types.GomegaMatcher

func BePresent

func BePresent() types.GomegaMatcher

func BeRunning

func BeRunning() types.GomegaMatcher

func Exist

func Exist() types.GomegaMatcher

func HaveConditionFalse

func HaveConditionFalse(conditionType interface{}) types.GomegaMatcher

func HaveConditionMissingOrFalse

func HaveConditionMissingOrFalse(conditionType interface{}) types.GomegaMatcher

func HaveConditionTrue

func HaveConditionTrue(conditionType interface{}) types.GomegaMatcher

func HaveOwners

func HaveOwners() types.GomegaMatcher

func HavePhase

func HavePhase(phase interface{}) types.GomegaMatcher

func HaveReadyReplicas

func HaveReadyReplicas(comparator types.GomegaMatcher) *readiness

func HaveReadyReplicasNumerically

func HaveReadyReplicasNumerically(comparator string, compareTo ...interface{}) types.GomegaMatcher

func HaveSucceeded

func HaveSucceeded() types.GomegaMatcher

func ThisPod

func ThisPod(pod *v1.Pod, cli *kubernetes.Clientset) func() (*v1.Pod, error)

ThisPod fetches the latest state of the pod. If the object does not exist, nil is returned.

func ThisPodWith

func ThisPodWith(namespace string, name string, cli *kubernetes.Clientset) func() (*v1.Pod, error)

ThisPodWith fetches the latest state of the pod based on namespace and name. If the object does not exist, nil is returned.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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