Documentation
¶
Index ¶
- type MockGlobalMATLAB
- type MockGlobalMATLAB_Client_Call
- func (_c *MockGlobalMATLAB_Client_Call) Return(mATLABSessionClient entities.MATLABSessionClient, err error) *MockGlobalMATLAB_Client_Call
- func (_c *MockGlobalMATLAB_Client_Call) Run(run func(ctx context.Context, logger entities.Logger)) *MockGlobalMATLAB_Client_Call
- func (_c *MockGlobalMATLAB_Client_Call) RunAndReturn(...) *MockGlobalMATLAB_Client_Call
- type MockGlobalMATLAB_Expecter
- type MockLogger
- func (_mock *MockLogger) Debug(msg string)
- func (_m *MockLogger) EXPECT() *MockLogger_Expecter
- func (_mock *MockLogger) Error(msg string)
- func (_mock *MockLogger) Info(msg string)
- func (_mock *MockLogger) Warn(msg string)
- func (_mock *MockLogger) With(key string, value any) entities.Logger
- func (_mock *MockLogger) WithError(err error) entities.Logger
- type MockLogger_Debug_Call
- type MockLogger_Error_Call
- type MockLogger_Expecter
- func (_e *MockLogger_Expecter) Debug(msg interface{}) *MockLogger_Debug_Call
- func (_e *MockLogger_Expecter) Error(msg interface{}) *MockLogger_Error_Call
- func (_e *MockLogger_Expecter) Info(msg interface{}) *MockLogger_Info_Call
- func (_e *MockLogger_Expecter) Warn(msg interface{}) *MockLogger_Warn_Call
- func (_e *MockLogger_Expecter) With(key interface{}, value interface{}) *MockLogger_With_Call
- func (_e *MockLogger_Expecter) WithError(err interface{}) *MockLogger_WithError_Call
- type MockLogger_Info_Call
- type MockLogger_Warn_Call
- type MockLogger_WithError_Call
- type MockLogger_With_Call
- type MockMATLABManager
- func (_m *MockMATLABManager) EXPECT() *MockMATLABManager_Expecter
- func (_mock *MockMATLABManager) GetMATLABSessionClient(ctx context.Context, sessionLogger entities.Logger, ...) (entities.MATLABSessionClient, error)
- func (_mock *MockMATLABManager) ListEnvironments(ctx context.Context, sessionLogger entities.Logger) []entities.EnvironmentInfo
- func (_mock *MockMATLABManager) StartMATLABSession(ctx context.Context, sessionLogger entities.Logger, ...) (entities.SessionID, error)
- func (_mock *MockMATLABManager) StopMATLABSession(ctx context.Context, sessionLogger entities.Logger, ...) error
- type MockMATLABManager_Expecter
- func (_e *MockMATLABManager_Expecter) GetMATLABSessionClient(ctx interface{}, sessionLogger interface{}, sessionID interface{}) *MockMATLABManager_GetMATLABSessionClient_Call
- func (_e *MockMATLABManager_Expecter) ListEnvironments(ctx interface{}, sessionLogger interface{}) *MockMATLABManager_ListEnvironments_Call
- func (_e *MockMATLABManager_Expecter) StartMATLABSession(ctx interface{}, sessionLogger interface{}, startRequest interface{}) *MockMATLABManager_StartMATLABSession_Call
- func (_e *MockMATLABManager_Expecter) StopMATLABSession(ctx interface{}, sessionLogger interface{}, sessionID interface{}) *MockMATLABManager_StopMATLABSession_Call
- type MockMATLABManager_GetMATLABSessionClient_Call
- func (_c *MockMATLABManager_GetMATLABSessionClient_Call) Return(mATLABSessionClient entities.MATLABSessionClient, err error) *MockMATLABManager_GetMATLABSessionClient_Call
- func (_c *MockMATLABManager_GetMATLABSessionClient_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, ...)) *MockMATLABManager_GetMATLABSessionClient_Call
- func (_c *MockMATLABManager_GetMATLABSessionClient_Call) RunAndReturn(...) *MockMATLABManager_GetMATLABSessionClient_Call
- type MockMATLABManager_ListEnvironments_Call
- func (_c *MockMATLABManager_ListEnvironments_Call) Return(environmentInfos []entities.EnvironmentInfo) *MockMATLABManager_ListEnvironments_Call
- func (_c *MockMATLABManager_ListEnvironments_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger)) *MockMATLABManager_ListEnvironments_Call
- func (_c *MockMATLABManager_ListEnvironments_Call) RunAndReturn(...) *MockMATLABManager_ListEnvironments_Call
- type MockMATLABManager_StartMATLABSession_Call
- func (_c *MockMATLABManager_StartMATLABSession_Call) Return(sessionID entities.SessionID, err error) *MockMATLABManager_StartMATLABSession_Call
- func (_c *MockMATLABManager_StartMATLABSession_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, ...)) *MockMATLABManager_StartMATLABSession_Call
- func (_c *MockMATLABManager_StartMATLABSession_Call) RunAndReturn(...) *MockMATLABManager_StartMATLABSession_Call
- type MockMATLABManager_StopMATLABSession_Call
- func (_c *MockMATLABManager_StopMATLABSession_Call) Return(err error) *MockMATLABManager_StopMATLABSession_Call
- func (_c *MockMATLABManager_StopMATLABSession_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, ...)) *MockMATLABManager_StopMATLABSession_Call
- func (_c *MockMATLABManager_StopMATLABSession_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger, ...) error) *MockMATLABManager_StopMATLABSession_Call
- type MockMATLABSessionClient
- func (_m *MockMATLABSessionClient) EXPECT() *MockMATLABSessionClient_Expecter
- func (_mock *MockMATLABSessionClient) Eval(ctx context.Context, sessionLogger entities.Logger, ...) (entities.EvalResponse, error)
- func (_mock *MockMATLABSessionClient) EvalWithCapture(ctx context.Context, logger entities.Logger, input entities.EvalRequest) (entities.EvalResponse, error)
- func (_mock *MockMATLABSessionClient) FEval(ctx context.Context, sessionLogger entities.Logger, ...) (entities.FEvalResponse, error)
- type MockMATLABSessionClient_EvalWithCapture_Call
- func (_c *MockMATLABSessionClient_EvalWithCapture_Call) Return(evalResponse entities.EvalResponse, err error) *MockMATLABSessionClient_EvalWithCapture_Call
- func (_c *MockMATLABSessionClient_EvalWithCapture_Call) Run(...) *MockMATLABSessionClient_EvalWithCapture_Call
- func (_c *MockMATLABSessionClient_EvalWithCapture_Call) RunAndReturn(...) *MockMATLABSessionClient_EvalWithCapture_Call
- type MockMATLABSessionClient_Eval_Call
- func (_c *MockMATLABSessionClient_Eval_Call) Return(evalResponse entities.EvalResponse, err error) *MockMATLABSessionClient_Eval_Call
- func (_c *MockMATLABSessionClient_Eval_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, ...)) *MockMATLABSessionClient_Eval_Call
- func (_c *MockMATLABSessionClient_Eval_Call) RunAndReturn(...) *MockMATLABSessionClient_Eval_Call
- type MockMATLABSessionClient_Expecter
- func (_e *MockMATLABSessionClient_Expecter) Eval(ctx interface{}, sessionLogger interface{}, request interface{}) *MockMATLABSessionClient_Eval_Call
- func (_e *MockMATLABSessionClient_Expecter) EvalWithCapture(ctx interface{}, logger interface{}, input interface{}) *MockMATLABSessionClient_EvalWithCapture_Call
- func (_e *MockMATLABSessionClient_Expecter) FEval(ctx interface{}, sessionLogger interface{}, request interface{}) *MockMATLABSessionClient_FEval_Call
- type MockMATLABSessionClient_FEval_Call
- func (_c *MockMATLABSessionClient_FEval_Call) Return(fEvalResponse entities.FEvalResponse, err error) *MockMATLABSessionClient_FEval_Call
- func (_c *MockMATLABSessionClient_FEval_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, ...)) *MockMATLABSessionClient_FEval_Call
- func (_c *MockMATLABSessionClient_FEval_Call) RunAndReturn(...) *MockMATLABSessionClient_FEval_Call
- type MockMode
- type MockMode_Expecter
- type MockMode_StartAndWaitForCompletion_Call
- func (_c *MockMode_StartAndWaitForCompletion_Call) Return(err error) *MockMode_StartAndWaitForCompletion_Call
- func (_c *MockMode_StartAndWaitForCompletion_Call) Run(run func(ctx context.Context)) *MockMode_StartAndWaitForCompletion_Call
- func (_c *MockMode_StartAndWaitForCompletion_Call) RunAndReturn(run func(ctx context.Context) error) *MockMode_StartAndWaitForCompletion_Call
- type MockOSStdio
- type MockOSStdio_Expecter
- type MockOSStdio_Stderr_Call
- type MockOSStdio_Stdin_Call
- type MockOSStdio_Stdout_Call
- type MockReader
- type MockReader_Expecter
- type MockReader_Read_Call
- type MockSessionDetails
- type MockSessionDetails_Expecter
- type MockSessionDetails_interfacelock_Call
- func (_c *MockSessionDetails_interfacelock_Call) Return() *MockSessionDetails_interfacelock_Call
- func (_c *MockSessionDetails_interfacelock_Call) Run(run func()) *MockSessionDetails_interfacelock_Call
- func (_c *MockSessionDetails_interfacelock_Call) RunAndReturn(run func()) *MockSessionDetails_interfacelock_Call
- type MockSubProcessStdio
- type MockSubProcessStdio_Expecter
- type MockSubProcessStdio_Stderr_Call
- func (_c *MockSubProcessStdio_Stderr_Call) Return(reader entities.Reader) *MockSubProcessStdio_Stderr_Call
- func (_c *MockSubProcessStdio_Stderr_Call) Run(run func()) *MockSubProcessStdio_Stderr_Call
- func (_c *MockSubProcessStdio_Stderr_Call) RunAndReturn(run func() entities.Reader) *MockSubProcessStdio_Stderr_Call
- type MockSubProcessStdio_Stdin_Call
- func (_c *MockSubProcessStdio_Stdin_Call) Return(writer entities.Writer) *MockSubProcessStdio_Stdin_Call
- func (_c *MockSubProcessStdio_Stdin_Call) Run(run func()) *MockSubProcessStdio_Stdin_Call
- func (_c *MockSubProcessStdio_Stdin_Call) RunAndReturn(run func() entities.Writer) *MockSubProcessStdio_Stdin_Call
- type MockSubProcessStdio_Stdout_Call
- func (_c *MockSubProcessStdio_Stdout_Call) Return(reader entities.Reader) *MockSubProcessStdio_Stdout_Call
- func (_c *MockSubProcessStdio_Stdout_Call) Run(run func()) *MockSubProcessStdio_Stdout_Call
- func (_c *MockSubProcessStdio_Stdout_Call) RunAndReturn(run func() entities.Reader) *MockSubProcessStdio_Stdout_Call
- type MockWriter
- type MockWriter_Expecter
- type MockWriter_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGlobalMATLAB ¶
MockGlobalMATLAB is an autogenerated mock type for the GlobalMATLAB type
func NewMockGlobalMATLAB ¶
func NewMockGlobalMATLAB(t interface {
mock.TestingT
Cleanup(func())
}) *MockGlobalMATLAB
NewMockGlobalMATLAB creates a new instance of MockGlobalMATLAB. 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 (*MockGlobalMATLAB) Client ¶
func (_mock *MockGlobalMATLAB) Client(ctx context.Context, logger entities.Logger) (entities.MATLABSessionClient, error)
Client provides a mock function for the type MockGlobalMATLAB
func (*MockGlobalMATLAB) EXPECT ¶
func (_m *MockGlobalMATLAB) EXPECT() *MockGlobalMATLAB_Expecter
type MockGlobalMATLAB_Client_Call ¶
MockGlobalMATLAB_Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Client'
func (*MockGlobalMATLAB_Client_Call) Return ¶
func (_c *MockGlobalMATLAB_Client_Call) Return(mATLABSessionClient entities.MATLABSessionClient, err error) *MockGlobalMATLAB_Client_Call
func (*MockGlobalMATLAB_Client_Call) Run ¶
func (_c *MockGlobalMATLAB_Client_Call) Run(run func(ctx context.Context, logger entities.Logger)) *MockGlobalMATLAB_Client_Call
func (*MockGlobalMATLAB_Client_Call) RunAndReturn ¶
func (_c *MockGlobalMATLAB_Client_Call) RunAndReturn(run func(ctx context.Context, logger entities.Logger) (entities.MATLABSessionClient, error)) *MockGlobalMATLAB_Client_Call
type MockGlobalMATLAB_Expecter ¶
type MockGlobalMATLAB_Expecter struct {
// contains filtered or unexported fields
}
func (*MockGlobalMATLAB_Expecter) Client ¶
func (_e *MockGlobalMATLAB_Expecter) Client(ctx interface{}, logger interface{}) *MockGlobalMATLAB_Client_Call
Client is a helper method to define mock.On call
- ctx context.Context
- logger entities.Logger
type MockLogger ¶
MockLogger is an autogenerated mock type for the Logger type
func NewMockLogger ¶
func NewMockLogger(t interface {
mock.TestingT
Cleanup(func())
}) *MockLogger
NewMockLogger creates a new instance of MockLogger. 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 (*MockLogger) Debug ¶
func (_mock *MockLogger) Debug(msg string)
Debug provides a mock function for the type MockLogger
func (*MockLogger) EXPECT ¶
func (_m *MockLogger) EXPECT() *MockLogger_Expecter
func (*MockLogger) Error ¶
func (_mock *MockLogger) Error(msg string)
Error provides a mock function for the type MockLogger
func (*MockLogger) Info ¶
func (_mock *MockLogger) Info(msg string)
Info provides a mock function for the type MockLogger
func (*MockLogger) Warn ¶
func (_mock *MockLogger) Warn(msg string)
Warn provides a mock function for the type MockLogger
type MockLogger_Debug_Call ¶
MockLogger_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'
func (*MockLogger_Debug_Call) Return ¶
func (_c *MockLogger_Debug_Call) Return() *MockLogger_Debug_Call
func (*MockLogger_Debug_Call) Run ¶
func (_c *MockLogger_Debug_Call) Run(run func(msg string)) *MockLogger_Debug_Call
func (*MockLogger_Debug_Call) RunAndReturn ¶
func (_c *MockLogger_Debug_Call) RunAndReturn(run func(msg string)) *MockLogger_Debug_Call
type MockLogger_Error_Call ¶
MockLogger_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*MockLogger_Error_Call) Return ¶
func (_c *MockLogger_Error_Call) Return() *MockLogger_Error_Call
func (*MockLogger_Error_Call) Run ¶
func (_c *MockLogger_Error_Call) Run(run func(msg string)) *MockLogger_Error_Call
func (*MockLogger_Error_Call) RunAndReturn ¶
func (_c *MockLogger_Error_Call) RunAndReturn(run func(msg string)) *MockLogger_Error_Call
type MockLogger_Expecter ¶
type MockLogger_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLogger_Expecter) Debug ¶
func (_e *MockLogger_Expecter) Debug(msg interface{}) *MockLogger_Debug_Call
Debug is a helper method to define mock.On call
- msg string
func (*MockLogger_Expecter) Error ¶
func (_e *MockLogger_Expecter) Error(msg interface{}) *MockLogger_Error_Call
Error is a helper method to define mock.On call
- msg string
func (*MockLogger_Expecter) Info ¶
func (_e *MockLogger_Expecter) Info(msg interface{}) *MockLogger_Info_Call
Info is a helper method to define mock.On call
- msg string
func (*MockLogger_Expecter) Warn ¶
func (_e *MockLogger_Expecter) Warn(msg interface{}) *MockLogger_Warn_Call
Warn is a helper method to define mock.On call
- msg string
func (*MockLogger_Expecter) With ¶
func (_e *MockLogger_Expecter) With(key interface{}, value interface{}) *MockLogger_With_Call
With is a helper method to define mock.On call
- key string
- value any
func (*MockLogger_Expecter) WithError ¶
func (_e *MockLogger_Expecter) WithError(err interface{}) *MockLogger_WithError_Call
WithError is a helper method to define mock.On call
- err error
type MockLogger_Info_Call ¶
MockLogger_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*MockLogger_Info_Call) Return ¶
func (_c *MockLogger_Info_Call) Return() *MockLogger_Info_Call
func (*MockLogger_Info_Call) Run ¶
func (_c *MockLogger_Info_Call) Run(run func(msg string)) *MockLogger_Info_Call
func (*MockLogger_Info_Call) RunAndReturn ¶
func (_c *MockLogger_Info_Call) RunAndReturn(run func(msg string)) *MockLogger_Info_Call
type MockLogger_Warn_Call ¶
MockLogger_Warn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warn'
func (*MockLogger_Warn_Call) Return ¶
func (_c *MockLogger_Warn_Call) Return() *MockLogger_Warn_Call
func (*MockLogger_Warn_Call) Run ¶
func (_c *MockLogger_Warn_Call) Run(run func(msg string)) *MockLogger_Warn_Call
func (*MockLogger_Warn_Call) RunAndReturn ¶
func (_c *MockLogger_Warn_Call) RunAndReturn(run func(msg string)) *MockLogger_Warn_Call
type MockLogger_WithError_Call ¶
MockLogger_WithError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithError'
func (*MockLogger_WithError_Call) Return ¶
func (_c *MockLogger_WithError_Call) Return(logger entities.Logger) *MockLogger_WithError_Call
func (*MockLogger_WithError_Call) Run ¶
func (_c *MockLogger_WithError_Call) Run(run func(err error)) *MockLogger_WithError_Call
func (*MockLogger_WithError_Call) RunAndReturn ¶
func (_c *MockLogger_WithError_Call) RunAndReturn(run func(err error) entities.Logger) *MockLogger_WithError_Call
type MockLogger_With_Call ¶
MockLogger_With_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'With'
func (*MockLogger_With_Call) Return ¶
func (_c *MockLogger_With_Call) Return(logger entities.Logger) *MockLogger_With_Call
func (*MockLogger_With_Call) Run ¶
func (_c *MockLogger_With_Call) Run(run func(key string, value any)) *MockLogger_With_Call
func (*MockLogger_With_Call) RunAndReturn ¶
func (_c *MockLogger_With_Call) RunAndReturn(run func(key string, value any) entities.Logger) *MockLogger_With_Call
type MockMATLABManager ¶
MockMATLABManager is an autogenerated mock type for the MATLABManager type
func NewMockMATLABManager ¶
func NewMockMATLABManager(t interface {
mock.TestingT
Cleanup(func())
}) *MockMATLABManager
NewMockMATLABManager creates a new instance of MockMATLABManager. 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 (*MockMATLABManager) EXPECT ¶
func (_m *MockMATLABManager) EXPECT() *MockMATLABManager_Expecter
func (*MockMATLABManager) GetMATLABSessionClient ¶
func (_mock *MockMATLABManager) GetMATLABSessionClient(ctx context.Context, sessionLogger entities.Logger, sessionID entities.SessionID) (entities.MATLABSessionClient, error)
GetMATLABSessionClient provides a mock function for the type MockMATLABManager
func (*MockMATLABManager) ListEnvironments ¶
func (_mock *MockMATLABManager) ListEnvironments(ctx context.Context, sessionLogger entities.Logger) []entities.EnvironmentInfo
ListEnvironments provides a mock function for the type MockMATLABManager
func (*MockMATLABManager) StartMATLABSession ¶
func (_mock *MockMATLABManager) StartMATLABSession(ctx context.Context, sessionLogger entities.Logger, startRequest entities.SessionDetails) (entities.SessionID, error)
StartMATLABSession provides a mock function for the type MockMATLABManager
func (*MockMATLABManager) StopMATLABSession ¶
func (_mock *MockMATLABManager) StopMATLABSession(ctx context.Context, sessionLogger entities.Logger, sessionID entities.SessionID) error
StopMATLABSession provides a mock function for the type MockMATLABManager
type MockMATLABManager_Expecter ¶
type MockMATLABManager_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMATLABManager_Expecter) GetMATLABSessionClient ¶
func (_e *MockMATLABManager_Expecter) GetMATLABSessionClient(ctx interface{}, sessionLogger interface{}, sessionID interface{}) *MockMATLABManager_GetMATLABSessionClient_Call
GetMATLABSessionClient is a helper method to define mock.On call
- ctx context.Context
- sessionLogger entities.Logger
- sessionID entities.SessionID
func (*MockMATLABManager_Expecter) ListEnvironments ¶
func (_e *MockMATLABManager_Expecter) ListEnvironments(ctx interface{}, sessionLogger interface{}) *MockMATLABManager_ListEnvironments_Call
ListEnvironments is a helper method to define mock.On call
- ctx context.Context
- sessionLogger entities.Logger
func (*MockMATLABManager_Expecter) StartMATLABSession ¶
func (_e *MockMATLABManager_Expecter) StartMATLABSession(ctx interface{}, sessionLogger interface{}, startRequest interface{}) *MockMATLABManager_StartMATLABSession_Call
StartMATLABSession is a helper method to define mock.On call
- ctx context.Context
- sessionLogger entities.Logger
- startRequest entities.SessionDetails
func (*MockMATLABManager_Expecter) StopMATLABSession ¶
func (_e *MockMATLABManager_Expecter) StopMATLABSession(ctx interface{}, sessionLogger interface{}, sessionID interface{}) *MockMATLABManager_StopMATLABSession_Call
StopMATLABSession is a helper method to define mock.On call
- ctx context.Context
- sessionLogger entities.Logger
- sessionID entities.SessionID
type MockMATLABManager_GetMATLABSessionClient_Call ¶
MockMATLABManager_GetMATLABSessionClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMATLABSessionClient'
func (*MockMATLABManager_GetMATLABSessionClient_Call) Return ¶
func (_c *MockMATLABManager_GetMATLABSessionClient_Call) Return(mATLABSessionClient entities.MATLABSessionClient, err error) *MockMATLABManager_GetMATLABSessionClient_Call
func (*MockMATLABManager_GetMATLABSessionClient_Call) Run ¶
func (_c *MockMATLABManager_GetMATLABSessionClient_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, sessionID entities.SessionID)) *MockMATLABManager_GetMATLABSessionClient_Call
func (*MockMATLABManager_GetMATLABSessionClient_Call) RunAndReturn ¶
func (_c *MockMATLABManager_GetMATLABSessionClient_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger, sessionID entities.SessionID) (entities.MATLABSessionClient, error)) *MockMATLABManager_GetMATLABSessionClient_Call
type MockMATLABManager_ListEnvironments_Call ¶
MockMATLABManager_ListEnvironments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEnvironments'
func (*MockMATLABManager_ListEnvironments_Call) Return ¶
func (_c *MockMATLABManager_ListEnvironments_Call) Return(environmentInfos []entities.EnvironmentInfo) *MockMATLABManager_ListEnvironments_Call
func (*MockMATLABManager_ListEnvironments_Call) Run ¶
func (_c *MockMATLABManager_ListEnvironments_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger)) *MockMATLABManager_ListEnvironments_Call
func (*MockMATLABManager_ListEnvironments_Call) RunAndReturn ¶
func (_c *MockMATLABManager_ListEnvironments_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger) []entities.EnvironmentInfo) *MockMATLABManager_ListEnvironments_Call
type MockMATLABManager_StartMATLABSession_Call ¶
MockMATLABManager_StartMATLABSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartMATLABSession'
func (*MockMATLABManager_StartMATLABSession_Call) Return ¶
func (_c *MockMATLABManager_StartMATLABSession_Call) Return(sessionID entities.SessionID, err error) *MockMATLABManager_StartMATLABSession_Call
func (*MockMATLABManager_StartMATLABSession_Call) Run ¶
func (_c *MockMATLABManager_StartMATLABSession_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, startRequest entities.SessionDetails)) *MockMATLABManager_StartMATLABSession_Call
func (*MockMATLABManager_StartMATLABSession_Call) RunAndReturn ¶
func (_c *MockMATLABManager_StartMATLABSession_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger, startRequest entities.SessionDetails) (entities.SessionID, error)) *MockMATLABManager_StartMATLABSession_Call
type MockMATLABManager_StopMATLABSession_Call ¶
MockMATLABManager_StopMATLABSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopMATLABSession'
func (*MockMATLABManager_StopMATLABSession_Call) Return ¶
func (_c *MockMATLABManager_StopMATLABSession_Call) Return(err error) *MockMATLABManager_StopMATLABSession_Call
func (*MockMATLABManager_StopMATLABSession_Call) Run ¶
func (_c *MockMATLABManager_StopMATLABSession_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, sessionID entities.SessionID)) *MockMATLABManager_StopMATLABSession_Call
func (*MockMATLABManager_StopMATLABSession_Call) RunAndReturn ¶
func (_c *MockMATLABManager_StopMATLABSession_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger, sessionID entities.SessionID) error) *MockMATLABManager_StopMATLABSession_Call
type MockMATLABSessionClient ¶
MockMATLABSessionClient is an autogenerated mock type for the MATLABSessionClient type
func NewMockMATLABSessionClient ¶
func NewMockMATLABSessionClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockMATLABSessionClient
NewMockMATLABSessionClient creates a new instance of MockMATLABSessionClient. 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 (*MockMATLABSessionClient) EXPECT ¶
func (_m *MockMATLABSessionClient) EXPECT() *MockMATLABSessionClient_Expecter
func (*MockMATLABSessionClient) Eval ¶
func (_mock *MockMATLABSessionClient) Eval(ctx context.Context, sessionLogger entities.Logger, request entities.EvalRequest) (entities.EvalResponse, error)
Eval provides a mock function for the type MockMATLABSessionClient
func (*MockMATLABSessionClient) EvalWithCapture ¶
func (_mock *MockMATLABSessionClient) EvalWithCapture(ctx context.Context, logger entities.Logger, input entities.EvalRequest) (entities.EvalResponse, error)
EvalWithCapture provides a mock function for the type MockMATLABSessionClient
func (*MockMATLABSessionClient) FEval ¶
func (_mock *MockMATLABSessionClient) FEval(ctx context.Context, sessionLogger entities.Logger, request entities.FEvalRequest) (entities.FEvalResponse, error)
FEval provides a mock function for the type MockMATLABSessionClient
type MockMATLABSessionClient_EvalWithCapture_Call ¶
MockMATLABSessionClient_EvalWithCapture_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EvalWithCapture'
func (*MockMATLABSessionClient_EvalWithCapture_Call) Return ¶
func (_c *MockMATLABSessionClient_EvalWithCapture_Call) Return(evalResponse entities.EvalResponse, err error) *MockMATLABSessionClient_EvalWithCapture_Call
func (*MockMATLABSessionClient_EvalWithCapture_Call) Run ¶
func (_c *MockMATLABSessionClient_EvalWithCapture_Call) Run(run func(ctx context.Context, logger entities.Logger, input entities.EvalRequest)) *MockMATLABSessionClient_EvalWithCapture_Call
func (*MockMATLABSessionClient_EvalWithCapture_Call) RunAndReturn ¶
func (_c *MockMATLABSessionClient_EvalWithCapture_Call) RunAndReturn(run func(ctx context.Context, logger entities.Logger, input entities.EvalRequest) (entities.EvalResponse, error)) *MockMATLABSessionClient_EvalWithCapture_Call
type MockMATLABSessionClient_Eval_Call ¶
MockMATLABSessionClient_Eval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Eval'
func (*MockMATLABSessionClient_Eval_Call) Return ¶
func (_c *MockMATLABSessionClient_Eval_Call) Return(evalResponse entities.EvalResponse, err error) *MockMATLABSessionClient_Eval_Call
func (*MockMATLABSessionClient_Eval_Call) Run ¶
func (_c *MockMATLABSessionClient_Eval_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, request entities.EvalRequest)) *MockMATLABSessionClient_Eval_Call
func (*MockMATLABSessionClient_Eval_Call) RunAndReturn ¶
func (_c *MockMATLABSessionClient_Eval_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger, request entities.EvalRequest) (entities.EvalResponse, error)) *MockMATLABSessionClient_Eval_Call
type MockMATLABSessionClient_Expecter ¶
type MockMATLABSessionClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMATLABSessionClient_Expecter) Eval ¶
func (_e *MockMATLABSessionClient_Expecter) Eval(ctx interface{}, sessionLogger interface{}, request interface{}) *MockMATLABSessionClient_Eval_Call
Eval is a helper method to define mock.On call
- ctx context.Context
- sessionLogger entities.Logger
- request entities.EvalRequest
func (*MockMATLABSessionClient_Expecter) EvalWithCapture ¶
func (_e *MockMATLABSessionClient_Expecter) EvalWithCapture(ctx interface{}, logger interface{}, input interface{}) *MockMATLABSessionClient_EvalWithCapture_Call
EvalWithCapture is a helper method to define mock.On call
- ctx context.Context
- logger entities.Logger
- input entities.EvalRequest
func (*MockMATLABSessionClient_Expecter) FEval ¶
func (_e *MockMATLABSessionClient_Expecter) FEval(ctx interface{}, sessionLogger interface{}, request interface{}) *MockMATLABSessionClient_FEval_Call
FEval is a helper method to define mock.On call
- ctx context.Context
- sessionLogger entities.Logger
- request entities.FEvalRequest
type MockMATLABSessionClient_FEval_Call ¶
MockMATLABSessionClient_FEval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FEval'
func (*MockMATLABSessionClient_FEval_Call) Return ¶
func (_c *MockMATLABSessionClient_FEval_Call) Return(fEvalResponse entities.FEvalResponse, err error) *MockMATLABSessionClient_FEval_Call
func (*MockMATLABSessionClient_FEval_Call) Run ¶
func (_c *MockMATLABSessionClient_FEval_Call) Run(run func(ctx context.Context, sessionLogger entities.Logger, request entities.FEvalRequest)) *MockMATLABSessionClient_FEval_Call
func (*MockMATLABSessionClient_FEval_Call) RunAndReturn ¶
func (_c *MockMATLABSessionClient_FEval_Call) RunAndReturn(run func(ctx context.Context, sessionLogger entities.Logger, request entities.FEvalRequest) (entities.FEvalResponse, error)) *MockMATLABSessionClient_FEval_Call
type MockMode ¶
MockMode is an autogenerated mock type for the Mode type
func NewMockMode ¶
NewMockMode creates a new instance of MockMode. 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 (*MockMode) EXPECT ¶
func (_m *MockMode) EXPECT() *MockMode_Expecter
type MockMode_Expecter ¶
type MockMode_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMode_Expecter) StartAndWaitForCompletion ¶
func (_e *MockMode_Expecter) StartAndWaitForCompletion(ctx interface{}) *MockMode_StartAndWaitForCompletion_Call
StartAndWaitForCompletion is a helper method to define mock.On call
- ctx context.Context
type MockMode_StartAndWaitForCompletion_Call ¶
MockMode_StartAndWaitForCompletion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartAndWaitForCompletion'
func (*MockMode_StartAndWaitForCompletion_Call) Return ¶
func (_c *MockMode_StartAndWaitForCompletion_Call) Return(err error) *MockMode_StartAndWaitForCompletion_Call
func (*MockMode_StartAndWaitForCompletion_Call) Run ¶
func (_c *MockMode_StartAndWaitForCompletion_Call) Run(run func(ctx context.Context)) *MockMode_StartAndWaitForCompletion_Call
func (*MockMode_StartAndWaitForCompletion_Call) RunAndReturn ¶
func (_c *MockMode_StartAndWaitForCompletion_Call) RunAndReturn(run func(ctx context.Context) error) *MockMode_StartAndWaitForCompletion_Call
type MockOSStdio ¶
MockOSStdio is an autogenerated mock type for the OSStdio type
func NewMockOSStdio ¶
func NewMockOSStdio(t interface {
mock.TestingT
Cleanup(func())
}) *MockOSStdio
NewMockOSStdio creates a new instance of MockOSStdio. 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 (*MockOSStdio) EXPECT ¶
func (_m *MockOSStdio) EXPECT() *MockOSStdio_Expecter
func (*MockOSStdio) Stderr ¶
func (_mock *MockOSStdio) Stderr() entities.Writer
Stderr provides a mock function for the type MockOSStdio
func (*MockOSStdio) Stdin ¶
func (_mock *MockOSStdio) Stdin() entities.Reader
Stdin provides a mock function for the type MockOSStdio
func (*MockOSStdio) Stdout ¶
func (_mock *MockOSStdio) Stdout() entities.Writer
Stdout provides a mock function for the type MockOSStdio
type MockOSStdio_Expecter ¶
type MockOSStdio_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOSStdio_Expecter) Stderr ¶
func (_e *MockOSStdio_Expecter) Stderr() *MockOSStdio_Stderr_Call
Stderr is a helper method to define mock.On call
func (*MockOSStdio_Expecter) Stdin ¶
func (_e *MockOSStdio_Expecter) Stdin() *MockOSStdio_Stdin_Call
Stdin is a helper method to define mock.On call
func (*MockOSStdio_Expecter) Stdout ¶
func (_e *MockOSStdio_Expecter) Stdout() *MockOSStdio_Stdout_Call
Stdout is a helper method to define mock.On call
type MockOSStdio_Stderr_Call ¶
MockOSStdio_Stderr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stderr'
func (*MockOSStdio_Stderr_Call) Return ¶
func (_c *MockOSStdio_Stderr_Call) Return(writer entities.Writer) *MockOSStdio_Stderr_Call
func (*MockOSStdio_Stderr_Call) Run ¶
func (_c *MockOSStdio_Stderr_Call) Run(run func()) *MockOSStdio_Stderr_Call
func (*MockOSStdio_Stderr_Call) RunAndReturn ¶
func (_c *MockOSStdio_Stderr_Call) RunAndReturn(run func() entities.Writer) *MockOSStdio_Stderr_Call
type MockOSStdio_Stdin_Call ¶
MockOSStdio_Stdin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stdin'
func (*MockOSStdio_Stdin_Call) Return ¶
func (_c *MockOSStdio_Stdin_Call) Return(reader entities.Reader) *MockOSStdio_Stdin_Call
func (*MockOSStdio_Stdin_Call) Run ¶
func (_c *MockOSStdio_Stdin_Call) Run(run func()) *MockOSStdio_Stdin_Call
func (*MockOSStdio_Stdin_Call) RunAndReturn ¶
func (_c *MockOSStdio_Stdin_Call) RunAndReturn(run func() entities.Reader) *MockOSStdio_Stdin_Call
type MockOSStdio_Stdout_Call ¶
MockOSStdio_Stdout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stdout'
func (*MockOSStdio_Stdout_Call) Return ¶
func (_c *MockOSStdio_Stdout_Call) Return(writer entities.Writer) *MockOSStdio_Stdout_Call
func (*MockOSStdio_Stdout_Call) Run ¶
func (_c *MockOSStdio_Stdout_Call) Run(run func()) *MockOSStdio_Stdout_Call
func (*MockOSStdio_Stdout_Call) RunAndReturn ¶
func (_c *MockOSStdio_Stdout_Call) RunAndReturn(run func() entities.Writer) *MockOSStdio_Stdout_Call
type MockReader ¶
MockReader is an autogenerated mock type for the Reader type
func NewMockReader ¶
func NewMockReader(t interface {
mock.TestingT
Cleanup(func())
}) *MockReader
NewMockReader creates a new instance of MockReader. 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 (*MockReader) EXPECT ¶
func (_m *MockReader) EXPECT() *MockReader_Expecter
type MockReader_Expecter ¶
type MockReader_Expecter struct {
// contains filtered or unexported fields
}
func (*MockReader_Expecter) Read ¶
func (_e *MockReader_Expecter) Read(p interface{}) *MockReader_Read_Call
Read is a helper method to define mock.On call
- p []byte
type MockReader_Read_Call ¶
MockReader_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*MockReader_Read_Call) Return ¶
func (_c *MockReader_Read_Call) Return(n int, err error) *MockReader_Read_Call
func (*MockReader_Read_Call) Run ¶
func (_c *MockReader_Read_Call) Run(run func(p []byte)) *MockReader_Read_Call
func (*MockReader_Read_Call) RunAndReturn ¶
func (_c *MockReader_Read_Call) RunAndReturn(run func(p []byte) (int, error)) *MockReader_Read_Call
type MockSessionDetails ¶
MockSessionDetails is an autogenerated mock type for the SessionDetails type
func NewMockSessionDetails ¶
func NewMockSessionDetails(t interface {
mock.TestingT
Cleanup(func())
}) *MockSessionDetails
NewMockSessionDetails creates a new instance of MockSessionDetails. 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 (*MockSessionDetails) EXPECT ¶
func (_m *MockSessionDetails) EXPECT() *MockSessionDetails_Expecter
type MockSessionDetails_Expecter ¶
type MockSessionDetails_Expecter struct {
// contains filtered or unexported fields
}
type MockSessionDetails_interfacelock_Call ¶
MockSessionDetails_interfacelock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'interfacelock'
func (*MockSessionDetails_interfacelock_Call) Return ¶
func (_c *MockSessionDetails_interfacelock_Call) Return() *MockSessionDetails_interfacelock_Call
func (*MockSessionDetails_interfacelock_Call) Run ¶
func (_c *MockSessionDetails_interfacelock_Call) Run(run func()) *MockSessionDetails_interfacelock_Call
func (*MockSessionDetails_interfacelock_Call) RunAndReturn ¶
func (_c *MockSessionDetails_interfacelock_Call) RunAndReturn(run func()) *MockSessionDetails_interfacelock_Call
type MockSubProcessStdio ¶
MockSubProcessStdio is an autogenerated mock type for the SubProcessStdio type
func NewMockSubProcessStdio ¶
func NewMockSubProcessStdio(t interface {
mock.TestingT
Cleanup(func())
}) *MockSubProcessStdio
NewMockSubProcessStdio creates a new instance of MockSubProcessStdio. 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 (*MockSubProcessStdio) EXPECT ¶
func (_m *MockSubProcessStdio) EXPECT() *MockSubProcessStdio_Expecter
func (*MockSubProcessStdio) Stderr ¶
func (_mock *MockSubProcessStdio) Stderr() entities.Reader
Stderr provides a mock function for the type MockSubProcessStdio
func (*MockSubProcessStdio) Stdin ¶
func (_mock *MockSubProcessStdio) Stdin() entities.Writer
Stdin provides a mock function for the type MockSubProcessStdio
func (*MockSubProcessStdio) Stdout ¶
func (_mock *MockSubProcessStdio) Stdout() entities.Reader
Stdout provides a mock function for the type MockSubProcessStdio
type MockSubProcessStdio_Expecter ¶
type MockSubProcessStdio_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSubProcessStdio_Expecter) Stderr ¶
func (_e *MockSubProcessStdio_Expecter) Stderr() *MockSubProcessStdio_Stderr_Call
Stderr is a helper method to define mock.On call
func (*MockSubProcessStdio_Expecter) Stdin ¶
func (_e *MockSubProcessStdio_Expecter) Stdin() *MockSubProcessStdio_Stdin_Call
Stdin is a helper method to define mock.On call
func (*MockSubProcessStdio_Expecter) Stdout ¶
func (_e *MockSubProcessStdio_Expecter) Stdout() *MockSubProcessStdio_Stdout_Call
Stdout is a helper method to define mock.On call
type MockSubProcessStdio_Stderr_Call ¶
MockSubProcessStdio_Stderr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stderr'
func (*MockSubProcessStdio_Stderr_Call) Return ¶
func (_c *MockSubProcessStdio_Stderr_Call) Return(reader entities.Reader) *MockSubProcessStdio_Stderr_Call
func (*MockSubProcessStdio_Stderr_Call) Run ¶
func (_c *MockSubProcessStdio_Stderr_Call) Run(run func()) *MockSubProcessStdio_Stderr_Call
func (*MockSubProcessStdio_Stderr_Call) RunAndReturn ¶
func (_c *MockSubProcessStdio_Stderr_Call) RunAndReturn(run func() entities.Reader) *MockSubProcessStdio_Stderr_Call
type MockSubProcessStdio_Stdin_Call ¶
MockSubProcessStdio_Stdin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stdin'
func (*MockSubProcessStdio_Stdin_Call) Return ¶
func (_c *MockSubProcessStdio_Stdin_Call) Return(writer entities.Writer) *MockSubProcessStdio_Stdin_Call
func (*MockSubProcessStdio_Stdin_Call) Run ¶
func (_c *MockSubProcessStdio_Stdin_Call) Run(run func()) *MockSubProcessStdio_Stdin_Call
func (*MockSubProcessStdio_Stdin_Call) RunAndReturn ¶
func (_c *MockSubProcessStdio_Stdin_Call) RunAndReturn(run func() entities.Writer) *MockSubProcessStdio_Stdin_Call
type MockSubProcessStdio_Stdout_Call ¶
MockSubProcessStdio_Stdout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stdout'
func (*MockSubProcessStdio_Stdout_Call) Return ¶
func (_c *MockSubProcessStdio_Stdout_Call) Return(reader entities.Reader) *MockSubProcessStdio_Stdout_Call
func (*MockSubProcessStdio_Stdout_Call) Run ¶
func (_c *MockSubProcessStdio_Stdout_Call) Run(run func()) *MockSubProcessStdio_Stdout_Call
func (*MockSubProcessStdio_Stdout_Call) RunAndReturn ¶
func (_c *MockSubProcessStdio_Stdout_Call) RunAndReturn(run func() entities.Reader) *MockSubProcessStdio_Stdout_Call
type MockWriter ¶
MockWriter is an autogenerated mock type for the Writer type
func NewMockWriter ¶
func NewMockWriter(t interface {
mock.TestingT
Cleanup(func())
}) *MockWriter
NewMockWriter creates a new instance of MockWriter. 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 (*MockWriter) EXPECT ¶
func (_m *MockWriter) EXPECT() *MockWriter_Expecter
type MockWriter_Expecter ¶
type MockWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWriter_Expecter) Write ¶
func (_e *MockWriter_Expecter) Write(p interface{}) *MockWriter_Write_Call
Write is a helper method to define mock.On call
- p []byte
type MockWriter_Write_Call ¶
MockWriter_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*MockWriter_Write_Call) Return ¶
func (_c *MockWriter_Write_Call) Return(n int, err error) *MockWriter_Write_Call
func (*MockWriter_Write_Call) Run ¶
func (_c *MockWriter_Write_Call) Run(run func(p []byte)) *MockWriter_Write_Call
func (*MockWriter_Write_Call) RunAndReturn ¶
func (_c *MockWriter_Write_Call) RunAndReturn(run func(p []byte) (int, error)) *MockWriter_Write_Call