Documentation
¶
Index ¶
- type Store
- func (_m *Store) GetActiveSubscription(ctx context.Context, name string) (*v1.Subscription, error)
- func (_m *Store) GetAllActiveSubscriptions(ctx context.Context) ([]*v1.Subscription, error)
- func (_m *Store) GetAllSubscriptions(ctx context.Context) ([]*v1.Subscription, error)
- func (_m *Store) GetSubscription(ctx context.Context, name string, revision string) (*v1.Subscription, error)
- func (_m *Store) InsertSubscriptions(ctx context.Context, _a1 []*v1.Subscription, tx pgx.Tx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Store) GetActiveSubscription ¶
GetActiveSubscription provides a mock function with given fields: ctx, name
func (*Store) GetAllActiveSubscriptions ¶
GetAllActiveSubscriptions provides a mock function with given fields: ctx
func (*Store) GetAllSubscriptions ¶
GetAllSubscriptions provides a mock function with given fields: ctx
func (*Store) GetSubscription ¶
func (_m *Store) GetSubscription(ctx context.Context, name string, revision string) (*v1.Subscription, error)
GetSubscription provides a mock function with given fields: ctx, name, revision
func (*Store) InsertSubscriptions ¶
InsertSubscriptions provides a mock function with given fields: ctx, _a1, tx