exec

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package exec is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProcessListener

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

MockProcessListener is a mock of ProcessListener interface.

func NewMockProcessListener

func NewMockProcessListener(ctrl *gomock.Controller) *MockProcessListener

NewMockProcessListener creates a new mock instance.

func (*MockProcessListener) EXPECT

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

func (*MockProcessListener) OnComplete

func (m *MockProcessListener) OnComplete()

OnComplete mocks base method.

func (*MockProcessListener) OnError

func (m *MockProcessListener) OnError(arg0 error)

OnError mocks base method.

type MockProcessListenerMockRecorder

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

MockProcessListenerMockRecorder is the mock recorder for MockProcessListener.

func (*MockProcessListenerMockRecorder) OnComplete

func (mr *MockProcessListenerMockRecorder) OnComplete() *gomock.Call

OnComplete indicates an expected call of OnComplete.

func (*MockProcessListenerMockRecorder) OnError

func (mr *MockProcessListenerMockRecorder) OnError(arg0 interface{}) *gomock.Call

OnError indicates an expected call of OnError.

type MockProcessMonitor

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

MockProcessMonitor is a mock of ProcessMonitor interface.

func NewMockProcessMonitor

func NewMockProcessMonitor(ctrl *gomock.Controller) *MockProcessMonitor

NewMockProcessMonitor creates a new mock instance.

func (*MockProcessMonitor) Close

func (m *MockProcessMonitor) Close() error

Close mocks base method.

func (*MockProcessMonitor) EXPECT

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

func (*MockProcessMonitor) Err

func (m *MockProcessMonitor) Err() error

Err mocks base method.

func (*MockProcessMonitor) Running

func (m *MockProcessMonitor) Running() bool

Running mocks base method.

func (*MockProcessMonitor) Start

func (m *MockProcessMonitor) Start() error

Start mocks base method.

func (*MockProcessMonitor) StderrPath

func (m *MockProcessMonitor) StderrPath() string

StderrPath mocks base method.

func (*MockProcessMonitor) StdoutPath

func (m *MockProcessMonitor) StdoutPath() string

StdoutPath mocks base method.

func (*MockProcessMonitor) Stop

func (m *MockProcessMonitor) Stop() error

Stop mocks base method.

type MockProcessMonitorMockRecorder

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

MockProcessMonitorMockRecorder is the mock recorder for MockProcessMonitor.

func (*MockProcessMonitorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockProcessMonitorMockRecorder) Err

Err indicates an expected call of Err.

func (*MockProcessMonitorMockRecorder) Running

Running indicates an expected call of Running.

func (*MockProcessMonitorMockRecorder) Start

Start indicates an expected call of Start.

func (*MockProcessMonitorMockRecorder) StderrPath

func (mr *MockProcessMonitorMockRecorder) StderrPath() *gomock.Call

StderrPath indicates an expected call of StderrPath.

func (*MockProcessMonitorMockRecorder) StdoutPath

func (mr *MockProcessMonitorMockRecorder) StdoutPath() *gomock.Call

StdoutPath indicates an expected call of StdoutPath.

func (*MockProcessMonitorMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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