Documentation ¶
Overview ¶
Package mock_app is a generated GoMock package.
Package mock_app is a generated GoMock package.
Index ¶
- type MockPolicyService
- func (m *MockPolicyService) EXPECT() *MockPolicyServiceMockRecorder
- func (m *MockPolicyService) ExpandPolicyAndNormalize() (*app.ExpanedPolicyWithId, error)
- func (m *MockPolicyService) GetPolicy() app.Policy
- func (m *MockPolicyService) LoadFromConfig() error
- func (m *MockPolicyService) LoadFromYaml(yamlStr string) error
- type MockPolicyServiceMockRecorder
- func (mr *MockPolicyServiceMockRecorder) ExpandPolicyAndNormalize() *gomock.Call
- func (mr *MockPolicyServiceMockRecorder) GetPolicy() *gomock.Call
- func (mr *MockPolicyServiceMockRecorder) LoadFromConfig() *gomock.Call
- func (mr *MockPolicyServiceMockRecorder) LoadFromYaml(yamlStr interface{}) *gomock.Call
- type MockPruneService
- type MockPruneServiceMockRecorder
- type MockPruneStore
- func (m *MockPruneStore) CutDeletedRoots(chid string, opt app.Options) (int, error)
- func (m *MockPruneStore) CutRoots(chid string, opt app.Options) (int, error)
- func (m *MockPruneStore) CutThreads(chid string, opt app.Options) (int, error)
- func (m *MockPruneStore) EXPECT() *MockPruneStoreMockRecorder
- func (m *MockPruneStore) GetAllChannelsForTeam(teamID string) ([]*model.Channel, error)
- func (m *MockPruneStore) GetFilesMap() (app.FilesMap, error)
- func (m *MockPruneStore) SweepFileInfos(chid string) (int, error)
- func (m *MockPruneStore) SweepFiles(chid string, fm app.FilesMap) (int, error)
- func (m *MockPruneStore) SweepPreferences(chid string) (int, error)
- func (m *MockPruneStore) SweepReactions(chid string) (int, error)
- func (m *MockPruneStore) SweepThreads(chid string) (int, error)
- type MockPruneStoreMockRecorder
- func (mr *MockPruneStoreMockRecorder) CutDeletedRoots(chid, opt interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) CutRoots(chid, opt interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) CutThreads(chid, opt interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) GetAllChannelsForTeam(teamID interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) GetFilesMap() *gomock.Call
- func (mr *MockPruneStoreMockRecorder) SweepFileInfos(chid interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) SweepFiles(chid, fm interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) SweepPreferences(chid interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) SweepReactions(chid interface{}) *gomock.Call
- func (mr *MockPruneStoreMockRecorder) SweepThreads(chid interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPolicyService ¶
type MockPolicyService struct {
// contains filtered or unexported fields
}
MockPolicyService is a mock of PolicyService interface.
func NewMockPolicyService ¶
func NewMockPolicyService(ctrl *gomock.Controller) *MockPolicyService
NewMockPolicyService creates a new mock instance.
func (*MockPolicyService) EXPECT ¶
func (m *MockPolicyService) EXPECT() *MockPolicyServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPolicyService) ExpandPolicyAndNormalize ¶
func (m *MockPolicyService) ExpandPolicyAndNormalize() (*app.ExpanedPolicyWithId, error)
ExpandPolicyAndNormalize mocks base method.
func (*MockPolicyService) GetPolicy ¶
func (m *MockPolicyService) GetPolicy() app.Policy
GetPolicy mocks base method.
func (*MockPolicyService) LoadFromConfig ¶
func (m *MockPolicyService) LoadFromConfig() error
LoadFromConfig mocks base method.
func (*MockPolicyService) LoadFromYaml ¶
func (m *MockPolicyService) LoadFromYaml(yamlStr string) error
LoadFromYaml mocks base method.
type MockPolicyServiceMockRecorder ¶
type MockPolicyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPolicyServiceMockRecorder is the mock recorder for MockPolicyService.
func (*MockPolicyServiceMockRecorder) ExpandPolicyAndNormalize ¶
func (mr *MockPolicyServiceMockRecorder) ExpandPolicyAndNormalize() *gomock.Call
ExpandPolicyAndNormalize indicates an expected call of ExpandPolicyAndNormalize.
func (*MockPolicyServiceMockRecorder) GetPolicy ¶
func (mr *MockPolicyServiceMockRecorder) GetPolicy() *gomock.Call
GetPolicy indicates an expected call of GetPolicy.
func (*MockPolicyServiceMockRecorder) LoadFromConfig ¶
func (mr *MockPolicyServiceMockRecorder) LoadFromConfig() *gomock.Call
LoadFromConfig indicates an expected call of LoadFromConfig.
func (*MockPolicyServiceMockRecorder) LoadFromYaml ¶
func (mr *MockPolicyServiceMockRecorder) LoadFromYaml(yamlStr interface{}) *gomock.Call
LoadFromYaml indicates an expected call of LoadFromYaml.
type MockPruneService ¶
type MockPruneService struct {
// contains filtered or unexported fields
}
MockPruneService is a mock of PruneService interface.
func NewMockPruneService ¶
func NewMockPruneService(ctrl *gomock.Controller) *MockPruneService
NewMockPruneService creates a new mock instance.
func (*MockPruneService) EXPECT ¶
func (m *MockPruneService) EXPECT() *MockPruneServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPruneServiceMockRecorder ¶
type MockPruneServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPruneServiceMockRecorder is the mock recorder for MockPruneService.
func (*MockPruneServiceMockRecorder) Start ¶
func (mr *MockPruneServiceMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
type MockPruneStore ¶
type MockPruneStore struct {
// contains filtered or unexported fields
}
MockPruneStore is a mock of PruneStore interface.
func NewMockPruneStore ¶
func NewMockPruneStore(ctrl *gomock.Controller) *MockPruneStore
NewMockPruneStore creates a new mock instance.
func (*MockPruneStore) CutDeletedRoots ¶
CutDeletedRoots mocks base method.
func (*MockPruneStore) CutThreads ¶
CutThreads mocks base method.
func (*MockPruneStore) EXPECT ¶
func (m *MockPruneStore) EXPECT() *MockPruneStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPruneStore) GetAllChannelsForTeam ¶
func (m *MockPruneStore) GetAllChannelsForTeam(teamID string) ([]*model.Channel, error)
GetAllChannelsForTeam mocks base method.
func (*MockPruneStore) GetFilesMap ¶
func (m *MockPruneStore) GetFilesMap() (app.FilesMap, error)
GetFilesMap mocks base method.
func (*MockPruneStore) SweepFileInfos ¶
func (m *MockPruneStore) SweepFileInfos(chid string) (int, error)
SweepFileInfos mocks base method.
func (*MockPruneStore) SweepFiles ¶
SweepFiles mocks base method.
func (*MockPruneStore) SweepPreferences ¶
func (m *MockPruneStore) SweepPreferences(chid string) (int, error)
SweepPreferences mocks base method.
func (*MockPruneStore) SweepReactions ¶
func (m *MockPruneStore) SweepReactions(chid string) (int, error)
SweepReactions mocks base method.
func (*MockPruneStore) SweepThreads ¶
func (m *MockPruneStore) SweepThreads(chid string) (int, error)
SweepThreads mocks base method.
type MockPruneStoreMockRecorder ¶
type MockPruneStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPruneStoreMockRecorder is the mock recorder for MockPruneStore.
func (*MockPruneStoreMockRecorder) CutDeletedRoots ¶
func (mr *MockPruneStoreMockRecorder) CutDeletedRoots(chid, opt interface{}) *gomock.Call
CutDeletedRoots indicates an expected call of CutDeletedRoots.
func (*MockPruneStoreMockRecorder) CutRoots ¶
func (mr *MockPruneStoreMockRecorder) CutRoots(chid, opt interface{}) *gomock.Call
CutRoots indicates an expected call of CutRoots.
func (*MockPruneStoreMockRecorder) CutThreads ¶
func (mr *MockPruneStoreMockRecorder) CutThreads(chid, opt interface{}) *gomock.Call
CutThreads indicates an expected call of CutThreads.
func (*MockPruneStoreMockRecorder) GetAllChannelsForTeam ¶
func (mr *MockPruneStoreMockRecorder) GetAllChannelsForTeam(teamID interface{}) *gomock.Call
GetAllChannelsForTeam indicates an expected call of GetAllChannelsForTeam.
func (*MockPruneStoreMockRecorder) GetFilesMap ¶
func (mr *MockPruneStoreMockRecorder) GetFilesMap() *gomock.Call
GetFilesMap indicates an expected call of GetFilesMap.
func (*MockPruneStoreMockRecorder) SweepFileInfos ¶
func (mr *MockPruneStoreMockRecorder) SweepFileInfos(chid interface{}) *gomock.Call
SweepFileInfos indicates an expected call of SweepFileInfos.
func (*MockPruneStoreMockRecorder) SweepFiles ¶
func (mr *MockPruneStoreMockRecorder) SweepFiles(chid, fm interface{}) *gomock.Call
SweepFiles indicates an expected call of SweepFiles.
func (*MockPruneStoreMockRecorder) SweepPreferences ¶
func (mr *MockPruneStoreMockRecorder) SweepPreferences(chid interface{}) *gomock.Call
SweepPreferences indicates an expected call of SweepPreferences.
func (*MockPruneStoreMockRecorder) SweepReactions ¶
func (mr *MockPruneStoreMockRecorder) SweepReactions(chid interface{}) *gomock.Call
SweepReactions indicates an expected call of SweepReactions.
func (*MockPruneStoreMockRecorder) SweepThreads ¶
func (mr *MockPruneStoreMockRecorder) SweepThreads(chid interface{}) *gomock.Call
SweepThreads indicates an expected call of SweepThreads.