mock_snapshot

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_snapshot is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQuery

type MockQuery struct {
	// contains filtered or unexported fields
}

MockQuery is a mock of Query interface.

func NewMockQuery

func NewMockQuery(ctrl *gomock.Controller) *MockQuery

NewMockQuery creates a new mock instance.

func (*MockQuery) EXPECT

func (m *MockQuery) EXPECT() *MockQueryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQuery) Times

func (m *MockQuery) Times() time.Constraints

Times mocks base method.

type MockQueryMockRecorder

type MockQueryMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryMockRecorder is the mock recorder for MockQuery.

func (*MockQueryMockRecorder) Times

func (mr *MockQueryMockRecorder) Times() *gomock.Call

Times indicates an expected call of Times.

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 context.Context, arg1 snapshot.Snapshot) error

Delete mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) Latest

func (m *MockStore) Latest(arg0 context.Context, arg1 string, arg2 uuid.UUID) (snapshot.Snapshot, error)

Latest mocks base method.

func (*MockStore) Limit

func (m *MockStore) Limit(arg0 context.Context, arg1 string, arg2 uuid.UUID, arg3 int) (snapshot.Snapshot, error)

Limit mocks base method.

func (*MockStore) Query

func (m *MockStore) Query(arg0 context.Context, arg1 snapshot.Query) (<-chan snapshot.Snapshot, <-chan error, error)

Query mocks base method.

func (*MockStore) Save

func (m *MockStore) Save(arg0 context.Context, arg1 snapshot.Snapshot) error

Save mocks base method.

func (*MockStore) Version

func (m *MockStore) Version(arg0 context.Context, arg1 string, arg2 uuid.UUID, arg3 int) (snapshot.Snapshot, error)

Version mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Delete

func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Latest

func (mr *MockStoreMockRecorder) Latest(arg0, arg1, arg2 interface{}) *gomock.Call

Latest indicates an expected call of Latest.

func (*MockStoreMockRecorder) Limit

func (mr *MockStoreMockRecorder) Limit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Limit indicates an expected call of Limit.

func (*MockStoreMockRecorder) Query

func (mr *MockStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockStoreMockRecorder) Save

func (mr *MockStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockStoreMockRecorder) Version

func (mr *MockStoreMockRecorder) Version(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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