Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) DeleteCurrentStep(arg0 string) error
- func (m *MockStore) DeletePanelPostID(arg0 string) error
- func (m *MockStore) DeleteUser(arg0 string) error
- func (m *MockStore) DeleteUserEvent(arg0, arg1 string) error
- func (m *MockStore) DeleteUserFromIndex(arg0 string) error
- func (m *MockStore) DeleteUserSubscription(arg0 *store.User, arg1 string) error
- func (m *MockStore) DeleteUserWelcomePost(arg0 string) (string, error)
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetCurrentStep(arg0 string) (int, error)
- func (m *MockStore) GetPanelPostID(arg0 string) (string, error)
- func (m *MockStore) GetPostID(arg0, arg1 string) (string, error)
- func (m *MockStore) GetSetting(arg0, arg1 string) (interface{}, error)
- func (m *MockStore) LoadMattermostUserID(arg0 string) (string, error)
- func (m *MockStore) LoadSubscription(arg0 string) (*store.Subscription, error)
- func (m *MockStore) LoadUser(arg0 string) (*store.User, error)
- func (m *MockStore) LoadUserEvent(arg0, arg1 string) (*store.Event, error)
- func (m *MockStore) LoadUserFromIndex(arg0 string) (*store.UserShort, error)
- func (m *MockStore) LoadUserIndex() (store.UserIndex, error)
- func (m *MockStore) LoadUserWelcomePost(arg0 string) (string, error)
- func (m *MockStore) ModifyUserIndex(arg0 func(store.UserIndex) (store.UserIndex, error)) error
- func (m *MockStore) RemovePostID(arg0, arg1 string) error
- func (m *MockStore) SetCurrentStep(arg0 string, arg1 int) error
- func (m *MockStore) SetPanelPostID(arg0, arg1 string) error
- func (m *MockStore) SetPostID(arg0, arg1, arg2 string) error
- func (m *MockStore) SetProperty(arg0, arg1 string, arg2 bool) error
- func (m *MockStore) SetSetting(arg0, arg1 string, arg2 interface{}) error
- func (m *MockStore) StoreOAuth2State(arg0 string) error
- func (m *MockStore) StoreUser(arg0 *store.User) error
- func (m *MockStore) StoreUserActiveEvents(arg0 string, arg1 []string) error
- func (m *MockStore) StoreUserEvent(arg0 string, arg1 *store.Event) error
- func (m *MockStore) StoreUserInIndex(arg0 *store.User) error
- func (m *MockStore) StoreUserSubscription(arg0 *store.User, arg1 *store.Subscription) error
- func (m *MockStore) StoreUserWelcomePost(arg0, arg1 string) error
- func (m *MockStore) VerifyOAuth2State(arg0 string) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteCurrentStep(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeletePanelPostID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUserEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUserFromIndex(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUserSubscription(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUserWelcomePost(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPanelPostID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPostID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSetting(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadMattermostUserID(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadSubscription(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUserEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUserFromIndex(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUserIndex() *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUserWelcomePost(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ModifyUserIndex(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemovePostID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetCurrentStep(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPanelPostID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPostID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetProperty(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetSetting(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreOAuth2State(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUserActiveEvents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUserEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUserInIndex(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUserSubscription(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUserWelcomePost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) VerifyOAuth2State(arg0 interface{}) *gomock.Call
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 ¶
DeleteCurrentStep mocks base method.
func (*MockStore) DeletePanelPostID ¶
DeletePanelPostID mocks base method.
func (*MockStore) DeleteUser ¶
DeleteUser mocks base method.
func (*MockStore) DeleteUserEvent ¶
DeleteUserEvent mocks base method.
func (*MockStore) DeleteUserFromIndex ¶
DeleteUserFromIndex mocks base method.
func (*MockStore) DeleteUserSubscription ¶
DeleteUserSubscription mocks base method.
func (*MockStore) DeleteUserWelcomePost ¶
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 ¶
GetCurrentStep mocks base method.
func (*MockStore) GetPanelPostID ¶
GetPanelPostID mocks base method.
func (*MockStore) GetSetting ¶
GetSetting mocks base method.
func (*MockStore) LoadMattermostUserID ¶
LoadMattermostUserID mocks base method.
func (*MockStore) LoadSubscription ¶
func (m *MockStore) LoadSubscription(arg0 string) (*store.Subscription, error)
LoadSubscription mocks base method.
func (*MockStore) LoadUserEvent ¶
LoadUserEvent mocks base method.
func (*MockStore) LoadUserFromIndex ¶
LoadUserFromIndex mocks base method.
func (*MockStore) LoadUserIndex ¶
LoadUserIndex mocks base method.
func (*MockStore) LoadUserWelcomePost ¶
LoadUserWelcomePost mocks base method.
func (*MockStore) ModifyUserIndex ¶
ModifyUserIndex mocks base method.
func (*MockStore) RemovePostID ¶
RemovePostID mocks base method.
func (*MockStore) SetCurrentStep ¶
SetCurrentStep mocks base method.
func (*MockStore) SetPanelPostID ¶
SetPanelPostID mocks base method.
func (*MockStore) SetProperty ¶
SetProperty mocks base method.
func (*MockStore) SetSetting ¶
SetSetting mocks base method.
func (*MockStore) StoreOAuth2State ¶
StoreOAuth2State mocks base method.
func (*MockStore) StoreUserActiveEvents ¶
StoreUserActiveEvents mocks base method.
func (*MockStore) StoreUserEvent ¶
StoreUserEvent mocks base method.
func (*MockStore) StoreUserInIndex ¶
StoreUserInIndex mocks base method.
func (*MockStore) StoreUserSubscription ¶
StoreUserSubscription mocks base method.
func (*MockStore) StoreUserWelcomePost ¶
StoreUserWelcomePost mocks base method.
func (*MockStore) VerifyOAuth2State ¶
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.