mock_store

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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 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) AsMap

func (m *MockAppStore) AsMap(arg0 store.FilterOpt) 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 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) 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

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 apps.AppID, arg1 string) (*model.Session, error)

Get mocks base method.

func (*MockSessionStore) ListForApp added in v1.0.0

func (m *MockSessionStore) ListForApp(arg0 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 apps.AppID, arg1 string, arg2 *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 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.

Jump to

Keyboard shortcuts

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