Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./internal/db/sqlc/store.go
Generated by this command:
mockgen -source ./internal/db/sqlc/store.go -package mockdb -destination internal/db/mock/store.go Store
Package mockdb is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) CreateAbsence(ctx context.Context, arg sqlc.CreateAbsenceParams) (sqlc.Absence, error)
- func (m *MockStore) CreateCompany(ctx context.Context, name string) (sqlc.Company, error)
- func (m *MockStore) CreateEntry(ctx context.Context, arg sqlc.CreateEntryParams) (sqlc.Entry, error)
- func (m *MockStore) CreateSession(ctx context.Context, arg sqlc.CreateSessionParams) (sqlc.Session, error)
- func (m *MockStore) CreateTeam(ctx context.Context, arg sqlc.CreateTeamParams) (sqlc.Team, error)
- func (m *MockStore) CreateUser(ctx context.Context, arg sqlc.CreateUserParams) (sqlc.User, error)
- func (m *MockStore) DeleteAbsence(ctx context.Context, id int64) (sqlc.Absence, error)
- func (m *MockStore) DeleteCompany(ctx context.Context, id int64) (sqlc.Company, error)
- func (m *MockStore) DeleteEntry(ctx context.Context, id int64) (sqlc.Entry, error)
- func (m *MockStore) DeleteTeam(ctx context.Context, id int64) (sqlc.Team, error)
- func (m *MockStore) DeleteUser(ctx context.Context, id int64) (sqlc.User, error)
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAbsence(ctx context.Context, id int64) (sqlc.Absence, error)
- func (m *MockStore) GetCompany(ctx context.Context, id int64) (sqlc.Company, error)
- func (m *MockStore) GetEntry(ctx context.Context, id int64) (sqlc.Entry, error)
- func (m *MockStore) GetSession(ctx context.Context, id uuid.UUID) (sqlc.Session, error)
- func (m *MockStore) GetTeam(ctx context.Context, id int64) (sqlc.Team, error)
- func (m *MockStore) GetUser(ctx context.Context, id int64) (sqlc.User, error)
- func (m *MockStore) GetUserByEmail(ctx context.Context, email string) (sqlc.User, error)
- func (m *MockStore) GetUserByUsername(ctx context.Context, username string) (sqlc.User, error)
- func (m *MockStore) ListAbsences(ctx context.Context, arg sqlc.ListAbsencesParams) ([]sqlc.Absence, error)
- func (m *MockStore) ListCompanies(ctx context.Context, arg sqlc.ListCompaniesParams) ([]sqlc.Company, error)
- func (m *MockStore) ListCompanyEmployees(ctx context.Context, arg sqlc.ListCompanyEmployeesParams) ([]sqlc.User, error)
- func (m *MockStore) ListEntries(ctx context.Context, arg sqlc.ListEntriesParams) ([]sqlc.Entry, error)
- func (m *MockStore) ListTeamMembers(ctx context.Context, arg sqlc.ListTeamMembersParams) ([]sqlc.User, error)
- func (m *MockStore) ListTeams(ctx context.Context, arg sqlc.ListTeamsParams) ([]sqlc.Team, error)
- func (m *MockStore) ListUserAbsences(ctx context.Context, arg sqlc.ListUserAbsencesParams) ([]sqlc.Absence, error)
- func (m *MockStore) ListUserEntries(ctx context.Context, arg sqlc.ListUserEntriesParams) ([]sqlc.Entry, error)
- func (m *MockStore) ListUsers(ctx context.Context, arg sqlc.ListUsersParams) ([]sqlc.User, error)
- func (m *MockStore) SeedDatabase(ctx context.Context, config config.Config) error
- func (m *MockStore) UpdateAbsence(ctx context.Context, arg sqlc.UpdateAbsenceParams) (sqlc.Absence, error)
- func (m *MockStore) UpdateCompany(ctx context.Context, arg sqlc.UpdateCompanyParams) (sqlc.Company, error)
- func (m *MockStore) UpdateEntry(ctx context.Context, arg sqlc.UpdateEntryParams) (sqlc.Entry, error)
- func (m *MockStore) UpdateTeam(ctx context.Context, arg sqlc.UpdateTeamParams) (sqlc.Team, error)
- func (m *MockStore) UpdateUser(ctx context.Context, arg sqlc.UpdateUserParams) (sqlc.User, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) CreateAbsence(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateCompany(ctx, name any) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateEntry(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateSession(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateTeam(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateUser(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteAbsence(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteCompany(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteEntry(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteTeam(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteUser(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAbsence(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCompany(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetEntry(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSession(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTeam(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUser(ctx, id any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserByEmail(ctx, email any) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserByUsername(ctx, username any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAbsences(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListCompanies(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListCompanyEmployees(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListEntries(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListTeamMembers(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListTeams(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUserAbsences(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUserEntries(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) ListUsers(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) SeedDatabase(ctx, config any) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAbsence(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateCompany(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateEntry(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateTeam(ctx, arg any) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateUser(ctx, arg any) *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) CreateAbsence ¶
func (m *MockStore) CreateAbsence(ctx context.Context, arg sqlc.CreateAbsenceParams) (sqlc.Absence, error)
CreateAbsence mocks base method.
func (*MockStore) CreateCompany ¶
CreateCompany mocks base method.
func (*MockStore) CreateEntry ¶
func (m *MockStore) CreateEntry(ctx context.Context, arg sqlc.CreateEntryParams) (sqlc.Entry, error)
CreateEntry mocks base method.
func (*MockStore) CreateSession ¶
func (m *MockStore) CreateSession(ctx context.Context, arg sqlc.CreateSessionParams) (sqlc.Session, error)
CreateSession mocks base method.
func (*MockStore) CreateTeam ¶
CreateTeam mocks base method.
func (*MockStore) CreateUser ¶
CreateUser mocks base method.
func (*MockStore) DeleteAbsence ¶
DeleteAbsence mocks base method.
func (*MockStore) DeleteCompany ¶
DeleteCompany mocks base method.
func (*MockStore) DeleteEntry ¶
DeleteEntry mocks base method.
func (*MockStore) DeleteTeam ¶
DeleteTeam mocks base method.
func (*MockStore) DeleteUser ¶
DeleteUser 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) GetAbsence ¶
GetAbsence mocks base method.
func (*MockStore) GetCompany ¶
GetCompany mocks base method.
func (*MockStore) GetSession ¶
GetSession mocks base method.
func (*MockStore) GetUserByEmail ¶
GetUserByEmail mocks base method.
func (*MockStore) GetUserByUsername ¶
GetUserByUsername mocks base method.
func (*MockStore) ListAbsences ¶
func (m *MockStore) ListAbsences(ctx context.Context, arg sqlc.ListAbsencesParams) ([]sqlc.Absence, error)
ListAbsences mocks base method.
func (*MockStore) ListCompanies ¶
func (m *MockStore) ListCompanies(ctx context.Context, arg sqlc.ListCompaniesParams) ([]sqlc.Company, error)
ListCompanies mocks base method.
func (*MockStore) ListCompanyEmployees ¶
func (m *MockStore) ListCompanyEmployees(ctx context.Context, arg sqlc.ListCompanyEmployeesParams) ([]sqlc.User, error)
ListCompanyEmployees mocks base method.
func (*MockStore) ListEntries ¶
func (m *MockStore) ListEntries(ctx context.Context, arg sqlc.ListEntriesParams) ([]sqlc.Entry, error)
ListEntries mocks base method.
func (*MockStore) ListTeamMembers ¶
func (m *MockStore) ListTeamMembers(ctx context.Context, arg sqlc.ListTeamMembersParams) ([]sqlc.User, error)
ListTeamMembers mocks base method.
func (*MockStore) ListUserAbsences ¶
func (m *MockStore) ListUserAbsences(ctx context.Context, arg sqlc.ListUserAbsencesParams) ([]sqlc.Absence, error)
ListUserAbsences mocks base method.
func (*MockStore) ListUserEntries ¶
func (m *MockStore) ListUserEntries(ctx context.Context, arg sqlc.ListUserEntriesParams) ([]sqlc.Entry, error)
ListUserEntries mocks base method.
func (*MockStore) SeedDatabase ¶
SeedDatabase mocks base method.
func (*MockStore) UpdateAbsence ¶
func (m *MockStore) UpdateAbsence(ctx context.Context, arg sqlc.UpdateAbsenceParams) (sqlc.Absence, error)
UpdateAbsence mocks base method.
func (*MockStore) UpdateCompany ¶
func (m *MockStore) UpdateCompany(ctx context.Context, arg sqlc.UpdateCompanyParams) (sqlc.Company, error)
UpdateCompany mocks base method.
func (*MockStore) UpdateEntry ¶
func (m *MockStore) UpdateEntry(ctx context.Context, arg sqlc.UpdateEntryParams) (sqlc.Entry, error)
UpdateEntry mocks base method.
func (*MockStore) UpdateTeam ¶
UpdateTeam mocks base method.
func (*MockStore) UpdateUser ¶
UpdateUser mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) CreateAbsence ¶
func (mr *MockStoreMockRecorder) CreateAbsence(ctx, arg any) *gomock.Call
CreateAbsence indicates an expected call of CreateAbsence.
func (*MockStoreMockRecorder) CreateCompany ¶
func (mr *MockStoreMockRecorder) CreateCompany(ctx, name any) *gomock.Call
CreateCompany indicates an expected call of CreateCompany.
func (*MockStoreMockRecorder) CreateEntry ¶
func (mr *MockStoreMockRecorder) CreateEntry(ctx, arg any) *gomock.Call
CreateEntry indicates an expected call of CreateEntry.
func (*MockStoreMockRecorder) CreateSession ¶
func (mr *MockStoreMockRecorder) CreateSession(ctx, arg any) *gomock.Call
CreateSession indicates an expected call of CreateSession.
func (*MockStoreMockRecorder) CreateTeam ¶
func (mr *MockStoreMockRecorder) CreateTeam(ctx, arg any) *gomock.Call
CreateTeam indicates an expected call of CreateTeam.
func (*MockStoreMockRecorder) CreateUser ¶
func (mr *MockStoreMockRecorder) CreateUser(ctx, arg any) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockStoreMockRecorder) DeleteAbsence ¶
func (mr *MockStoreMockRecorder) DeleteAbsence(ctx, id any) *gomock.Call
DeleteAbsence indicates an expected call of DeleteAbsence.
func (*MockStoreMockRecorder) DeleteCompany ¶
func (mr *MockStoreMockRecorder) DeleteCompany(ctx, id any) *gomock.Call
DeleteCompany indicates an expected call of DeleteCompany.
func (*MockStoreMockRecorder) DeleteEntry ¶
func (mr *MockStoreMockRecorder) DeleteEntry(ctx, id any) *gomock.Call
DeleteEntry indicates an expected call of DeleteEntry.
func (*MockStoreMockRecorder) DeleteTeam ¶
func (mr *MockStoreMockRecorder) DeleteTeam(ctx, id any) *gomock.Call
DeleteTeam indicates an expected call of DeleteTeam.
func (*MockStoreMockRecorder) DeleteUser ¶
func (mr *MockStoreMockRecorder) DeleteUser(ctx, id any) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockStoreMockRecorder) GetAbsence ¶
func (mr *MockStoreMockRecorder) GetAbsence(ctx, id any) *gomock.Call
GetAbsence indicates an expected call of GetAbsence.
func (*MockStoreMockRecorder) GetCompany ¶
func (mr *MockStoreMockRecorder) GetCompany(ctx, id any) *gomock.Call
GetCompany indicates an expected call of GetCompany.
func (*MockStoreMockRecorder) GetEntry ¶
func (mr *MockStoreMockRecorder) GetEntry(ctx, id any) *gomock.Call
GetEntry indicates an expected call of GetEntry.
func (*MockStoreMockRecorder) GetSession ¶
func (mr *MockStoreMockRecorder) GetSession(ctx, id any) *gomock.Call
GetSession indicates an expected call of GetSession.
func (*MockStoreMockRecorder) GetTeam ¶
func (mr *MockStoreMockRecorder) GetTeam(ctx, id any) *gomock.Call
GetTeam indicates an expected call of GetTeam.
func (*MockStoreMockRecorder) GetUser ¶
func (mr *MockStoreMockRecorder) GetUser(ctx, id any) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockStoreMockRecorder) GetUserByEmail ¶
func (mr *MockStoreMockRecorder) GetUserByEmail(ctx, email any) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockStoreMockRecorder) GetUserByUsername ¶
func (mr *MockStoreMockRecorder) GetUserByUsername(ctx, username any) *gomock.Call
GetUserByUsername indicates an expected call of GetUserByUsername.
func (*MockStoreMockRecorder) ListAbsences ¶
func (mr *MockStoreMockRecorder) ListAbsences(ctx, arg any) *gomock.Call
ListAbsences indicates an expected call of ListAbsences.
func (*MockStoreMockRecorder) ListCompanies ¶
func (mr *MockStoreMockRecorder) ListCompanies(ctx, arg any) *gomock.Call
ListCompanies indicates an expected call of ListCompanies.
func (*MockStoreMockRecorder) ListCompanyEmployees ¶
func (mr *MockStoreMockRecorder) ListCompanyEmployees(ctx, arg any) *gomock.Call
ListCompanyEmployees indicates an expected call of ListCompanyEmployees.
func (*MockStoreMockRecorder) ListEntries ¶
func (mr *MockStoreMockRecorder) ListEntries(ctx, arg any) *gomock.Call
ListEntries indicates an expected call of ListEntries.
func (*MockStoreMockRecorder) ListTeamMembers ¶
func (mr *MockStoreMockRecorder) ListTeamMembers(ctx, arg any) *gomock.Call
ListTeamMembers indicates an expected call of ListTeamMembers.
func (*MockStoreMockRecorder) ListTeams ¶
func (mr *MockStoreMockRecorder) ListTeams(ctx, arg any) *gomock.Call
ListTeams indicates an expected call of ListTeams.
func (*MockStoreMockRecorder) ListUserAbsences ¶
func (mr *MockStoreMockRecorder) ListUserAbsences(ctx, arg any) *gomock.Call
ListUserAbsences indicates an expected call of ListUserAbsences.
func (*MockStoreMockRecorder) ListUserEntries ¶
func (mr *MockStoreMockRecorder) ListUserEntries(ctx, arg any) *gomock.Call
ListUserEntries indicates an expected call of ListUserEntries.
func (*MockStoreMockRecorder) ListUsers ¶
func (mr *MockStoreMockRecorder) ListUsers(ctx, arg any) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockStoreMockRecorder) SeedDatabase ¶
func (mr *MockStoreMockRecorder) SeedDatabase(ctx, config any) *gomock.Call
SeedDatabase indicates an expected call of SeedDatabase.
func (*MockStoreMockRecorder) UpdateAbsence ¶
func (mr *MockStoreMockRecorder) UpdateAbsence(ctx, arg any) *gomock.Call
UpdateAbsence indicates an expected call of UpdateAbsence.
func (*MockStoreMockRecorder) UpdateCompany ¶
func (mr *MockStoreMockRecorder) UpdateCompany(ctx, arg any) *gomock.Call
UpdateCompany indicates an expected call of UpdateCompany.
func (*MockStoreMockRecorder) UpdateEntry ¶
func (mr *MockStoreMockRecorder) UpdateEntry(ctx, arg any) *gomock.Call
UpdateEntry indicates an expected call of UpdateEntry.
func (*MockStoreMockRecorder) UpdateTeam ¶
func (mr *MockStoreMockRecorder) UpdateTeam(ctx, arg any) *gomock.Call
UpdateTeam indicates an expected call of UpdateTeam.
func (*MockStoreMockRecorder) UpdateUser ¶
func (mr *MockStoreMockRecorder) UpdateUser(ctx, arg any) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.