mocks

package
v0.0.0-...-f8ac4ba Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitClient

type MockGitClient struct {
	// contains filtered or unexported fields
}

MockGitClient is a mock of GitClient interface.

func NewMockGitClient

func NewMockGitClient(ctrl *gomock.Controller) *MockGitClient

NewMockGitClient creates a new mock instance.

func (*MockGitClient) CreateCommit

func (m *MockGitClient) CreateCommit(arg0 context.Context, arg1, arg2 string, arg3 *github.Commit) (*github.Commit, *github.Response, error)

CreateCommit mocks base method.

func (*MockGitClient) CreateRef

func (m *MockGitClient) CreateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference) (*github.Reference, *github.Response, error)

CreateRef mocks base method.

func (*MockGitClient) CreateTree

func (m *MockGitClient) CreateTree(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*github.TreeEntry) (*github.Tree, *github.Response, error)

CreateTree mocks base method.

func (*MockGitClient) EXPECT

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

func (*MockGitClient) GetRef

func (m *MockGitClient) GetRef(arg0 context.Context, arg1, arg2, arg3 string) (*github.Reference, *github.Response, error)

GetRef mocks base method.

func (*MockGitClient) UpdateRef

func (m *MockGitClient) UpdateRef(arg0 context.Context, arg1, arg2 string, arg3 *github.Reference, arg4 bool) (*github.Reference, *github.Response, error)

UpdateRef mocks base method.

type MockGitClientMockRecorder

type MockGitClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitClientMockRecorder is the mock recorder for MockGitClient.

func (*MockGitClientMockRecorder) CreateCommit

func (mr *MockGitClientMockRecorder) CreateCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateCommit indicates an expected call of CreateCommit.

func (*MockGitClientMockRecorder) CreateRef

func (mr *MockGitClientMockRecorder) CreateRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateRef indicates an expected call of CreateRef.

func (*MockGitClientMockRecorder) CreateTree

func (mr *MockGitClientMockRecorder) CreateTree(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateTree indicates an expected call of CreateTree.

func (*MockGitClientMockRecorder) GetRef

func (mr *MockGitClientMockRecorder) GetRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetRef indicates an expected call of GetRef.

func (*MockGitClientMockRecorder) UpdateRef

func (mr *MockGitClientMockRecorder) UpdateRef(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdateRef indicates an expected call of UpdateRef.

type MockIssueClient

type MockIssueClient struct {
	// contains filtered or unexported fields
}

MockIssueClient is a mock of IssueClient interface.

func NewMockIssueClient

func NewMockIssueClient(ctrl *gomock.Controller) *MockIssueClient

NewMockIssueClient creates a new mock instance.

func (*MockIssueClient) Create

func (m *MockIssueClient) Create(arg0 context.Context, arg1, arg2 string, arg3 *github.IssueRequest) (*github.Issue, *github.Response, error)

Create mocks base method.

func (*MockIssueClient) EXPECT

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

func (*MockIssueClient) Get

func (m *MockIssueClient) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.Issue, *github.Response, error)

Get mocks base method.

type MockIssueClientMockRecorder

type MockIssueClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockIssueClientMockRecorder is the mock recorder for MockIssueClient.

func (*MockIssueClientMockRecorder) Create

func (mr *MockIssueClientMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIssueClientMockRecorder) Get

func (mr *MockIssueClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockPullRequestClient

type MockPullRequestClient struct {
	// contains filtered or unexported fields
}

MockPullRequestClient is a mock of PullRequestClient interface.

func NewMockPullRequestClient

func NewMockPullRequestClient(ctrl *gomock.Controller) *MockPullRequestClient

NewMockPullRequestClient creates a new mock instance.

func (*MockPullRequestClient) Create

Create mocks base method.

func (*MockPullRequestClient) EXPECT

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

func (*MockPullRequestClient) Get

func (m *MockPullRequestClient) Get(arg0 context.Context, arg1, arg2 string, arg3 int) (*github.PullRequest, *github.Response, error)

Get mocks base method.

func (*MockPullRequestClient) List

List mocks base method.

type MockPullRequestClientMockRecorder

type MockPullRequestClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockPullRequestClientMockRecorder is the mock recorder for MockPullRequestClient.

func (*MockPullRequestClientMockRecorder) Create

func (mr *MockPullRequestClientMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPullRequestClientMockRecorder) Get

func (mr *MockPullRequestClientMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockPullRequestClientMockRecorder) List

func (mr *MockPullRequestClientMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

List indicates an expected call of List.

type MockRepoClient

type MockRepoClient struct {
	// contains filtered or unexported fields
}

MockRepoClient is a mock of RepoClient interface.

func NewMockRepoClient

func NewMockRepoClient(ctrl *gomock.Controller) *MockRepoClient

NewMockRepoClient creates a new mock instance.

func (*MockRepoClient) EXPECT

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

func (*MockRepoClient) GetCommit

func (m *MockRepoClient) GetCommit(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)

GetCommit mocks base method.

func (*MockRepoClient) GetContents

GetContents mocks base method.

type MockRepoClientMockRecorder

type MockRepoClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepoClientMockRecorder is the mock recorder for MockRepoClient.

func (*MockRepoClientMockRecorder) GetCommit

func (mr *MockRepoClientMockRecorder) GetCommit(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetCommit indicates an expected call of GetCommit.

func (*MockRepoClientMockRecorder) GetContents

func (mr *MockRepoClientMockRecorder) GetContents(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetContents indicates an expected call of GetContents.

Jump to

Keyboard shortcuts

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