mock_github

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_github is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) CreateBlob

func (m *MockInterface) CreateBlob(arg0 context.Context, arg1 git.NewBlob) (git.BlobSHA, error)

CreateBlob mocks base method

func (*MockInterface) CreateBranch

func (m *MockInterface) CreateBranch(arg0 context.Context, arg1 github.CreateBranchInput) error

CreateBranch mocks base method

func (*MockInterface) CreateCommit

func (m *MockInterface) CreateCommit(arg0 context.Context, arg1 git.NewCommit) (git.CommitSHA, error)

CreateCommit mocks base method

func (*MockInterface) CreateFork

func (m *MockInterface) CreateFork(arg0 context.Context, arg1 git.RepositoryID) (*git.RepositoryID, error)

CreateFork mocks base method

func (*MockInterface) CreatePullRequest

CreatePullRequest mocks base method

func (*MockInterface) CreateRelease

func (m *MockInterface) CreateRelease(arg0 context.Context, arg1 git.Release) (*git.Release, error)

CreateRelease mocks base method

func (*MockInterface) CreateReleaseAsset

func (m *MockInterface) CreateReleaseAsset(arg0 context.Context, arg1 git.ReleaseAsset) error

CreateReleaseAsset mocks base method

func (*MockInterface) CreateTree

func (m *MockInterface) CreateTree(arg0 context.Context, arg1 git.NewTree) (git.TreeSHA, error)

CreateTree mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) GetReleaseByTagOrNil

func (m *MockInterface) GetReleaseByTagOrNil(arg0 context.Context, arg1 git.RepositoryID, arg2 git.TagName) (*git.Release, error)

GetReleaseByTagOrNil mocks base method

func (*MockInterface) QueryCommit

QueryCommit mocks base method

func (*MockInterface) QueryDefaultBranch

QueryDefaultBranch mocks base method

func (*MockInterface) QueryForCommit

QueryForCommit mocks base method

func (*MockInterface) QueryForPullRequest

QueryForPullRequest mocks base method

func (*MockInterface) RequestPullRequestReview added in v1.11.0

func (m *MockInterface) RequestPullRequestReview(arg0 context.Context, arg1 github.RequestPullRequestReviewInput) error

RequestPullRequestReview mocks base method

func (*MockInterface) UpdateBranch

func (m *MockInterface) UpdateBranch(arg0 context.Context, arg1 github.UpdateBranchInput) error

UpdateBranch mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) CreateBlob

func (mr *MockInterfaceMockRecorder) CreateBlob(arg0, arg1 interface{}) *gomock.Call

CreateBlob indicates an expected call of CreateBlob

func (*MockInterfaceMockRecorder) CreateBranch

func (mr *MockInterfaceMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call

CreateBranch indicates an expected call of CreateBranch

func (*MockInterfaceMockRecorder) CreateCommit

func (mr *MockInterfaceMockRecorder) CreateCommit(arg0, arg1 interface{}) *gomock.Call

CreateCommit indicates an expected call of CreateCommit

func (*MockInterfaceMockRecorder) CreateFork

func (mr *MockInterfaceMockRecorder) CreateFork(arg0, arg1 interface{}) *gomock.Call

CreateFork indicates an expected call of CreateFork

func (*MockInterfaceMockRecorder) CreatePullRequest

func (mr *MockInterfaceMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call

CreatePullRequest indicates an expected call of CreatePullRequest

func (*MockInterfaceMockRecorder) CreateRelease

func (mr *MockInterfaceMockRecorder) CreateRelease(arg0, arg1 interface{}) *gomock.Call

CreateRelease indicates an expected call of CreateRelease

func (*MockInterfaceMockRecorder) CreateReleaseAsset

func (mr *MockInterfaceMockRecorder) CreateReleaseAsset(arg0, arg1 interface{}) *gomock.Call

CreateReleaseAsset indicates an expected call of CreateReleaseAsset

func (*MockInterfaceMockRecorder) CreateTree

func (mr *MockInterfaceMockRecorder) CreateTree(arg0, arg1 interface{}) *gomock.Call

CreateTree indicates an expected call of CreateTree

func (*MockInterfaceMockRecorder) GetReleaseByTagOrNil

func (mr *MockInterfaceMockRecorder) GetReleaseByTagOrNil(arg0, arg1, arg2 interface{}) *gomock.Call

GetReleaseByTagOrNil indicates an expected call of GetReleaseByTagOrNil

func (*MockInterfaceMockRecorder) QueryCommit

func (mr *MockInterfaceMockRecorder) QueryCommit(arg0, arg1 interface{}) *gomock.Call

QueryCommit indicates an expected call of QueryCommit

func (*MockInterfaceMockRecorder) QueryDefaultBranch

func (mr *MockInterfaceMockRecorder) QueryDefaultBranch(arg0, arg1 interface{}) *gomock.Call

QueryDefaultBranch indicates an expected call of QueryDefaultBranch

func (*MockInterfaceMockRecorder) QueryForCommit

func (mr *MockInterfaceMockRecorder) QueryForCommit(arg0, arg1 interface{}) *gomock.Call

QueryForCommit indicates an expected call of QueryForCommit

func (*MockInterfaceMockRecorder) QueryForPullRequest

func (mr *MockInterfaceMockRecorder) QueryForPullRequest(arg0, arg1 interface{}) *gomock.Call

QueryForPullRequest indicates an expected call of QueryForPullRequest

func (*MockInterfaceMockRecorder) RequestPullRequestReview added in v1.11.0

func (mr *MockInterfaceMockRecorder) RequestPullRequestReview(arg0, arg1 interface{}) *gomock.Call

RequestPullRequestReview indicates an expected call of RequestPullRequestReview

func (*MockInterfaceMockRecorder) UpdateBranch

func (mr *MockInterfaceMockRecorder) UpdateBranch(arg0, arg1 interface{}) *gomock.Call

UpdateBranch indicates an expected call of UpdateBranch

Jump to

Keyboard shortcuts

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