Documentation ¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockQuerier
- func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder
- func (m *MockQuerier) FindApiKeyByName(arg0 context.Context, arg1 string) (*models.APIKey, error)
- func (m *MockQuerier) FindGroupByName(arg0 context.Context, arg1 string) (*models.Group, error)
- func (m *MockQuerier) FindLocaleByName(arg0 context.Context, arg1 string) (*models.Locale, error)
- func (m *MockQuerier) GetAllBlogs(arg0 context.Context, arg1 string) ([]db.MemberBlogBind, error)
- func (m *MockQuerier) GetAllFormations(arg0 context.Context, arg1 string) ([]db.PositionSongsBind, error)
- func (m *MockQuerier) GetAllGroups(arg0 context.Context) ([]*models.Group, error)
- func (m *MockQuerier) GetAllMemberInfos(arg0 context.Context, arg1 string, arg2 int, arg3 util.SortKey, arg4 bool) ([]db.MemberInfoBind, error)
- func (m *MockQuerier) GetAllPositions(arg0 context.Context, arg1 string) ([]db.MemberInfoBind, error)
- func (m *MockQuerier) GetAllSongs(arg0 context.Context, arg1 string) (models.SongSlice, error)
- func (m *MockQuerier) GetCenter(arg0 context.Context, arg1 string) []string
- func (m *MockQuerier) GetFormations(arg0 context.Context, arg1 string) ([]db.PositionSongsBind, error)
- func (m *MockQuerier) GetPositionFromTitle(arg0 context.Context, arg1 string) ([]db.PositionMemberBind, error)
- func (m *MockQuerier) InsertApiKey(arg0 context.Context, arg1 string) error
- type MockQuerierMockRecorder
- func (mr *MockQuerierMockRecorder) FindApiKeyByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) FindGroupByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) FindLocaleByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetAllBlogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetAllFormations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetAllGroups(arg0 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetAllMemberInfos(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetAllPositions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetAllSongs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetCenter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetFormations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) GetPositionFromTitle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQuerierMockRecorder) InsertApiKey(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQuerier ¶
type MockQuerier struct {
// contains filtered or unexported fields
}
MockQuerier is a mock of Querier interface.
func NewMockQuerier ¶
func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier
NewMockQuerier creates a new mock instance.
func (*MockQuerier) EXPECT ¶
func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQuerier) FindApiKeyByName ¶
FindApiKeyByName mocks base method.
func (*MockQuerier) FindGroupByName ¶
FindGroupByName mocks base method.
func (*MockQuerier) FindLocaleByName ¶
FindLocaleByName mocks base method.
func (*MockQuerier) GetAllBlogs ¶
func (m *MockQuerier) GetAllBlogs(arg0 context.Context, arg1 string) ([]db.MemberBlogBind, error)
GetAllBlogs mocks base method.
func (*MockQuerier) GetAllFormations ¶
func (m *MockQuerier) GetAllFormations(arg0 context.Context, arg1 string) ([]db.PositionSongsBind, error)
GetAllFormations mocks base method.
func (*MockQuerier) GetAllGroups ¶
GetAllGroups mocks base method.
func (*MockQuerier) GetAllMemberInfos ¶
func (m *MockQuerier) GetAllMemberInfos(arg0 context.Context, arg1 string, arg2 int, arg3 util.SortKey, arg4 bool) ([]db.MemberInfoBind, error)
GetAllMemberInfos mocks base method.
func (*MockQuerier) GetAllPositions ¶
func (m *MockQuerier) GetAllPositions(arg0 context.Context, arg1 string) ([]db.MemberInfoBind, error)
GetAllPositions mocks base method.
func (*MockQuerier) GetAllSongs ¶
GetAllSongs mocks base method.
func (*MockQuerier) GetCenter ¶
func (m *MockQuerier) GetCenter(arg0 context.Context, arg1 string) []string
GetCenter mocks base method.
func (*MockQuerier) GetFormations ¶
func (m *MockQuerier) GetFormations(arg0 context.Context, arg1 string) ([]db.PositionSongsBind, error)
GetFormations mocks base method.
func (*MockQuerier) GetPositionFromTitle ¶
func (m *MockQuerier) GetPositionFromTitle(arg0 context.Context, arg1 string) ([]db.PositionMemberBind, error)
GetPositionFromTitle mocks base method.
func (*MockQuerier) InsertApiKey ¶
func (m *MockQuerier) InsertApiKey(arg0 context.Context, arg1 string) error
InsertApiKey mocks base method.
type MockQuerierMockRecorder ¶
type MockQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockQuerierMockRecorder is the mock recorder for MockQuerier.
func (*MockQuerierMockRecorder) FindApiKeyByName ¶
func (mr *MockQuerierMockRecorder) FindApiKeyByName(arg0, arg1 interface{}) *gomock.Call
FindApiKeyByName indicates an expected call of FindApiKeyByName.
func (*MockQuerierMockRecorder) FindGroupByName ¶
func (mr *MockQuerierMockRecorder) FindGroupByName(arg0, arg1 interface{}) *gomock.Call
FindGroupByName indicates an expected call of FindGroupByName.
func (*MockQuerierMockRecorder) FindLocaleByName ¶
func (mr *MockQuerierMockRecorder) FindLocaleByName(arg0, arg1 interface{}) *gomock.Call
FindLocaleByName indicates an expected call of FindLocaleByName.
func (*MockQuerierMockRecorder) GetAllBlogs ¶
func (mr *MockQuerierMockRecorder) GetAllBlogs(arg0, arg1 interface{}) *gomock.Call
GetAllBlogs indicates an expected call of GetAllBlogs.
func (*MockQuerierMockRecorder) GetAllFormations ¶
func (mr *MockQuerierMockRecorder) GetAllFormations(arg0, arg1 interface{}) *gomock.Call
GetAllFormations indicates an expected call of GetAllFormations.
func (*MockQuerierMockRecorder) GetAllGroups ¶
func (mr *MockQuerierMockRecorder) GetAllGroups(arg0 interface{}) *gomock.Call
GetAllGroups indicates an expected call of GetAllGroups.
func (*MockQuerierMockRecorder) GetAllMemberInfos ¶
func (mr *MockQuerierMockRecorder) GetAllMemberInfos(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetAllMemberInfos indicates an expected call of GetAllMemberInfos.
func (*MockQuerierMockRecorder) GetAllPositions ¶
func (mr *MockQuerierMockRecorder) GetAllPositions(arg0, arg1 interface{}) *gomock.Call
GetAllPositions indicates an expected call of GetAllPositions.
func (*MockQuerierMockRecorder) GetAllSongs ¶
func (mr *MockQuerierMockRecorder) GetAllSongs(arg0, arg1 interface{}) *gomock.Call
GetAllSongs indicates an expected call of GetAllSongs.
func (*MockQuerierMockRecorder) GetCenter ¶
func (mr *MockQuerierMockRecorder) GetCenter(arg0, arg1 interface{}) *gomock.Call
GetCenter indicates an expected call of GetCenter.
func (*MockQuerierMockRecorder) GetFormations ¶
func (mr *MockQuerierMockRecorder) GetFormations(arg0, arg1 interface{}) *gomock.Call
GetFormations indicates an expected call of GetFormations.
func (*MockQuerierMockRecorder) GetPositionFromTitle ¶
func (mr *MockQuerierMockRecorder) GetPositionFromTitle(arg0, arg1 interface{}) *gomock.Call
GetPositionFromTitle indicates an expected call of GetPositionFromTitle.
func (*MockQuerierMockRecorder) InsertApiKey ¶
func (mr *MockQuerierMockRecorder) InsertApiKey(arg0, arg1 interface{}) *gomock.Call
InsertApiKey indicates an expected call of InsertApiKey.