notification

package
v0.0.0-...-ea6e92e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNoNotificationsExist

func AssertNoNotificationsExist(t test.T, cl runtimeclient.Client)

func OnlyOneNotificationExists

func OnlyOneNotificationExists(t test.T, cl runtimeclient.Client, userName, notificationType string, assertions ...Assert)

Types

type Assert

type Assert func(test.T, toolchainv1alpha1.Notification)

func HasContext

func HasContext(key, expected string) Assert

type Assertion

type Assertion struct {
	// contains filtered or unexported fields
}

func AssertThatNotification

func AssertThatNotification(t test.T, name string, client runtimeclient.Client) *Assertion

func (*Assertion) HasConditions

func (a *Assertion) HasConditions(expected ...toolchainv1alpha1.Condition) *Assertion

Jump to

Keyboard shortcuts

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