storemock

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package storemock is a generated GoMock package.

Package storemock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 string) 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) Get

func (m *MockStore) Get(arg0 context.Context, arg1 string, arg2 bool, arg3 interface{}) error

Get mocks base method

func (*MockStore) GetWithRevision

func (m *MockStore) GetWithRevision(arg0 context.Context, arg1 string, arg2 int64, arg3 bool, arg4 interface{}) error

GetWithRevision mocks base method

func (*MockStore) Set

func (m *MockStore) Set(arg0 context.Context, arg1 string, arg2 interface{}) error

Set mocks base method

func (*MockStore) Watch

func (m *MockStore) Watch(arg0 context.Context, arg1 string) (store.Watcher, error)

Watch 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) Get

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

Get indicates an expected call of Get

func (*MockStoreMockRecorder) GetWithRevision

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

GetWithRevision indicates an expected call of GetWithRevision

func (*MockStoreMockRecorder) Set

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

Set indicates an expected call of Set

func (*MockStoreMockRecorder) Watch

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

Watch indicates an expected call of Watch

type MockWatcher

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

MockWatcher is a mock of Watcher interface

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance

func (*MockWatcher) Close

func (m *MockWatcher) Close() error

Close mocks base method

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

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

func (*MockWatcher) NextResponse

func (m *MockWatcher) NextResponse() (clientv3.WatchResponse, bool)

NextResponse mocks base method

type MockWatcherMockRecorder

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

MockWatcherMockRecorder is the mock recorder for MockWatcher

func (*MockWatcherMockRecorder) Close

func (mr *MockWatcherMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockWatcherMockRecorder) NextResponse

func (mr *MockWatcherMockRecorder) NextResponse() *gomock.Call

NextResponse indicates an expected call of NextResponse

Jump to

Keyboard shortcuts

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