mock_repository

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 4 Imported by: 0

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInstallationRepository) Get

Get mocks base method

func (*MockInstallationRepository) Put

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepoRepository) Get

func (m *MockRepoRepository) Get(ctx context.Context, id int64) (*model.Repo, error)

Get mocks base method

func (*MockRepoRepository) List

func (m *MockRepoRepository) List(ctx context.Context, cursor string, limit int) ([]*model.Repo, string, error)

List mocks base method

func (*MockRepoRepository) Put

func (m *MockRepoRepository) Put(ctx context.Context, repo *model.Repo) error

Put mocks base method

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTaskRepository) Get

func (m *MockTaskRepository) Get(ctx context.Context, id int64) (*model.Task, error)

Get mocks base method

func (*MockTaskRepository) List

func (m *MockTaskRepository) List(ctx context.Context, cursor string, limit int) ([]*model.Task, string, error)

List mocks base method

func (*MockTaskRepository) Put

func (m *MockTaskRepository) Put(ctx context.Context, task *model.Task) error

Put mocks base method

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTeamRepository) Get

func (m *MockTeamRepository) Get(ctx context.Context, id string) (*model.Team, error)

Get mocks base method

func (*MockTeamRepository) List

func (m *MockTeamRepository) List()

List mocks base method

func (*MockTeamRepository) Put

func (m *MockTeamRepository) Put(ctx context.Context, team *model.Team) error

Put mocks base method

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

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) Delete

func (m *MockUserRepository) Delete(ctx context.Context, team *model.Team, id string) error

Delete mocks base method

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) List

func (m *MockUserRepository) List(ctx context.Context, team *model.Team, cursor string, limit int) ([]*model.User, string, error)

List mocks base method

func (*MockUserRepository) Put

func (m *MockUserRepository) Put(ctx context.Context, team *model.Team, user *model.User) error

Put 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL