assert

package
v0.0.0-...-1a22633 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiCompleted

func ApiCompleted(apiDefinition *v1alpha1.ApiDefinition) error

func ApiFailed

func ApiFailed(apiDefinition *v1alpha1.ApiDefinition) error

func ApiV4Completed

func ApiV4Completed(apiDefinition *v1alpha1.ApiV4Definition) error

func ApiV4Failed

func ApiV4Failed(apiDefinition *v1alpha1.ApiV4Definition) error

func ApplicationCompleted

func ApplicationCompleted(app *v1alpha1.Application) error

func ApplicationFailed

func ApplicationFailed(app *v1alpha1.Application) error

func Equals

func Equals(field string, expected, given any) error

func EventsEmitted

func EventsEmitted(obj client.Object, reasons ...string)

func HasFinalizer

func HasFinalizer(object client.Object, value string) error

func MapContaining

func MapContaining[K comparable, V any](m map[K]V, key K, value V) error

func MapNotContaining

func MapNotContaining[K comparable, V any](m map[K]V, key K) error

func NoErrorAndHTTPStatus

func NoErrorAndHTTPStatus(err error, res *http.Response, expectedStatus int) error

func NotEmptySlice

func NotEmptySlice[T any](field string, value []T) error

func NotEmptyString

func NotEmptyString(field string, value string) error

func NotFoundError

func NotFoundError(err error) error

func SliceOfSize

func SliceOfSize[T any](field string, value []T, size int) error

func StrEndingWithPath

func StrEndingWithPath(str, path string) error

func StrStartingWith

func StrStartingWith(str, prefix string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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