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 ¶
- type MockAppKVStore
- func (m *MockAppKVStore) Delete(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string) error
- func (m *MockAppKVStore) EXPECT() *MockAppKVStoreMockRecorder
- func (m *MockAppKVStore) Get(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string) ([]byte, error)
- func (m *MockAppKVStore) List(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3 string, ...) error
- func (m *MockAppKVStore) Set(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string, arg5 []byte) (bool, error)
- type MockAppKVStoreMockRecorder
- func (mr *MockAppKVStoreMockRecorder) Delete(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAppKVStoreMockRecorder) Get(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAppKVStoreMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAppKVStoreMockRecorder) Set(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockAppStore
- func (m *MockAppStore) AsMap(arg0 *incoming.Request) map[apps.AppID]apps.App
- func (m *MockAppStore) Configure(arg0 config.Config, arg1 utils.Logger) error
- func (m *MockAppStore) Delete(arg0 *incoming.Request, arg1 apps.AppID) error
- func (m *MockAppStore) EXPECT() *MockAppStoreMockRecorder
- func (m *MockAppStore) Get(arg0 *incoming.Request, arg1 apps.AppID) (*apps.App, error)
- func (m *MockAppStore) InitBuiltin(arg0 ...apps.App)
- func (m *MockAppStore) Save(arg0 *incoming.Request, arg1 apps.App) error
- type MockAppStoreMockRecorder
- func (mr *MockAppStoreMockRecorder) AsMap(arg0 interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) InitBuiltin(arg0 ...interface{}) *gomock.Call
- func (mr *MockAppStoreMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
- type MockSessionStore
- func (m *MockSessionStore) Delete(arg0 *incoming.Request, arg1 apps.AppID, arg2 string) error
- func (m *MockSessionStore) DeleteAllForApp(arg0 *incoming.Request, arg1 apps.AppID) error
- func (m *MockSessionStore) DeleteAllForUser(arg0 *incoming.Request, arg1 string) error
- func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
- func (m *MockSessionStore) Get(arg0 *incoming.Request, arg1 apps.AppID, arg2 string) (*model.Session, error)
- func (m *MockSessionStore) ListForApp(arg0 *incoming.Request, arg1 apps.AppID) ([]*model.Session, error)
- func (m *MockSessionStore) ListForUser(arg0 *incoming.Request, arg1 string) ([]*model.Session, error)
- func (m *MockSessionStore) Save(arg0 *incoming.Request, arg1 apps.AppID, arg2 string, arg3 *model.Session) error
- type MockSessionStoreMockRecorder
- func (mr *MockSessionStoreMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) DeleteAllForApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) DeleteAllForUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) ListForApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) ListForUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) Save(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
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
func (m *MockAppKVStore) EXPECT() *MockAppKVStoreMockRecorder
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.
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) EXPECT ¶
func (m *MockAppStore) EXPECT() *MockAppStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppStore) InitBuiltin ¶
func (m *MockAppStore) InitBuiltin(arg0 ...apps.App)
InitBuiltin 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) DeleteAllForApp ¶ added in v1.0.0
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
func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
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.
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.