Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Package mock_store is a generated GoMock package.
Index ¶
- type MockAppStore
- func (m *MockAppStore) AsList(arg0 store.FilterOpt) []apps.App
- func (m *MockAppStore) AsMap(arg0 store.FilterOpt) 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 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) AsList(arg0 interface{}) *gomock.Call
- 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 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 apps.AppID, arg1 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 apps.AppID, arg1 string) (*model.Session, error)
- func (m *MockSessionStore) ListForApp(arg0 apps.AppID) ([]*model.Session, error)
- func (m *MockSessionStore) ListForUser(arg0 *incoming.Request, arg1 string) ([]*model.Session, error)
- func (m *MockSessionStore) Save(arg0 apps.AppID, arg1 string, arg2 *model.Session) error
- type MockSessionStoreMockRecorder
- func (mr *MockSessionStoreMockRecorder) Delete(arg0, arg1 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 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) ListForApp(arg0 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) ListForUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSessionStoreMockRecorder) Save(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) AsList ¶ added in v1.2.0
func (m *MockAppStore) AsList(arg0 store.FilterOpt) []apps.App
AsList mocks base method.
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) AsList ¶ added in v1.2.0
func (mr *MockAppStoreMockRecorder) AsList(arg0 interface{}) *gomock.Call
AsList indicates an expected call of AsList.
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 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 apps.AppID, arg1 string) error
Delete mocks base method.
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) ListForApp ¶ added in v1.0.0
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 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 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSessionStoreMockRecorder) ListForApp ¶ added in v1.0.0
func (mr *MockSessionStoreMockRecorder) ListForApp(arg0 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 interface{}) *gomock.Call
Save indicates an expected call of Save.