mocks

package
v0.0.0-...-e0ff526 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore

func NewStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *Store

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) GetAllSubscriptions

func (_m *Store) GetAllSubscriptions(ctx context.Context) ([]*v1.Subscription, error)

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

func (_m *Store) InsertSubscriptions(ctx context.Context, _a1 []*v1.Subscription) error

InsertSubscriptions provides a mock function with given fields: ctx, _a1

Jump to

Keyboard shortcuts

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