Documentation ¶
Index ¶
- func ApiCompleted(apiDefinition *v1alpha1.ApiDefinition) error
- func ApiFailed(apiDefinition *v1alpha1.ApiDefinition) error
- func ApiV4Completed(apiDefinition *v1alpha1.ApiV4Definition) error
- func ApiV4Failed(apiDefinition *v1alpha1.ApiV4Definition) error
- func ApplicationCompleted(app *v1alpha1.Application) error
- func ApplicationFailed(app *v1alpha1.Application) error
- func Equals(field string, expected, given any) error
- func EventsEmitted(obj client.Object, reasons ...string)
- func HasFinalizer(object client.Object, value string) error
- func MapContaining[K comparable, V any](m map[K]V, key K, value V) error
- func MapNotContaining[K comparable, V any](m map[K]V, key K) error
- func Nil(field string, value any) error
- func NoErrorAndHTTPStatus(err error, res *http.Response, expectedStatus int) error
- func NotEmptySlice[T any](field string, value []T) error
- func NotEmptyString(field string, value string) error
- func NotFoundError(err error) error
- func NotNil(field string, value any) error
- func SliceEqualsSorted[S ~[]E, E any](field string, expected S, given S, comp sort.Comparator[E]) error
- func SliceOfSize[T any](field string, value []T, size int) error
- func StrEndingWithPath(str, path string) error
- func StrStartingWith(str, prefix string) error
- func SubscriptionCompleted(sub *v1alpha1.Subscription) error
- func SubscriptionFailed(sub *v1alpha1.Subscription) error
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 EventsEmitted ¶
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 NotEmptySlice ¶
func NotEmptyString ¶
func NotFoundError ¶
func SliceEqualsSorted ¶
func SliceEqualsSorted[S ~[]E, E any](field string, expected S, given S, comp sort.Comparator[E]) error
func StrEndingWithPath ¶
func StrStartingWith ¶
func SubscriptionCompleted ¶
func SubscriptionCompleted(sub *v1alpha1.Subscription) error
func SubscriptionFailed ¶
func SubscriptionFailed(sub *v1alpha1.Subscription) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.