mock_store

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Package mock_store is a generated GoMock package.

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAppKVStore added in v0.3.0

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

MockAppKVStore is a mock of AppKVStore interface.

func NewMockAppKVStore added in v0.3.0

func NewMockAppKVStore(ctrl *gomock.Controller) *MockAppKVStore

NewMockAppKVStore creates a new mock instance.

func (*MockAppKVStore) Delete added in v0.3.0

func (m *MockAppKVStore) Delete(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string) error

Delete mocks base method.

func (*MockAppKVStore) EXPECT added in v0.3.0

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

func (*MockAppKVStore) Get added in v0.3.0

func (m *MockAppKVStore) Get(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string) ([]byte, error)

Get mocks base method.

func (*MockAppKVStore) List added in v1.0.0

func (m *MockAppKVStore) List(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3 string, arg4 func(string) error) error

List mocks base method.

func (*MockAppKVStore) Set added in v0.3.0

func (m *MockAppKVStore) Set(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string, arg5 []byte) (bool, error)

Set mocks base method.

type MockAppKVStoreMockRecorder added in v0.3.0

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

MockAppKVStoreMockRecorder is the mock recorder for MockAppKVStore.

func (*MockAppKVStoreMockRecorder) Delete added in v0.3.0

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

Delete indicates an expected call of Delete.

func (*MockAppKVStoreMockRecorder) Get added in v0.3.0

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

Get indicates an expected call of Get.

func (*MockAppKVStoreMockRecorder) List added in v1.0.0

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

List indicates an expected call of List.

func (*MockAppKVStoreMockRecorder) Set added in v0.3.0

func (mr *MockAppKVStoreMockRecorder) Set(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockAppStore

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

MockAppStore is a mock of AppStore interface.

func NewMockAppStore

func NewMockAppStore(ctrl *gomock.Controller) *MockAppStore

NewMockAppStore creates a new mock instance.

func (*MockAppStore) AsMap

func (m *MockAppStore) AsMap(arg0 *incoming.Request) map[apps.AppID]apps.App

AsMap mocks base method.

func (*MockAppStore) Configure

func (m *MockAppStore) Configure(arg0 config.Config, arg1 utils.Logger) error

Configure mocks base method.

func (*MockAppStore) Delete

func (m *MockAppStore) Delete(arg0 *incoming.Request, arg1 apps.AppID) error

Delete mocks base method.

func (*MockAppStore) EXPECT

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

func (*MockAppStore) Get

func (m *MockAppStore) Get(arg0 *incoming.Request, arg1 apps.AppID) (*apps.App, error)

Get mocks base method.

func (*MockAppStore) InitBuiltin

func (m *MockAppStore) InitBuiltin(arg0 ...apps.App)

InitBuiltin mocks base method.

func (*MockAppStore) Save

func (m *MockAppStore) Save(arg0 *incoming.Request, arg1 apps.App) error

Save mocks base method.

type MockAppStoreMockRecorder

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

MockAppStoreMockRecorder is the mock recorder for MockAppStore.

func (*MockAppStoreMockRecorder) AsMap

func (mr *MockAppStoreMockRecorder) AsMap(arg0 interface{}) *gomock.Call

AsMap indicates an expected call of AsMap.

func (*MockAppStoreMockRecorder) Configure

func (mr *MockAppStoreMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call

Configure indicates an expected call of Configure.

func (*MockAppStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockAppStoreMockRecorder) Get

func (mr *MockAppStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockAppStoreMockRecorder) InitBuiltin

func (mr *MockAppStoreMockRecorder) InitBuiltin(arg0 ...interface{}) *gomock.Call

InitBuiltin indicates an expected call of InitBuiltin.

func (*MockAppStoreMockRecorder) Save

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

Save indicates an expected call of Save.

type MockSessionStore added in v1.0.0

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

MockSessionStore is a mock of SessionStore interface.

func NewMockSessionStore added in v1.0.0

func NewMockSessionStore(ctrl *gomock.Controller) *MockSessionStore

NewMockSessionStore creates a new mock instance.

func (*MockSessionStore) Delete added in v1.0.0

func (m *MockSessionStore) Delete(arg0 *incoming.Request, arg1 apps.AppID, arg2 string) error

Delete mocks base method.

func (*MockSessionStore) DeleteAllForApp added in v1.0.0

func (m *MockSessionStore) DeleteAllForApp(arg0 *incoming.Request, arg1 apps.AppID) error

DeleteAllForApp mocks base method.

func (*MockSessionStore) DeleteAllForUser added in v1.0.0

func (m *MockSessionStore) DeleteAllForUser(arg0 *incoming.Request, arg1 string) error

DeleteAllForUser mocks base method.

func (*MockSessionStore) EXPECT added in v1.0.0

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

func (*MockSessionStore) Get added in v1.0.0

func (m *MockSessionStore) Get(arg0 *incoming.Request, arg1 apps.AppID, arg2 string) (*model.Session, error)

Get mocks base method.

func (*MockSessionStore) ListForApp added in v1.0.0

func (m *MockSessionStore) ListForApp(arg0 *incoming.Request, arg1 apps.AppID) ([]*model.Session, error)

ListForApp mocks base method.

func (*MockSessionStore) ListForUser added in v1.0.0

func (m *MockSessionStore) ListForUser(arg0 *incoming.Request, arg1 string) ([]*model.Session, error)

ListForUser mocks base method.

func (*MockSessionStore) Save added in v1.0.0

func (m *MockSessionStore) Save(arg0 *incoming.Request, arg1 apps.AppID, arg2 string, arg3 *model.Session) error

Save mocks base method.

type MockSessionStoreMockRecorder added in v1.0.0

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

MockSessionStoreMockRecorder is the mock recorder for MockSessionStore.

func (*MockSessionStoreMockRecorder) Delete added in v1.0.0

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

Delete indicates an expected call of Delete.

func (*MockSessionStoreMockRecorder) DeleteAllForApp added in v1.0.0

func (mr *MockSessionStoreMockRecorder) DeleteAllForApp(arg0, arg1 interface{}) *gomock.Call

DeleteAllForApp indicates an expected call of DeleteAllForApp.

func (*MockSessionStoreMockRecorder) DeleteAllForUser added in v1.0.0

func (mr *MockSessionStoreMockRecorder) DeleteAllForUser(arg0, arg1 interface{}) *gomock.Call

DeleteAllForUser indicates an expected call of DeleteAllForUser.

func (*MockSessionStoreMockRecorder) Get added in v1.0.0

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

Get indicates an expected call of Get.

func (*MockSessionStoreMockRecorder) ListForApp added in v1.0.0

func (mr *MockSessionStoreMockRecorder) ListForApp(arg0, arg1 interface{}) *gomock.Call

ListForApp indicates an expected call of ListForApp.

func (*MockSessionStoreMockRecorder) ListForUser added in v1.0.0

func (mr *MockSessionStoreMockRecorder) ListForUser(arg0, arg1 interface{}) *gomock.Call

ListForUser indicates an expected call of ListForUser.

func (*MockSessionStoreMockRecorder) Save added in v1.0.0

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

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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