Documentation ¶
Index ¶
- Constants
- Variables
- func DeleteSubscriptionFilter[ID any](event interface{}) bool
- func GenEntities[T any](t *testcase.T, MakeEntity func(testing.TB) T) []*T
- func LetSubscriber[Entity, ID any](s *testcase.Spec, filter func(interface{}) bool) testcase.Var[*eventSubscriber[Entity, ID]]
- func LetSubscription[Entity, ID any](s *testcase.Spec) testcase.Var[pubsub.Subscription]
- func NewEventSubscriber[Entity, ID any](tb testing.TB, filter func(interface{}) bool) *eventSubscriber[Entity, ID]
- func TryCleanup(tb testing.TB, ctx context.Context, resource any) bool
- func UpdateSubscriptionFilter[Entity any](event interface{}) bool
- type CRD
Constants ¶
View Source
const ErrIDRequired errorutil.Error = `` /* 174-byte string literal not displayed */
Variables ¶
Functions ¶
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 TryCleanup ¶ added in v0.80.0
func UpdateSubscriptionFilter ¶ added in v0.71.0
Types ¶
type CRD ¶ added in v0.71.0
type CRD[Entity, ID any] interface { crud.Creator[Entity] crud.ByIDFinder[Entity, ID] crud.ByIDDeleter[ID] }
CRD is the minimum requirements to write easily behavioral specification for a resource.
Click to show internal directories.
Click to hide internal directories.