Documentation ¶
Index ¶
- Constants
- Variables
- func Base(e interface{}) interface{}
- func Cleanup[T any, ID any](tb testing.TB, ctx context.Context, t crud.Deleter[ID])
- func Contains[Ent any](tb testing.TB, slice []Ent, contains Ent, msgAndArgs ...interface{})
- func CreateSubscriptionFilter[Ent any](event interface{}) bool
- func DeleteSubscriptionFilter[ID any](event interface{}) bool
- func GenEntities[T any](t *testcase.T, MakeEnt func(testing.TB) T) []*T
- func LetSubscriber[Ent, ID any](s *testcase.Spec, filter func(interface{}) bool) testcase.Var[*eventSubscriber[Ent, ID]]
- func LetSubscription[Ent, ID any](s *testcase.Spec) testcase.Var[pubsub.Subscription]
- func NewEventSubscriber[Ent, ID any](tb testing.TB, filter func(interface{}) bool) *eventSubscriber[Ent, ID]
- func NewT(T interface{}) interface{}
- func NewTFunc(T interface{}) func() interface{}
- func RequireContainsList(tb testing.TB, list interface{}, listOfContainedElements interface{}, ...)
- func RequireNotContainsList(tb testing.TB, list interface{}, listOfNotContainedElements interface{}, ...)
- func ToPtr[T any](v T) *T
- func TypeAssertTo[ToType any](in []any) (out []ToType)
- func UpdateSubscriptionFilter[Ent any](event interface{}) bool
- type CRD
Constants ¶
View Source
const ErrIDRequired errs.Error = `` /* 174-byte string literal not displayed */
Variables ¶
Functions ¶
func CreateSubscriptionFilter ¶ added in v0.71.0
func DeleteSubscriptionFilter ¶ added in v0.71.0
func GenEntities ¶ added in v0.71.0
func LetSubscriber ¶ added in v0.71.0
func LetSubscription ¶ added in v0.71.0
func NewEventSubscriber ¶ added in v0.71.0
func RequireContainsList ¶ added in v0.71.0
func RequireNotContainsList ¶ added in v0.71.0
func TypeAssertTo ¶ added in v0.71.0
func UpdateSubscriptionFilter ¶ added in v0.71.0
Types ¶
Click to show internal directories.
Click to hide internal directories.