gomega

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainSubscriptionConditionOfType

func ContainSubscriptionConditionOfType(conditionType v1alpha1.SubscriptionConditionType) types.GomegaMatcher

func EventuallyResource

func EventuallyResource(actual k8scontrollerclient.Object, intervals ...interface{}) AsyncAssertion

func HaveGrpcConnectionWithLastConnectionState

func HaveGrpcConnectionWithLastConnectionState(state connectivity.State) types.GomegaMatcher

func HaveSubscriptionState

func HaveSubscriptionState(state v1alpha1.SubscriptionState) types.GomegaMatcher

Types

type CatalogSourceGrpcConnectionLastConnectionStateMatcher

type CatalogSourceGrpcConnectionLastConnectionStateMatcher struct {
	*matchers.EqualMatcher
}

func (*CatalogSourceGrpcConnectionLastConnectionStateMatcher) FailureMessage

func (s *CatalogSourceGrpcConnectionLastConnectionStateMatcher) FailureMessage(actual interface{}) (message string)

func (*CatalogSourceGrpcConnectionLastConnectionStateMatcher) Match

func (s *CatalogSourceGrpcConnectionLastConnectionStateMatcher) Match(actual interface{}) (bool, error)

func (*CatalogSourceGrpcConnectionLastConnectionStateMatcher) NegatedFailureMessage

func (s *CatalogSourceGrpcConnectionLastConnectionStateMatcher) NegatedFailureMessage(actual interface{}) (message string)

type ContainSubscriptionConditionOfTypeMatcher

type ContainSubscriptionConditionOfTypeMatcher struct {
	*matchers.ContainElementMatcher
}

func (*ContainSubscriptionConditionOfTypeMatcher) Match

func (s *ContainSubscriptionConditionOfTypeMatcher) Match(actual interface{}) (bool, error)

type SubscriptionStateMatcher

type SubscriptionStateMatcher struct {
	*matchers.EqualMatcher
}

func (*SubscriptionStateMatcher) FailureMessage

func (s *SubscriptionStateMatcher) FailureMessage(actual interface{}) (message string)

func (*SubscriptionStateMatcher) Match

func (s *SubscriptionStateMatcher) Match(actual interface{}) (bool, error)

func (*SubscriptionStateMatcher) NegatedFailureMessage

func (s *SubscriptionStateMatcher) NegatedFailureMessage(actual interface{}) (message string)

Jump to

Keyboard shortcuts

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