mocks

package
v0.0.0-...-f03c419 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 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 for the type ProxyAppInterface

func (*ProxyAppInterface) Copy

Copy provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) CreateInstance

CreateInstance provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) CreatePool

CreatePool provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) Diagnose

Diagnose provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) EXPECT

func (*ProxyAppInterface) Forward

Forward provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) PoolLogs

PoolLogs provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) RunReadProgress

RunReadProgress provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) RunStart

RunStart provides a mock function for the type ProxyAppInterface

func (*ProxyAppInterface) RunStop

RunStop provides a mock function for the type ProxyAppInterface

type ProxyAppInterface_Close_Call

type ProxyAppInterface_Close_Call struct {
	*mock.Call
}

ProxyAppInterface_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*ProxyAppInterface_Close_Call) Return

func (*ProxyAppInterface_Close_Call) Run

func (*ProxyAppInterface_Close_Call) RunAndReturn

type ProxyAppInterface_Copy_Call

type ProxyAppInterface_Copy_Call struct {
	*mock.Call
}

ProxyAppInterface_Copy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Copy'

func (*ProxyAppInterface_Copy_Call) Return

func (*ProxyAppInterface_Copy_Call) Run

func (*ProxyAppInterface_Copy_Call) RunAndReturn

type ProxyAppInterface_CreateInstance_Call

type ProxyAppInterface_CreateInstance_Call struct {
	*mock.Call
}

ProxyAppInterface_CreateInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInstance'

func (*ProxyAppInterface_CreateInstance_Call) Return

func (*ProxyAppInterface_CreateInstance_Call) Run

func (*ProxyAppInterface_CreateInstance_Call) RunAndReturn

type ProxyAppInterface_CreatePool_Call

type ProxyAppInterface_CreatePool_Call struct {
	*mock.Call
}

ProxyAppInterface_CreatePool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePool'

func (*ProxyAppInterface_CreatePool_Call) Return

func (*ProxyAppInterface_CreatePool_Call) Run

func (*ProxyAppInterface_CreatePool_Call) RunAndReturn

type ProxyAppInterface_Diagnose_Call

type ProxyAppInterface_Diagnose_Call struct {
	*mock.Call
}

ProxyAppInterface_Diagnose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Diagnose'

func (*ProxyAppInterface_Diagnose_Call) Return

func (*ProxyAppInterface_Diagnose_Call) Run

func (*ProxyAppInterface_Diagnose_Call) RunAndReturn

type ProxyAppInterface_Expecter

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

func (*ProxyAppInterface_Expecter) Close

func (_e *ProxyAppInterface_Expecter) Close(in interface{}, out interface{}) *ProxyAppInterface_Close_Call

Close is a helper method to define mock.On call

  • in proxyrpc.CloseParams
  • out *proxyrpc.CloseReply

func (*ProxyAppInterface_Expecter) Copy

func (_e *ProxyAppInterface_Expecter) Copy(in interface{}, out interface{}) *ProxyAppInterface_Copy_Call

Copy is a helper method to define mock.On call

  • in proxyrpc.CopyParams
  • out *proxyrpc.CopyResult

func (*ProxyAppInterface_Expecter) CreateInstance

func (_e *ProxyAppInterface_Expecter) CreateInstance(in interface{}, out interface{}) *ProxyAppInterface_CreateInstance_Call

CreateInstance is a helper method to define mock.On call

  • in proxyrpc.CreateInstanceParams
  • out *proxyrpc.CreateInstanceResult

func (*ProxyAppInterface_Expecter) CreatePool

func (_e *ProxyAppInterface_Expecter) CreatePool(in interface{}, out interface{}) *ProxyAppInterface_CreatePool_Call

CreatePool is a helper method to define mock.On call

  • in proxyrpc.CreatePoolParams
  • out *proxyrpc.CreatePoolResult

func (*ProxyAppInterface_Expecter) Diagnose

func (_e *ProxyAppInterface_Expecter) Diagnose(in interface{}, out interface{}) *ProxyAppInterface_Diagnose_Call

Diagnose is a helper method to define mock.On call

  • in proxyrpc.DiagnoseParams
  • out *proxyrpc.DiagnoseReply

func (*ProxyAppInterface_Expecter) Forward

func (_e *ProxyAppInterface_Expecter) Forward(in interface{}, out interface{}) *ProxyAppInterface_Forward_Call

Forward is a helper method to define mock.On call

  • in proxyrpc.ForwardParams
  • out *proxyrpc.ForwardResult

func (*ProxyAppInterface_Expecter) PoolLogs

func (_e *ProxyAppInterface_Expecter) PoolLogs(in interface{}, out interface{}) *ProxyAppInterface_PoolLogs_Call

PoolLogs is a helper method to define mock.On call

  • in proxyrpc.PoolLogsParam
  • out *proxyrpc.PoolLogsReply

func (*ProxyAppInterface_Expecter) RunReadProgress

func (_e *ProxyAppInterface_Expecter) RunReadProgress(in interface{}, out interface{}) *ProxyAppInterface_RunReadProgress_Call

RunReadProgress is a helper method to define mock.On call

  • in proxyrpc.RunReadProgressParams
  • out *proxyrpc.RunReadProgressReply

func (*ProxyAppInterface_Expecter) RunStart

func (_e *ProxyAppInterface_Expecter) RunStart(in interface{}, out interface{}) *ProxyAppInterface_RunStart_Call

RunStart is a helper method to define mock.On call

  • in proxyrpc.RunStartParams
  • out *proxyrpc.RunStartReply

func (*ProxyAppInterface_Expecter) RunStop

