mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGlobalMATLAB

type MockGlobalMATLAB struct {
	mock.Mock
}

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

Client provides a mock function for the type MockGlobalMATLAB

func (*MockGlobalMATLAB) EXPECT

type MockGlobalMATLAB_Client_Call

type MockGlobalMATLAB_Client_Call struct {
	*mock.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 (*MockGlobalMATLAB_Client_Call) Run

func (*MockGlobalMATLAB_Client_Call) RunAndReturn

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

type MockLogger struct {
	mock.Mock
}

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

func (*MockLogger) With

func (_mock *MockLogger) With(key string, value any) entities.Logger

With provides a mock function for the type MockLogger

func (*MockLogger) WithError

func (_mock *MockLogger) WithError(err error) entities.Logger

WithError provides a mock function for the type MockLogger

type MockLogger_Debug_Call

type MockLogger_Debug_Call struct {
	*mock.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 (*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

type MockLogger_Error_Call struct {
	*mock.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 (*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

type MockLogger_Info_Call struct {
	*mock.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 (*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

type MockLogger_Warn_Call struct {
	*mock.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 (*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

type MockLogger_WithError_Call struct {
	*mock.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 (*MockLogger_WithError_Call) Run

func (*MockLogger_WithError_Call) RunAndReturn

func (_c *MockLogger_WithError_Call) RunAndReturn(run func(err error) entities.Logger) *MockLogger_WithError_Call

type MockLogger_With_Call

type MockLogger_With_Call struct {
	*mock.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 (*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

type MockMATLABManager struct {
	mock.Mock
}

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 (*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

type MockMATLABManager_GetMATLABSessionClient_Call struct {
	*mock.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 (*MockMATLABManager_GetMATLABSessionClient_Call) Run

func (*MockMATLABManager_GetMATLABSessionClient_Call) RunAndReturn

type MockMATLABManager_ListEnvironments_Call

type MockMATLABManager_ListEnvironments_Call struct {
	*mock.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 (*MockMATLABManager_ListEnvironments_Call) Run

func (*MockMATLABManager_ListEnvironments_Call) RunAndReturn

type MockMATLABManager_StartMATLABSession_Call

type MockMATLABManager_StartMATLABSession_Call struct {
	*mock.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 (*MockMATLABManager_StartMATLABSession_Call) Run

func (*MockMATLABManager_StartMATLABSession_Call) RunAndReturn

type MockMATLABManager_StopMATLABSession_Call

type MockMATLABManager_StopMATLABSession_Call struct {
	*mock.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 (*MockMATLABManager_StopMATLABSession_Call) Run

func (*MockMATLABManager_StopMATLABSession_Call) RunAndReturn

type MockMATLABSessionClient

type MockMATLABSessionClient struct {
	mock.Mock
}

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 (*MockMATLABSessionClient) Eval

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

FEval provides a mock function for the type MockMATLABSessionClient

func (*MockMATLABSessionClient) Ping added in v0.3.0

Ping provides a mock function for the type MockMATLABSessionClient

type MockMATLABSessionClient_EvalWithCapture_Call

type MockMATLABSessionClient_EvalWithCapture_Call struct {
	*mock.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 (*MockMATLABSessionClient_EvalWithCapture_Call) Run

func (*MockMATLABSessionClient_EvalWithCapture_Call) RunAndReturn

type MockMATLABSessionClient_Eval_Call

type MockMATLABSessionClient_Eval_Call struct {
	*mock.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 (*MockMATLABSessionClient_Eval_Call) Run

func (*MockMATLABSessionClient_Eval_Call) RunAndReturn

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

func (*MockMATLABSessionClient_Expecter) Ping added in v0.3.0

func (_e *MockMATLABSessionClient_Expecter) Ping(ctx interface{}, sessionLogger interface{}) *MockMATLABSessionClient_Ping_Call

Ping is a helper method to define mock.On call

  • ctx context.Context
  • sessionLogger entities.Logger

type MockMATLABSessionClient_FEval_Call

type MockMATLABSessionClient_FEval_Call struct {
	*mock.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 (*MockMATLABSessionClient_FEval_Call) Run

func (*MockMATLABSessionClient_FEval_Call) RunAndReturn

type MockMATLABSessionClient_Ping_Call added in v0.3.0

type MockMATLABSessionClient_Ping_Call struct {
	*mock.Call
}

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

func (*MockMATLABSessionClient_Ping_Call) Return added in v0.3.0

func (*MockMATLABSessionClient_Ping_Call) Run added in v0.3.0

func (*MockMATLABSessionClient_Ping_Call) RunAndReturn added in v0.3.0

type MockParameter added in v0.5.1

type MockParameter struct {
	mock.Mock
}

MockParameter is an autogenerated mock type for the Parameter type

func NewMockParameter added in v0.5.1

func NewMockParameter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockParameter

NewMockParameter creates a new instance of MockParameter. 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 (*MockParameter) EXPECT added in v0.5.1

func (_m *MockParameter) EXPECT() *MockParameter_Expecter

func (*MockParameter) GetActive added in v0.5.1

func (_mock *MockParameter) GetActive() bool

GetActive provides a mock function for the type MockParameter

func (*MockParameter) GetDefaultValue added in v0.5.1

func (_mock *MockParameter) GetDefaultValue() any

GetDefaultValue provides a mock function for the type MockParameter

func (*MockParameter) GetDescription added in v0.5.1

func (_mock *MockParameter) GetDescription() string

GetDescription provides a mock function for the type MockParameter

func (*MockParameter) GetEnvVarName added in v0.5.1

func (_mock *MockParameter) GetEnvVarName() string

GetEnvVarName provides a mock function for the type MockParameter

func (*MockParameter) GetFlagName added in v0.5.1

func (_mock *MockParameter) GetFlagName() string

GetFlagName provides a mock function for the type MockParameter

func (*MockParameter) GetHiddenFlag added in v0.5.1

func (_mock *MockParameter) GetHiddenFlag() bool

GetHiddenFlag provides a mock function for the type MockParameter

func (*MockParameter) GetID added in v0.5.1

func (_mock *MockParameter) GetID() string

GetID provides a mock function for the type MockParameter

func (*MockParameter) GetPIISafe added in v0.7.0

func (_mock *MockParameter) GetPIISafe() bool

GetPIISafe provides a mock function for the type MockParameter

func (*MockParameter) GetRecordToLog added in v0.5.1

func (_mock *MockParameter) GetRecordToLog() bool

GetRecordToLog provides a mock function for the type MockParameter

type MockParameter_Expecter added in v0.5.1

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

func (*MockParameter_Expecter) GetActive added in v0.5.1

GetActive is a helper method to define mock.On call

func (*MockParameter_Expecter) GetDefaultValue added in v0.5.1

GetDefaultValue is a helper method to define mock.On call

func (*MockParameter_Expecter) GetDescription added in v0.5.1

GetDescription is a helper method to define mock.On call

func (*MockParameter_Expecter) GetEnvVarName added in v0.5.1

GetEnvVarName is a helper method to define mock.On call

func (*MockParameter_Expecter) GetFlagName added in v0.5.1

GetFlagName is a helper method to define mock.On call

func (*MockParameter_Expecter) GetHiddenFlag added in v0.5.1

GetHiddenFlag is a helper method to define mock.On call

func (*MockParameter_Expecter) GetID added in v0.5.1

GetID is a helper method to define mock.On call

func (*MockParameter_Expecter) GetPIISafe added in v0.7.0

GetPIISafe is a helper method to define mock.On call

func (*MockParameter_Expecter) GetRecordToLog added in v0.5.1

GetRecordToLog is a helper method to define mock.On call

type MockParameter_GetActive_Call added in v0.5.1

type MockParameter_GetActive_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetActive_Call) Return added in v0.5.1

func (*MockParameter_GetActive_Call) Run added in v0.5.1

func (*MockParameter_GetActive_Call) RunAndReturn added in v0.5.1

func (_c *MockParameter_GetActive_Call) RunAndReturn(run func() bool) *MockParameter_GetActive_Call

type MockParameter_GetDefaultValue_Call added in v0.5.1

type MockParameter_GetDefaultValue_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetDefaultValue_Call) Return added in v0.5.1

func (*MockParameter_GetDefaultValue_Call) Run added in v0.5.1

func (*MockParameter_GetDefaultValue_Call) RunAndReturn added in v0.5.1

type MockParameter_GetDescription_Call added in v0.5.1

type MockParameter_GetDescription_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetDescription_Call) Return added in v0.5.1

func (*MockParameter_GetDescription_Call) Run added in v0.5.1

func (*MockParameter_GetDescription_Call) RunAndReturn added in v0.5.1

type MockParameter_GetEnvVarName_Call added in v0.5.1

type MockParameter_GetEnvVarName_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetEnvVarName_Call) Return added in v0.5.1

func (*MockParameter_GetEnvVarName_Call) Run added in v0.5.1

func (*MockParameter_GetEnvVarName_Call) RunAndReturn added in v0.5.1

type MockParameter_GetFlagName_Call added in v0.5.1

type MockParameter_GetFlagName_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetFlagName_Call) Return added in v0.5.1

func (*MockParameter_GetFlagName_Call) Run added in v0.5.1

func (*MockParameter_GetFlagName_Call) RunAndReturn added in v0.5.1

type MockParameter_GetHiddenFlag_Call added in v0.5.1

type MockParameter_GetHiddenFlag_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetHiddenFlag_Call) Return added in v0.5.1

func (*MockParameter_GetHiddenFlag_Call) Run added in v0.5.1

func (*MockParameter_GetHiddenFlag_Call) RunAndReturn added in v0.5.1

type MockParameter_GetID_Call added in v0.5.1

type MockParameter_GetID_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetID_Call) Return added in v0.5.1

func (*MockParameter_GetID_Call) Run added in v0.5.1

func (*MockParameter_GetID_Call) RunAndReturn added in v0.5.1

func (_c *MockParameter_GetID_Call) RunAndReturn(run func() string) *MockParameter_GetID_Call

type MockParameter_GetPIISafe_Call added in v0.7.0

type MockParameter_GetPIISafe_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetPIISafe_Call) Return added in v0.7.0

func (*MockParameter_GetPIISafe_Call) Run added in v0.7.0

func (*MockParameter_GetPIISafe_Call) RunAndReturn added in v0.7.0

type MockParameter_GetRecordToLog_Call added in v0.5.1

type MockParameter_GetRecordToLog_Call struct {
	*mock.Call
}

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

func (*MockParameter_GetRecordToLog_Call) Return added in v0.5.1

func (*MockParameter_GetRecordToLog_Call) Run added in v0.5.1

func (*MockParameter_GetRecordToLog_Call) RunAndReturn added in v0.5.1

type MockSessionDetails

type MockSessionDetails struct {
	mock.Mock
}

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

type MockSessionDetails_Expecter

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

type MockSessionDetails_interfacelock_Call

type MockSessionDetails_interfacelock_Call struct {
	*mock.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 (*MockSessionDetails_interfacelock_Call) Run

func (*MockSessionDetails_interfacelock_Call) RunAndReturn

type MockWriter

type MockWriter struct {
	mock.Mock
}

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

func (*MockWriter) Write

func (_mock *MockWriter) Write(p []byte) (int, error)

Write provides a mock function for the type MockWriter

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

type MockWriter_Write_Call struct {
	*mock.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 (*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

Jump to

Keyboard shortcuts

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