mocks

package
v0.0.0-...-47e0bda Latest Latest
Warning

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

Go to latest
Published: Dec 16, 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) Delete

func (_m *Store) Delete(ctx context.Context, traceKey string, commitPosition int64) error

Delete provides a mock function with given fields: ctx, traceKey, commitPosition

func (*Store) GetUserIssuesForTraceKeys

func (_m *Store) GetUserIssuesForTraceKeys(ctx context.Context, traceKeys []string, startCommitPosition int64, endCommitPosition int64) ([]userissue.UserIssue, error)

GetUserIssuesForTraceKeys provides a mock function with given fields: ctx, traceKeys, startCommitPosition, endCommitPosition

func (*Store) Save

func (_m *Store) Save(ctx context.Context, req *userissue.UserIssue) error

Save provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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