testing

package
Version: v0.0.0-...-5dfa7fa Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCondition

func CheckCondition(s *duckv1b1.Status, c apis.ConditionType, cs corev1.ConditionStatus) error

CheckCondition checks if condition `c` on `cc` has value `cs`.

func CheckConditionFailed

func CheckConditionFailed(s *duckv1b1.Status, c apis.ConditionType, t *testing.T)

CheckConditionFailed checks if the condition is in state `False`.

func CheckConditionOngoing

func CheckConditionOngoing(s *duckv1b1.Status, c apis.ConditionType, t *testing.T)

CheckConditionOngoing checks if the condition is in state `Unknown`.

func CheckConditionSucceeded

func CheckConditionSucceeded(s *duckv1b1.Status, c apis.ConditionType, t *testing.T)

CheckConditionSucceeded checks if the condition is in state `True`.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL