mock

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockISelect

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

MockISelect is a mock of ISelect interface.

func NewMockISelect

func NewMockISelect(ctrl *gomock.Controller) *MockISelect

NewMockISelect creates a new mock instance.

func (*MockISelect) EXPECT

func (m *MockISelect) EXPECT() *MockISelectMockRecorder

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

func (*MockISelect) Run

func (m *MockISelect) Run() (int, string, error)

Run mocks base method.

func (*MockISelect) RunCursorAt

func (m *MockISelect) RunCursorAt(cursorPos, scroll int) (int, string, error)

RunCursorAt mocks base method.

func (*MockISelect) ScrollPosition

func (m *MockISelect) ScrollPosition() int

ScrollPosition mocks base method.

type MockISelectMockRecorder

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

MockISelectMockRecorder is the mock recorder for MockISelect.

func (*MockISelectMockRecorder) Run

func (mr *MockISelectMockRecorder) Run() *gomock.Call

Run indicates an expected call of Run.

func (*MockISelectMockRecorder) RunCursorAt

func (mr *MockISelectMockRecorder) RunCursorAt(cursorPos, scroll interface{}) *gomock.Call

RunCursorAt indicates an expected call of RunCursorAt.

func (*MockISelectMockRecorder) ScrollPosition

func (mr *MockISelectMockRecorder) ScrollPosition() *gomock.Call

ScrollPosition indicates an expected call of ScrollPosition.

type MockISvc

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

MockISvc is a mock of ISvc interface.

func NewMockISvc

func NewMockISvc(ctrl *gomock.Controller) *MockISvc

NewMockISvc creates a new mock instance.

func (*MockISvc) Deploy

func (m *MockISvc) Deploy(k8sfile string)

Deploy mocks base method.

func (*MockISvc) DoRestart

func (m *MockISvc) DoRestart()

DoRestart mocks base method.

func (*MockISvc) DoRun

func (m *MockISvc) DoRun()

DoRun mocks base method.

func (*MockISvc) DoWatch

func (m *MockISvc) DoWatch()

DoWatch mocks base method.

func (*MockISvc) EXPECT

func (m *MockISvc) EXPECT() *MockISvcMockRecorder

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

func (*MockISvc) GenClient

func (m *MockISvc) GenClient()

GenClient mocks base method.

func (*MockISvc) GetDir

func (m *MockISvc) GetDir() string

GetDir mocks base method.

func (*MockISvc) GetWatcher

func (m *MockISvc) GetWatcher() *watcher.Watcher

GetWatcher mocks base method.

func (*MockISvc) Http

func (m *MockISvc) Http()

Http mocks base method.

func (*MockISvc) Init

func (m *MockISvc) Init()

Init mocks base method.

func (*MockISvc) Push

func (m *MockISvc) Push(repo string)

Push mocks base method.

func (*MockISvc) Run

func (m *MockISvc) Run(watch bool)

Run mocks base method.

func (*MockISvc) SetWatcher

func (m *MockISvc) SetWatcher(w *watcher.Watcher)

SetWatcher mocks base method.

func (*MockISvc) Shutdown

func (m *MockISvc) Shutdown(k8sfile string)

Shutdown mocks base method.

func (*MockISvc) Upgrade

func (m *MockISvc) Upgrade(version string)

Upgrade mocks base method.

type MockISvcMockRecorder

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

MockISvcMockRecorder is the mock recorder for MockISvc.

func (*MockISvcMockRecorder) Deploy

func (mr *MockISvcMockRecorder) Deploy(k8sfile interface{}) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockISvcMockRecorder) DoRestart

func (mr *MockISvcMockRecorder) DoRestart() *gomock.Call

DoRestart indicates an expected call of DoRestart.

func (*MockISvcMockRecorder) DoRun

func (mr *MockISvcMockRecorder) DoRun() *gomock.Call

DoRun indicates an expected call of DoRun.

func (*MockISvcMockRecorder) DoWatch

func (mr *MockISvcMockRecorder) DoWatch() *gomock.Call

DoWatch indicates an expected call of DoWatch.

func (*MockISvcMockRecorder) GenClient

func (mr *MockISvcMockRecorder) GenClient() *gomock.Call

GenClient indicates an expected call of GenClient.

func (*MockISvcMockRecorder) GetDir

func (mr *MockISvcMockRecorder) GetDir() *gomock.Call

GetDir indicates an expected call of GetDir.

func (*MockISvcMockRecorder) GetWatcher

func (mr *MockISvcMockRecorder) GetWatcher() *gomock.Call

GetWatcher indicates an expected call of GetWatcher.

func (*MockISvcMockRecorder) Http

func (mr *MockISvcMockRecorder) Http() *gomock.Call

Http indicates an expected call of Http.

func (*MockISvcMockRecorder) Init

func (mr *MockISvcMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init.

func (*MockISvcMockRecorder) Push

func (mr *MockISvcMockRecorder) Push(repo interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockISvcMockRecorder) Run

func (mr *MockISvcMockRecorder) Run(watch interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockISvcMockRecorder) SetWatcher

func (mr *MockISvcMockRecorder) SetWatcher(w interface{}) *gomock.Call

SetWatcher indicates an expected call of SetWatcher.

func (*MockISvcMockRecorder) Shutdown

func (mr *MockISvcMockRecorder) Shutdown(k8sfile interface{}) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockISvcMockRecorder) Upgrade

func (mr *MockISvcMockRecorder) Upgrade(version interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type MockRunner

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

MockRunner is a mock of Runner interface.

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance.

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) Output

func (m *MockRunner) Output(arg0 string, arg1 ...string) ([]byte, error)

Output mocks base method.

func (*MockRunner) Run

func (m *MockRunner) Run(arg0 string, arg1 ...string) error

Run mocks base method.

func (*MockRunner) Start

func (m *MockRunner) Start(arg0 string, arg1 ...string) (*exec.Cmd, error)

Start mocks base method.

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner.

func (*MockRunnerMockRecorder) Output

func (mr *MockRunnerMockRecorder) Output(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Output indicates an expected call of Output.

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockRunnerMockRecorder) Start

func (mr *MockRunnerMockRecorder) Start(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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