mock_store

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

func (m *MockStore) DeleteCurrentStep(arg0 string) error

DeleteCurrentStep mocks base method.

func (*MockStore) DeletePanelPostID

func (m *MockStore) DeletePanelPostID(arg0 string) error

DeletePanelPostID mocks base method.

func (*MockStore) DeleteUser

func (m *MockStore) DeleteUser(arg0 string) error

DeleteUser mocks base method.

func (*MockStore) DeleteUserEvent

func (m *MockStore) DeleteUserEvent(arg0, arg1 string) error

DeleteUserEvent mocks base method.

func (*MockStore) DeleteUserFromIndex

func (m *MockStore) DeleteUserFromIndex(arg0 string) error

DeleteUserFromIndex mocks base method.

func (*MockStore) DeleteUserSubscription

func (m *MockStore) DeleteUserSubscription(arg0 *store.User, arg1 string) error

DeleteUserSubscription mocks base method.

func (*MockStore) DeleteUserWelcomePost

func (m *MockStore) DeleteUserWelcomePost(arg0 string) (string, error)

DeleteUserWelcomePost 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) GetCurrentStep

func (m *MockStore) GetCurrentStep(arg0 string) (int, error)

GetCurrentStep mocks base method.

func (*MockStore) GetPanelPostID

func (m *MockStore) GetPanelPostID(arg0 string) (string, error)

GetPanelPostID mocks base method.

func (*MockStore) GetPostID

func (m *MockStore) GetPostID(arg0, arg1 string) (string, error)

GetPostID mocks base method.

func (*MockStore) GetSetting

func (m *MockStore) GetSetting(arg0, arg1 string) (interface{}, error)

GetSetting mocks base method.

func (*MockStore) LoadMattermostUserID

func (m *MockStore) LoadMattermostUserID(arg0 string) (string, error)

LoadMattermostUserID mocks base method.

func (*MockStore) LoadSubscription

func (m *MockStore) LoadSubscription(arg0 string) (*store.Subscription, error)

LoadSubscription mocks base method.

func (*MockStore) LoadUser

func (m *MockStore) LoadUser(arg0 string) (*store.User, error)

LoadUser mocks base method.

func (*MockStore) LoadUserEvent

func (m *MockStore) LoadUserEvent(arg0, arg1 string) (*store.Event, error)

LoadUserEvent mocks base method.

func (*MockStore) LoadUserFromIndex

func (m *MockStore) LoadUserFromIndex(arg0 string) (*store.UserShort, error)

LoadUserFromIndex mocks base method.

func (*MockStore) LoadUserIndex

func (m *MockStore) LoadUserIndex() (store.UserIndex, error)

LoadUserIndex mocks base method.

func (*MockStore) LoadUserWelcomePost

func (m *MockStore) LoadUserWelcomePost(arg0 string) (string, error)

LoadUserWelcomePost mocks base method.

func (*MockStore) ModifyUserIndex

func (m *MockStore) ModifyUserIndex(arg0 func(store.UserIndex) (store.UserIndex, error)) error

ModifyUserIndex mocks base method.

func (*MockStore) RemovePostID

func (m *MockStore) RemovePostID(arg0, arg1 string) error

RemovePostID mocks base method.

func (*MockStore) SetCurrentStep

func (m *MockStore) SetCurrentStep(arg0 string, arg1 int) error

SetCurrentStep mocks base method.

func (*MockStore) SetPanelPostID

func (m *MockStore) SetPanelPostID(arg0, arg1 string) error

SetPanelPostID mocks base method.

func (*MockStore) SetPostID

func (m *MockStore) SetPostID(arg0, arg1, arg2 string) error

SetPostID mocks base method.

func (*MockStore) SetProperty

func (m *MockStore) SetProperty(arg0, arg1 string, arg2 bool) error

SetProperty mocks base method.

func (*MockStore) SetSetting

func (m *MockStore) SetSetting(arg0, arg1 string, arg2 interface{}) error

SetSetting mocks base method.

func (*MockStore) StoreOAuth2State

func (m *MockStore) StoreOAuth2State(arg0 string) error

StoreOAuth2State mocks base method.

func (*MockStore) StoreUser

func (m *MockStore) StoreUser(arg0 *store.User) error

StoreUser mocks base method.

func (*MockStore) StoreUserActiveEvents

func (m *MockStore) StoreUserActiveEvents(arg0 string, arg1 []string) error

StoreUserActiveEvents mocks base method.

func (*MockStore) StoreUserEvent

func (m *MockStore) StoreUserEvent(arg0 string, arg1 *store.Event) error

StoreUserEvent mocks base method.

func (*MockStore) StoreUserInIndex

func (m *MockStore) StoreUserInIndex(arg0 *store.User) error

StoreUserInIndex mocks base method.

func (*MockStore) StoreUserSubscription

func (m *MockStore) StoreUserSubscription(arg0 *store.User, arg1 *store.Subscription) error

StoreUserSubscription mocks base method.

func (*MockStore) StoreUserWelcomePost

func (m *MockStore) StoreUserWelcomePost(arg0, arg1 string) error

StoreUserWelcomePost mocks base method.

func (*MockStore) VerifyOAuth2State

func (m *MockStore) VerifyOAuth2State(arg0 string) error

VerifyOAuth2State mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) DeleteCurrentStep

func (mr *MockStoreMockRecorder) DeleteCurrentStep(arg0 interface{}) *gomock.Call

DeleteCurrentStep indicates an expected call of DeleteCurrentStep.

func (*MockStoreMockRecorder) DeletePanelPostID

