Documentation ¶
Overview ¶
Package mock_github is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CreateBlob(arg0 context.Context, arg1 git.NewBlob) (git.BlobSHA, error)
- func (m *MockInterface) CreateBranch(arg0 context.Context, arg1 github.CreateBranchInput) error
- func (m *MockInterface) CreateCommit(arg0 context.Context, arg1 git.NewCommit) (git.CommitSHA, error)
- func (m *MockInterface) CreateFork(arg0 context.Context, arg1 git.RepositoryID) (*git.RepositoryID, error)
- func (m *MockInterface) CreatePullRequest(arg0 context.Context, arg1 github.CreatePullRequestInput) (*github.CreatePullRequestOutput, error)
- func (m *MockInterface) CreateRelease(arg0 context.Context, arg1 git.Release) (*git.Release, error)
- func (m *MockInterface) CreateReleaseAsset(arg0 context.Context, arg1 git.ReleaseAsset) error
- func (m *MockInterface) CreateTree(arg0 context.Context, arg1 git.NewTree) (git.TreeSHA, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetReleaseByTagOrNil(arg0 context.Context, arg1 git.RepositoryID, arg2 git.TagName) (*git.Release, error)
- func (m *MockInterface) QueryCommit(arg0 context.Context, arg1 github.QueryCommitInput) (*github.QueryCommitOutput, error)
- func (m *MockInterface) QueryDefaultBranch(arg0 context.Context, arg1 github.QueryDefaultBranchInput) (*github.QueryDefaultBranchOutput, error)
- func (m *MockInterface) QueryForCommit(arg0 context.Context, arg1 github.QueryForCommitInput) (*github.QueryForCommitOutput, error)
- func (m *MockInterface) QueryForPullRequest(arg0 context.Context, arg1 github.QueryForPullRequestInput) (*github.QueryForPullRequestOutput, error)
- func (m *MockInterface) RequestPullRequestReview(arg0 context.Context, arg1 github.RequestPullRequestReviewInput) error
- func (m *MockInterface) UpdateBranch(arg0 context.Context, arg1 github.UpdateBranchInput) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateBlob(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateBranch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateCommit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateFork(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreatePullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateRelease(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateReleaseAsset(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateTree(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetReleaseByTagOrNil(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) QueryCommit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) QueryDefaultBranch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) QueryForCommit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) QueryForPullRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RequestPullRequestReview(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateBranch(arg0, arg1 interface{}) *gomock.Call
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 ¶
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 ¶
func (m *MockInterface) CreatePullRequest(arg0 context.Context, arg1 github.CreatePullRequestInput) (*github.CreatePullRequestOutput, error)
CreatePullRequest mocks base method
func (*MockInterface) CreateRelease ¶
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 ¶
CreateTree mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
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 ¶
func (m *MockInterface) QueryCommit(arg0 context.Context, arg1 github.QueryCommitInput) (*github.QueryCommitOutput, error)
QueryCommit mocks base method
func (*MockInterface) QueryDefaultBranch ¶
func (m *MockInterface) QueryDefaultBranch(arg0 context.Context, arg1 github.QueryDefaultBranchInput) (*github.QueryDefaultBranchOutput, error)
QueryDefaultBranch mocks base method
func (*MockInterface) QueryForCommit ¶
func (m *MockInterface) QueryForCommit(arg0 context.Context, arg1 github.QueryForCommitInput) (*github.QueryForCommitOutput, error)
QueryForCommit mocks base method
func (*MockInterface) QueryForPullRequest ¶
func (m *MockInterface) QueryForPullRequest(arg0 context.Context, arg1 github.QueryForPullRequestInput) (*github.QueryForPullRequestOutput, error)
QueryForPullRequest mocks base method
func (*MockInterface) RequestPullRequestReview ¶
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 ¶
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