mocks

package
v0.0.0-...-7ad7ad0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 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) L

func (m *MockContext) L() *zap.Logger

L 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) Logger

func (m *MockContext) Logger() *zap.Logger

Logger mocks base method.

func (*MockContext) RepoName

func (m *MockContext) RepoName() string

RepoName 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.

func (*MockContext) Workdir

func (m *MockContext) Workdir() string

Workdir 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

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.

func (*MockExec) Exec

func (m *MockExec) Exec(cmd string, args []string, opts *cocov.ExecOpts) ([]byte, error)

Exec mocks base method.

func (*MockExec) Exec2

func (m *MockExec) Exec2(arg0 string, arg1 []string, arg2 *cocov.ExecOpts) ([]byte, []byte, error)

Exec2 mocks base method.

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.

Jump to

Keyboard shortcuts

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