func (_e *ProxyAppInterface_Expecter) RunStop(in interface{}, out interface{}) *ProxyAppInterface_RunStop_Call

RunStop is a helper method to define mock.On call

  • in proxyrpc.RunStopParams
  • out *proxyrpc.RunStopReply

type ProxyAppInterface_Forward_Call

type ProxyAppInterface_Forward_Call struct {
	*mock.Call
}

ProxyAppInterface_Forward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Forward'

func (*ProxyAppInterface_Forward_Call) Return

func (*ProxyAppInterface_Forward_Call) Run

func (*ProxyAppInterface_Forward_Call) RunAndReturn

type ProxyAppInterface_PoolLogs_Call

type ProxyAppInterface_PoolLogs_Call struct {
	*mock.Call
}

ProxyAppInterface_PoolLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PoolLogs'

func (*ProxyAppInterface_PoolLogs_Call) Return

func (*ProxyAppInterface_PoolLogs_Call) Run

func (*ProxyAppInterface_PoolLogs_Call) RunAndReturn

type ProxyAppInterface_RunReadProgress_Call

type ProxyAppInterface_RunReadProgress_Call struct {
	*mock.Call
}

ProxyAppInterface_RunReadProgress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunReadProgress'

func (*ProxyAppInterface_RunReadProgress_Call) Return

func (*ProxyAppInterface_RunReadProgress_Call) Run

func (*ProxyAppInterface_RunReadProgress_Call) RunAndReturn

type ProxyAppInterface_RunStart_Call

type ProxyAppInterface_RunStart_Call struct {
	*mock.Call
}

ProxyAppInterface_RunStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunStart'

func (*ProxyAppInterface_RunStart_Call) Return

func (*ProxyAppInterface_RunStart_Call) Run

func (*ProxyAppInterface_RunStart_Call) RunAndReturn

type ProxyAppInterface_RunStop_Call

type ProxyAppInterface_RunStop_Call struct {
	*mock.Call
}

ProxyAppInterface_RunStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunStop'

func (*ProxyAppInterface_RunStop_Call) Return

func (*ProxyAppInterface_RunStop_Call) Run

func (*ProxyAppInterface_RunStop_Call) RunAndReturn

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

func (_m *SubProcessCmd) EXPECT() *SubProcessCmd_Expecter

func (*SubProcessCmd) Start

func (_mock *SubProcessCmd) Start() error

Start provides a mock function for the type SubProcessCmd

func (*SubProcessCmd) StderrPipe

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

StderrPipe provides a mock function for the type SubProcessCmd

func (*SubProcessCmd) StdinPipe

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

StdinPipe provides a mock function for the type SubProcessCmd

func (*SubProcessCmd) StdoutPipe

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

StdoutPipe provides a mock function for the type SubProcessCmd

func (*SubProcessCmd) Wait

func (_mock *SubProcessCmd) Wait() error

Wait provides a mock function for the type SubProcessCmd

type SubProcessCmd_Expecter

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

func (*SubProcessCmd_Expecter) Start

Start is a helper method to define mock.On call

func (*SubProcessCmd_Expecter) StderrPipe

StderrPipe is a helper method to define mock.On call

func (*SubProcessCmd_Expecter) StdinPipe

StdinPipe is a helper method to define mock.On call

func (*SubProcessCmd_Expecter) StdoutPipe

StdoutPipe is a helper method to define mock.On call

func (*SubProcessCmd_Expecter) Wait

Wait is a helper method to define mock.On call

type SubProcessCmd_Start_Call

type SubProcessCmd_Start_Call struct {
	*mock.Call
}

SubProcessCmd_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*SubProcessCmd_Start_Call) Return

func (*SubProcessCmd_Start_Call) Run

func (*SubProcessCmd_Start_Call) RunAndReturn

func (_c *SubProcessCmd_Start_Call) RunAndReturn(run func() error) *SubProcessCmd_Start_Call

type SubProcessCmd_StderrPipe_Call

type SubProcessCmd_StderrPipe_Call struct {
	*mock.Call
}

SubProcessCmd_StderrPipe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StderrPipe'

func (*SubProcessCmd_StderrPipe_Call) Return

func (*SubProcessCmd_StderrPipe_Call) Run

func (*SubProcessCmd_StderrPipe_Call) RunAndReturn

type SubProcessCmd_StdinPipe_Call

type SubProcessCmd_StdinPipe_Call struct {
	*mock.Call
}

SubProcessCmd_StdinPipe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StdinPipe'

func (*SubProcessCmd_StdinPipe_Call) Return

func (*SubProcessCmd_StdinPipe_Call) Run

func (*SubProcessCmd_StdinPipe_Call) RunAndReturn

type SubProcessCmd_StdoutPipe_Call

type SubProcessCmd_StdoutPipe_Call struct {
	*mock.Call
}

SubProcessCmd_StdoutPipe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StdoutPipe'

func (*SubProcessCmd_StdoutPipe_Call) Return

func (*SubProcessCmd_StdoutPipe_Call) Run

func (*SubProcessCmd_StdoutPipe_Call) RunAndReturn

type SubProcessCmd_Wait_Call

type SubProcessCmd_Wait_Call struct {
	*mock.Call
}

SubProcessCmd_Wait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Wait'

func (*SubProcessCmd_Wait_Call) Return

func (*SubProcessCmd_Wait_Call) Run

func (_c *SubProcessCmd_Wait_Call) Run(run func()) *SubProcessCmd_Wait_Call

func (*SubProcessCmd_Wait_Call) RunAndReturn

func (_c *SubProcessCmd_Wait_Call) RunAndReturn(run func() error) *SubProcessCmd_Wait_Call

Jump to

Keyboard shortcuts

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