func (mr *MockStoreMockRecorder) DeletePanelPostID(arg0 interface{}) *gomock.Call

DeletePanelPostID indicates an expected call of DeletePanelPostID.

func (*MockStoreMockRecorder) DeleteUser

func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockStoreMockRecorder) DeleteUserEvent

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

DeleteUserEvent indicates an expected call of DeleteUserEvent.

func (*MockStoreMockRecorder) DeleteUserFromIndex

func (mr *MockStoreMockRecorder) DeleteUserFromIndex(arg0 interface{}) *gomock.Call

DeleteUserFromIndex indicates an expected call of DeleteUserFromIndex.

func (*MockStoreMockRecorder) DeleteUserSubscription

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

DeleteUserSubscription indicates an expected call of DeleteUserSubscription.

func (*MockStoreMockRecorder) DeleteUserWelcomePost

func (mr *MockStoreMockRecorder) DeleteUserWelcomePost(arg0 interface{}) *gomock.Call

DeleteUserWelcomePost indicates an expected call of DeleteUserWelcomePost.

func (*MockStoreMockRecorder) GetCurrentStep

func (mr *MockStoreMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call

GetCurrentStep indicates an expected call of GetCurrentStep.

func (*MockStoreMockRecorder) GetPanelPostID

func (mr *MockStoreMockRecorder) GetPanelPostID(arg0 interface{}) *gomock.Call

GetPanelPostID indicates an expected call of GetPanelPostID.

func (*MockStoreMockRecorder) GetPostID

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

GetPostID indicates an expected call of GetPostID.

func (*MockStoreMockRecorder) GetSetting

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

GetSetting indicates an expected call of GetSetting.

func (*MockStoreMockRecorder) LoadMattermostUserID

func (mr *MockStoreMockRecorder) LoadMattermostUserID(arg0 interface{}) *gomock.Call

LoadMattermostUserID indicates an expected call of LoadMattermostUserID.

func (*MockStoreMockRecorder) LoadSubscription

func (mr *MockStoreMockRecorder) LoadSubscription(arg0 interface{}) *gomock.Call

LoadSubscription indicates an expected call of LoadSubscription.

func (*MockStoreMockRecorder) LoadUser

func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call

LoadUser indicates an expected call of LoadUser.

func (*MockStoreMockRecorder) LoadUserEvent

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

LoadUserEvent indicates an expected call of LoadUserEvent.

func (*MockStoreMockRecorder) LoadUserFromIndex

func (mr *MockStoreMockRecorder) LoadUserFromIndex(arg0 interface{}) *gomock.Call

LoadUserFromIndex indicates an expected call of LoadUserFromIndex.

func (*MockStoreMockRecorder) LoadUserIndex

func (mr *MockStoreMockRecorder) LoadUserIndex() *gomock.Call

LoadUserIndex indicates an expected call of LoadUserIndex.

func (*MockStoreMockRecorder) LoadUserWelcomePost

func (mr *MockStoreMockRecorder) LoadUserWelcomePost(arg0 interface{}) *gomock.Call

LoadUserWelcomePost indicates an expected call of LoadUserWelcomePost.

func (*MockStoreMockRecorder) ModifyUserIndex

func (mr *MockStoreMockRecorder) ModifyUserIndex(arg0 interface{}) *gomock.Call

ModifyUserIndex indicates an expected call of ModifyUserIndex.

func (*MockStoreMockRecorder) RemovePostID

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

RemovePostID indicates an expected call of RemovePostID.

func (*MockStoreMockRecorder) SetCurrentStep

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

SetCurrentStep indicates an expected call of SetCurrentStep.

func (*MockStoreMockRecorder) SetPanelPostID

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

SetPanelPostID indicates an expected call of SetPanelPostID.

func (*MockStoreMockRecorder) SetPostID

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

SetPostID indicates an expected call of SetPostID.

func (*MockStoreMockRecorder) SetProperty

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

SetProperty indicates an expected call of SetProperty.

func (*MockStoreMockRecorder) SetSetting

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

SetSetting indicates an expected call of SetSetting.

func (*MockStoreMockRecorder) StoreOAuth2State

func (mr *MockStoreMockRecorder) StoreOAuth2State(arg0 interface{}) *gomock.Call

StoreOAuth2State indicates an expected call of StoreOAuth2State.

func (*MockStoreMockRecorder) StoreUser

func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call

StoreUser indicates an expected call of StoreUser.

func (*MockStoreMockRecorder) StoreUserActiveEvents

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

StoreUserActiveEvents indicates an expected call of StoreUserActiveEvents.

func (*MockStoreMockRecorder) StoreUserEvent

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

StoreUserEvent indicates an expected call of StoreUserEvent.

func (*MockStoreMockRecorder) StoreUserInIndex

func (mr *MockStoreMockRecorder) StoreUserInIndex(arg0 interface{}) *gomock.Call

StoreUserInIndex indicates an expected call of StoreUserInIndex.

func (*MockStoreMockRecorder) StoreUserSubscription

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

StoreUserSubscription indicates an expected call of StoreUserSubscription.

func (*MockStoreMockRecorder) StoreUserWelcomePost

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

StoreUserWelcomePost indicates an expected call of StoreUserWelcomePost.

func (*MockStoreMockRecorder) VerifyOAuth2State

func (mr *MockStoreMockRecorder) VerifyOAuth2State(arg0 interface{}) *gomock.Call

VerifyOAuth2State indicates an expected call of VerifyOAuth2State.

Jump to

Keyboard shortcuts

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