Documentation ¶
Index ¶
- Variables
- func BeInNamespace(namespace string) types.GomegaMatcher
- func DeepEqual(expected interface{}) types.GomegaMatcher
- func HaveCondition(name string, status metav1.ConditionStatus, reason string, message string) types.GomegaMatcher
- func HaveResourceName(name string) types.GomegaMatcher
- type KubernetesTestHelper
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownResource error = fmt.Errorf("unknown resource")
Functions ¶
func BeInNamespace ¶
func BeInNamespace(namespace string) types.GomegaMatcher
func DeepEqual ¶
func DeepEqual(expected interface{}) types.GomegaMatcher
func HaveCondition ¶
func HaveCondition(name string, status metav1.ConditionStatus, reason string, message string) types.GomegaMatcher
func HaveResourceName ¶
func HaveResourceName(name string) types.GomegaMatcher
Types ¶
type KubernetesTestHelper ¶
type KubernetesTestHelper interface { Create(objects ...client.Object) WaitUntilExists(objects ...client.Object) CleanupCreatedObject() DeleteIfPresent(obj ...client.Object) Object(obj client.Object) AsyncAssertion Heist() *heist.Clientset VaultConfigSpec(namespace string, name string) AsyncAssertion }
Click to show internal directories.
Click to hide internal directories.