Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockContext
- func (m *MockContext) CommitSHA() string
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) EmitIssue(arg0 cocov.IssueKind, arg1 string, arg2, arg3 uint, arg4, arg5 string) error
- func (m *MockContext) L() *zap.Logger
- func (m *MockContext) LoadArtifactCache(arg0 []string, arg1 string) (bool, error)
- func (m *MockContext) LoadToolCache(arg0, arg1 string) bool
- func (m *MockContext) Logger() *zap.Logger
- func (m *MockContext) RepoName() string
- func (m *MockContext) StoreArtifactCache(arg0 []string, arg1 string) error
- func (m *MockContext) StoreToolCache(arg0, arg1 string)
- func (m *MockContext) Workdir() string
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) CommitSHA() *gomock.Call
- func (mr *MockContextMockRecorder) EmitIssue(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) L() *gomock.Call
- func (mr *MockContextMockRecorder) LoadArtifactCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) LoadToolCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Logger() *gomock.Call
- func (mr *MockContextMockRecorder) RepoName() *gomock.Call
- func (mr *MockContextMockRecorder) StoreArtifactCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) StoreToolCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Workdir() *gomock.Call
- type MockExec
- type MockExecMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) CommitSHA ¶
func (m *MockContext) CommitSHA() string
CommitSHA mocks base method.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) EmitIssue ¶
func (m *MockContext) EmitIssue(arg0 cocov.IssueKind, arg1 string, arg2, arg3 uint, arg4, arg5 string) error
EmitIssue mocks base method.
func (*MockContext) LoadArtifactCache ¶
func (m *MockContext) LoadArtifactCache(arg0 []string, arg1 string) (bool, error)
LoadArtifactCache mocks base method.
func (*MockContext) LoadToolCache ¶
func (m *MockContext) LoadToolCache(arg0, arg1 string) bool
LoadToolCache mocks base method.
func (*MockContext) StoreArtifactCache ¶
func (m *MockContext) StoreArtifactCache(arg0 []string, arg1 string) error
StoreArtifactCache mocks base method.
func (*MockContext) StoreToolCache ¶
func (m *MockContext) StoreToolCache(arg0, arg1 string)
StoreToolCache mocks base method.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) CommitSHA ¶
func (mr *MockContextMockRecorder) CommitSHA() *gomock.Call
CommitSHA indicates an expected call of CommitSHA.
func (*MockContextMockRecorder) EmitIssue ¶
func (mr *MockContextMockRecorder) EmitIssue(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
EmitIssue indicates an expected call of EmitIssue.
func (*MockContextMockRecorder) L ¶
func (mr *MockContextMockRecorder) L() *gomock.Call
L indicates an expected call of L.
func (*MockContextMockRecorder) LoadArtifactCache ¶
func (mr *MockContextMockRecorder) LoadArtifactCache(arg0, arg1 interface{}) *gomock.Call
LoadArtifactCache indicates an expected call of LoadArtifactCache.
func (*MockContextMockRecorder) LoadToolCache ¶
func (mr *MockContextMockRecorder) LoadToolCache(arg0, arg1 interface{}) *gomock.Call
LoadToolCache indicates an expected call of LoadToolCache.
func (*MockContextMockRecorder) Logger ¶
func (mr *MockContextMockRecorder) Logger() *gomock.Call
Logger indicates an expected call of Logger.
func (*MockContextMockRecorder) RepoName ¶
func (mr *MockContextMockRecorder) RepoName() *gomock.Call
RepoName indicates an expected call of RepoName.
func (*MockContextMockRecorder) StoreArtifactCache ¶
func (mr *MockContextMockRecorder) StoreArtifactCache(arg0, arg1 interface{}) *gomock.Call
StoreArtifactCache indicates an expected call of StoreArtifactCache.
func (*MockContextMockRecorder) StoreToolCache ¶
func (mr *MockContextMockRecorder) StoreToolCache(arg0, arg1 interface{}) *gomock.Call
StoreToolCache indicates an expected call of StoreToolCache.
func (*MockContextMockRecorder) Workdir ¶
func (mr *MockContextMockRecorder) Workdir() *gomock.Call
Workdir indicates an expected call of Workdir.
type MockExec ¶
type MockExec struct {
// contains filtered or unexported fields
}
MockExec is a mock of Exec interface.
func NewMockExec ¶
func NewMockExec(ctrl *gomock.Controller) *MockExec
NewMockExec creates a new mock instance.
func (*MockExec) EXPECT ¶
func (m *MockExec) EXPECT() *MockExecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExecMockRecorder ¶
type MockExecMockRecorder struct {
// contains filtered or unexported fields
}
MockExecMockRecorder is the mock recorder for MockExec.
func (*MockExecMockRecorder) Exec ¶
func (mr *MockExecMockRecorder) Exec(cmd, args, opts interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockExecMockRecorder) Exec2 ¶
func (mr *MockExecMockRecorder) Exec2(arg0, arg1, arg2 interface{}) *gomock.Call
Exec2 indicates an expected call of Exec2.