Documentation ¶
Overview ¶
Package githubchecks_mock is a generated GoMock package.
Index ¶
- type GithubChecks
- func (m *GithubChecks) CreateCheckRun(ctx context.Context, owner, repo string, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
- func (m *GithubChecks) EXPECT() *GithubChecksMockRecorder
- func (m *GithubChecks) UpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, ...) (*github.CheckRun, *github.Response, error)
- type GithubChecksMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubChecks ¶
type GithubChecks struct {
// contains filtered or unexported fields
}
GithubChecks is a mock of GithubChecks interface
func NewGithubChecks ¶
func NewGithubChecks(ctrl *gomock.Controller) *GithubChecks
NewGithubChecks creates a new mock instance
func (*GithubChecks) CreateCheckRun ¶
func (m *GithubChecks) CreateCheckRun(ctx context.Context, owner, repo string, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
CreateCheckRun mocks base method
func (*GithubChecks) EXPECT ¶
func (m *GithubChecks) EXPECT() *GithubChecksMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*GithubChecks) UpdateCheckRun ¶
func (m *GithubChecks) UpdateCheckRun(ctx context.Context, owner, repo string, checkRunID int64, opts github.UpdateCheckRunOptions) (*github.CheckRun, *github.Response, error)
UpdateCheckRun mocks base method
type GithubChecksMockRecorder ¶
type GithubChecksMockRecorder struct {
// contains filtered or unexported fields
}
GithubChecksMockRecorder is the mock recorder for GithubChecks
func (*GithubChecksMockRecorder) CreateCheckRun ¶
func (mr *GithubChecksMockRecorder) CreateCheckRun(ctx, owner, repo, opts interface{}) *gomock.Call
CreateCheckRun indicates an expected call of CreateCheckRun
func (*GithubChecksMockRecorder) UpdateCheckRun ¶
func (mr *GithubChecksMockRecorder) UpdateCheckRun(ctx, owner, repo, checkRunID, opts interface{}) *gomock.Call
UpdateCheckRun indicates an expected call of UpdateCheckRun
Click to show internal directories.
Click to hide internal directories.