Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Index ¶
- type MockInstallationRepository
- type MockInstallationRepositoryMockRecorder
- type MockRepoRepository
- func (m *MockRepoRepository) Delete(ctx context.Context, id int64) error
- func (m *MockRepoRepository) EXPECT() *MockRepoRepositoryMockRecorder
- func (m *MockRepoRepository) Get(ctx context.Context, id int64) (*model.Repo, error)
- func (m *MockRepoRepository) List(ctx context.Context, cursor string, limit int) ([]*model.Repo, string, error)
- func (m *MockRepoRepository) Put(ctx context.Context, repo *model.Repo) error
- type MockRepoRepositoryMockRecorder
- func (mr *MockRepoRepositoryMockRecorder) Delete(ctx, id interface{}) *gomock.Call
- func (mr *MockRepoRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call
- func (mr *MockRepoRepositoryMockRecorder) List(ctx, cursor, limit interface{}) *gomock.Call
- func (mr *MockRepoRepositoryMockRecorder) Put(ctx, repo interface{}) *gomock.Call
- type MockTaskRepository
- func (m *MockTaskRepository) Delete(ctx context.Context, id int64) error
- func (m *MockTaskRepository) EXPECT() *MockTaskRepositoryMockRecorder
- func (m *MockTaskRepository) Get(ctx context.Context, id int64) (*model.Task, error)
- func (m *MockTaskRepository) List(ctx context.Context, cursor string, limit int) ([]*model.Task, string, error)
- func (m *MockTaskRepository) Put(ctx context.Context, task *model.Task) error
- type MockTaskRepositoryMockRecorder
- func (mr *MockTaskRepositoryMockRecorder) Delete(ctx, id interface{}) *gomock.Call
- func (mr *MockTaskRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call
- func (mr *MockTaskRepositoryMockRecorder) List(ctx, cursor, limit interface{}) *gomock.Call
- func (mr *MockTaskRepositoryMockRecorder) Put(ctx, task interface{}) *gomock.Call
- type MockTeamRepository
- type MockTeamRepositoryMockRecorder
- type MockUserRepository
- func (m *MockUserRepository) Delete(ctx context.Context, team *model.Team, id string) error
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) FindByGithubID(ctx context.Context, githubID string) (*model.User, error)
- func (m *MockUserRepository) FindBySlackID(ctx context.Context, githubID string) (*model.User, error)
- func (m *MockUserRepository) List(ctx context.Context, team *model.Team, cursor string, limit int) ([]*model.User, string, error)
- func (m *MockUserRepository) Put(ctx context.Context, team *model.Team, user *model.User) error
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) Delete(ctx, team, id interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) FindByGithubID(ctx, githubID interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) FindBySlackID(ctx, githubID interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) List(ctx, team, cursor, limit interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Put(ctx, team, user interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstallationRepository ¶
type MockInstallationRepository struct {
// contains filtered or unexported fields
}
MockInstallationRepository is a mock of InstallationRepository interface
func NewMockInstallationRepository ¶
func NewMockInstallationRepository(ctrl *gomock.Controller) *MockInstallationRepository
NewMockInstallationRepository creates a new mock instance
func (*MockInstallationRepository) EXPECT ¶
func (m *MockInstallationRepository) EXPECT() *MockInstallationRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstallationRepository) Get ¶
func (m *MockInstallationRepository) Get(ctx context.Context, id int64) (*model.Installation, error)
Get mocks base method
func (*MockInstallationRepository) Put ¶
func (m *MockInstallationRepository) Put(ctx context.Context, installation *model.Installation) error
Put mocks base method
type MockInstallationRepositoryMockRecorder ¶
type MockInstallationRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallationRepositoryMockRecorder is the mock recorder for MockInstallationRepository
func (*MockInstallationRepositoryMockRecorder) Get ¶
func (mr *MockInstallationRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockInstallationRepositoryMockRecorder) Put ¶
func (mr *MockInstallationRepositoryMockRecorder) Put(ctx, installation interface{}) *gomock.Call
Put indicates an expected call of Put
type MockRepoRepository ¶
type MockRepoRepository struct {
// contains filtered or unexported fields
}
MockRepoRepository is a mock of RepoRepository interface
func NewMockRepoRepository ¶
func NewMockRepoRepository(ctrl *gomock.Controller) *MockRepoRepository
NewMockRepoRepository creates a new mock instance
func (*MockRepoRepository) Delete ¶
func (m *MockRepoRepository) Delete(ctx context.Context, id int64) error
Delete mocks base method
func (*MockRepoRepository) EXPECT ¶
func (m *MockRepoRepository) EXPECT() *MockRepoRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRepoRepositoryMockRecorder ¶
type MockRepoRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoRepositoryMockRecorder is the mock recorder for MockRepoRepository
func (*MockRepoRepositoryMockRecorder) Delete ¶
func (mr *MockRepoRepositoryMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockRepoRepositoryMockRecorder) Get ¶
func (mr *MockRepoRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRepoRepositoryMockRecorder) List ¶
func (mr *MockRepoRepositoryMockRecorder) List(ctx, cursor, limit interface{}) *gomock.Call
List indicates an expected call of List
func (*MockRepoRepositoryMockRecorder) Put ¶
func (mr *MockRepoRepositoryMockRecorder) Put(ctx, repo interface{}) *gomock.Call
Put indicates an expected call of Put
type MockTaskRepository ¶
type MockTaskRepository struct {
// contains filtered or unexported fields
}
MockTaskRepository is a mock of TaskRepository interface
func NewMockTaskRepository ¶
func NewMockTaskRepository(ctrl *gomock.Controller) *MockTaskRepository
NewMockTaskRepository creates a new mock instance
func (*MockTaskRepository) Delete ¶
func (m *MockTaskRepository) Delete(ctx context.Context, id int64) error
Delete mocks base method
func (*MockTaskRepository) EXPECT ¶
func (m *MockTaskRepository) EXPECT() *MockTaskRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTaskRepositoryMockRecorder ¶
type MockTaskRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskRepositoryMockRecorder is the mock recorder for MockTaskRepository
func (*MockTaskRepositoryMockRecorder) Delete ¶
func (mr *MockTaskRepositoryMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTaskRepositoryMockRecorder) Get ¶
func (mr *MockTaskRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTaskRepositoryMockRecorder) List ¶
func (mr *MockTaskRepositoryMockRecorder) List(ctx, cursor, limit interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTaskRepositoryMockRecorder) Put ¶
func (mr *MockTaskRepositoryMockRecorder) Put(ctx, task interface{}) *gomock.Call
Put indicates an expected call of Put
type MockTeamRepository ¶
type MockTeamRepository struct {
// contains filtered or unexported fields
}
MockTeamRepository is a mock of TeamRepository interface
func NewMockTeamRepository ¶
func NewMockTeamRepository(ctrl *gomock.Controller) *MockTeamRepository
NewMockTeamRepository creates a new mock instance
func (*MockTeamRepository) EXPECT ¶
func (m *MockTeamRepository) EXPECT() *MockTeamRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTeamRepositoryMockRecorder ¶
type MockTeamRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTeamRepositoryMockRecorder is the mock recorder for MockTeamRepository
func (*MockTeamRepositoryMockRecorder) Get ¶
func (mr *MockTeamRepositoryMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTeamRepositoryMockRecorder) List ¶
func (mr *MockTeamRepositoryMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockTeamRepositoryMockRecorder) Put ¶
func (mr *MockTeamRepositoryMockRecorder) Put(ctx, team interface{}) *gomock.Call
Put indicates an expected call of Put
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of UserRepository interface
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserRepository) FindByGithubID ¶
func (m *MockUserRepository) FindByGithubID(ctx context.Context, githubID string) (*model.User, error)
FindByGithubID mocks base method
func (*MockUserRepository) FindBySlackID ¶
func (m *MockUserRepository) FindBySlackID(ctx context.Context, githubID string) (*model.User, error)
FindBySlackID mocks base method
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository
func (*MockUserRepositoryMockRecorder) Delete ¶
func (mr *MockUserRepositoryMockRecorder) Delete(ctx, team, id interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockUserRepositoryMockRecorder) FindByGithubID ¶
func (mr *MockUserRepositoryMockRecorder) FindByGithubID(ctx, githubID interface{}) *gomock.Call
FindByGithubID indicates an expected call of FindByGithubID
func (*MockUserRepositoryMockRecorder) FindBySlackID ¶
func (mr *MockUserRepositoryMockRecorder) FindBySlackID(ctx, githubID interface{}) *gomock.Call
FindBySlackID indicates an expected call of FindBySlackID
func (*MockUserRepositoryMockRecorder) List ¶
func (mr *MockUserRepositoryMockRecorder) List(ctx, team, cursor, limit interface{}) *gomock.Call
List indicates an expected call of List
func (*MockUserRepositoryMockRecorder) Put ¶
func (mr *MockUserRepositoryMockRecorder) Put(ctx, team, user interface{}) *gomock.Call
Put indicates an expected call of Put