mocks

package
v0.0.0-...-d938113 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyAppInterface

type ProxyAppInterface struct {
	mock.Mock
}

ProxyAppInterface is an autogenerated mock type for the ProxyAppInterface type

func NewProxyAppInterface

func NewProxyAppInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProxyAppInterface

NewProxyAppInterface creates a new instance of ProxyAppInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProxyAppInterface) Close

Close provides a mock function with given fields: in, out

func (*ProxyAppInterface) Copy

Copy provides a mock function with given fields: in, out

func (*ProxyAppInterface) CreateInstance

CreateInstance provides a mock function with given fields: in, out

func (*ProxyAppInterface) CreatePool

CreatePool provides a mock function with given fields: in, out

func (*ProxyAppInterface) Diagnose

Diagnose provides a mock function with given fields: in, out

func (*ProxyAppInterface) Forward

Forward provides a mock function with given fields: in, out

func (*ProxyAppInterface) PoolLogs

PoolLogs provides a mock function with given fields: in, out

func (*ProxyAppInterface) RunReadProgress

RunReadProgress provides a mock function with given fields: in, out

func (*ProxyAppInterface) RunStart

RunStart provides a mock function with given fields: in, out

func (*ProxyAppInterface) RunStop

RunStop provides a mock function with given fields: in, out

type SubProcessCmd

type SubProcessCmd struct {
	mock.Mock
}

SubProcessCmd is an autogenerated mock type for the subProcessCmd type

func NewSubProcessCmd

func NewSubProcessCmd(t interface {
	mock.TestingT
	Cleanup(func())
}) *SubProcessCmd

NewSubProcessCmd creates a new instance of SubProcessCmd. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SubProcessCmd) Start

func (_m *SubProcessCmd) Start() error

Start provides a mock function with given fields:

func (*SubProcessCmd) StderrPipe

func (_m *SubProcessCmd) StderrPipe() (io.ReadCloser, error)

StderrPipe provides a mock function with given fields:

func (*SubProcessCmd) StdinPipe

func (_m *SubProcessCmd) StdinPipe() (io.WriteCloser, error)

StdinPipe provides a mock function with given fields:

func (*SubProcessCmd) StdoutPipe

func (_m *SubProcessCmd) StdoutPipe() (io.ReadCloser, error)

StdoutPipe provides a mock function with given fields:

func (*SubProcessCmd) Wait

func (_m *SubProcessCmd) Wait() error

Wait provides a mock function with given fields:

Jump to

Keyboard shortcuts

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