Documentation
¶
Index ¶
- type Client
- type Client_Expecter
- type Client_RunSQLInTransaction_Call
- type Client_UseDatabaseInTransaction_Call
- func (_c *Client_UseDatabaseInTransaction_Call) Return(err error) *Client_UseDatabaseInTransaction_Call
- func (_c *Client_UseDatabaseInTransaction_Call) Run(run func(ctx context.Context, ...)) *Client_UseDatabaseInTransaction_Call
- func (_c *Client_UseDatabaseInTransaction_Call) RunAndReturn(run func(ctx context.Context, ...) error) *Client_UseDatabaseInTransaction_Call
- type Database
- func (_mock *Database) DefineNewSession(ctx context.Context, name string, description *string, ...) (models.Session, error)
- func (_mock *Database) DeleteSession(ctx context.Context, name string) error
- func (_m *Database) EXPECT() *Database_Expecter
- func (_mock *Database) GetSessionByName(ctx context.Context, name string) (models.Session, error)
- func (_mock *Database) ListSessions(ctx context.Context, filters db.SessionQueryFilter) ([]models.Session, error)
- func (_mock *Database) MarkSessionIdle(ctx context.Context, name string) error
- func (_mock *Database) MarkSessionReady(ctx context.Context, name string) error
- func (_mock *Database) Ready() error
- func (_mock *Database) UpdateSessionCommand(ctx context.Context, name string, newCommand models.SessionCommand) error
- func (_mock *Database) UpdateSessionDescription(ctx context.Context, name string, newDescription *string) error
- func (_mock *Database) UpdateSessionDriver(ctx context.Context, name string, driverParams interface{}) error
- func (_mock *Database) UpdateSessionName(ctx context.Context, name string, newName string) error
- func (_mock *Database) UpdateSessionOutputBufCapacity(ctx context.Context, name string, newCap int64) error
- func (_mock *Database) UpdateSessionRunMode(ctx context.Context, name string, newMode models.SessionRunnerModeTypeENUMType) error
- type Database_DefineNewSession_Call
- func (_c *Database_DefineNewSession_Call) Return(session models.Session, err error) *Database_DefineNewSession_Call
- func (_c *Database_DefineNewSession_Call) Run(run func(ctx context.Context, name string, description *string, ...)) *Database_DefineNewSession_Call
- func (_c *Database_DefineNewSession_Call) RunAndReturn(...) *Database_DefineNewSession_Call
- type Database_DeleteSession_Call
- func (_c *Database_DeleteSession_Call) Return(err error) *Database_DeleteSession_Call
- func (_c *Database_DeleteSession_Call) Run(run func(ctx context.Context, name string)) *Database_DeleteSession_Call
- func (_c *Database_DeleteSession_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Database_DeleteSession_Call
- type Database_Expecter
- func (_e *Database_Expecter) DefineNewSession(ctx interface{}, name interface{}, description interface{}, ...) *Database_DefineNewSession_Call
- func (_e *Database_Expecter) DeleteSession(ctx interface{}, name interface{}) *Database_DeleteSession_Call
- func (_e *Database_Expecter) GetSessionByName(ctx interface{}, name interface{}) *Database_GetSessionByName_Call
- func (_e *Database_Expecter) ListSessions(ctx interface{}, filters interface{}) *Database_ListSessions_Call
- func (_e *Database_Expecter) MarkSessionIdle(ctx interface{}, name interface{}) *Database_MarkSessionIdle_Call
- func (_e *Database_Expecter) MarkSessionReady(ctx interface{}, name interface{}) *Database_MarkSessionReady_Call
- func (_e *Database_Expecter) Ready() *Database_Ready_Call
- func (_e *Database_Expecter) UpdateSessionCommand(ctx interface{}, name interface{}, newCommand interface{}) *Database_UpdateSessionCommand_Call
- func (_e *Database_Expecter) UpdateSessionDescription(ctx interface{}, name interface{}, newDescription interface{}) *Database_UpdateSessionDescription_Call
- func (_e *Database_Expecter) UpdateSessionDriver(ctx interface{}, name interface{}, driverParams interface{}) *Database_UpdateSessionDriver_Call
- func (_e *Database_Expecter) UpdateSessionName(ctx interface{}, name interface{}, newName interface{}) *Database_UpdateSessionName_Call
- func (_e *Database_Expecter) UpdateSessionOutputBufCapacity(ctx interface{}, name interface{}, newCap interface{}) *Database_UpdateSessionOutputBufCapacity_Call
- func (_e *Database_Expecter) UpdateSessionRunMode(ctx interface{}, name interface{}, newMode interface{}) *Database_UpdateSessionRunMode_Call
- type Database_GetSessionByName_Call
- func (_c *Database_GetSessionByName_Call) Return(session models.Session, err error) *Database_GetSessionByName_Call
- func (_c *Database_GetSessionByName_Call) Run(run func(ctx context.Context, name string)) *Database_GetSessionByName_Call
- func (_c *Database_GetSessionByName_Call) RunAndReturn(run func(ctx context.Context, name string) (models.Session, error)) *Database_GetSessionByName_Call
- type Database_ListSessions_Call
- func (_c *Database_ListSessions_Call) Return(sessions []models.Session, err error) *Database_ListSessions_Call
- func (_c *Database_ListSessions_Call) Run(run func(ctx context.Context, filters db.SessionQueryFilter)) *Database_ListSessions_Call
- func (_c *Database_ListSessions_Call) RunAndReturn(...) *Database_ListSessions_Call
- type Database_MarkSessionIdle_Call
- func (_c *Database_MarkSessionIdle_Call) Return(err error) *Database_MarkSessionIdle_Call
- func (_c *Database_MarkSessionIdle_Call) Run(run func(ctx context.Context, name string)) *Database_MarkSessionIdle_Call
- func (_c *Database_MarkSessionIdle_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Database_MarkSessionIdle_Call
- type Database_MarkSessionReady_Call
- func (_c *Database_MarkSessionReady_Call) Return(err error) *Database_MarkSessionReady_Call
- func (_c *Database_MarkSessionReady_Call) Run(run func(ctx context.Context, name string)) *Database_MarkSessionReady_Call
- func (_c *Database_MarkSessionReady_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Database_MarkSessionReady_Call
- type Database_Ready_Call
- type Database_UpdateSessionCommand_Call
- func (_c *Database_UpdateSessionCommand_Call) Return(err error) *Database_UpdateSessionCommand_Call
- func (_c *Database_UpdateSessionCommand_Call) Run(run func(ctx context.Context, name string, newCommand models.SessionCommand)) *Database_UpdateSessionCommand_Call
- func (_c *Database_UpdateSessionCommand_Call) RunAndReturn(...) *Database_UpdateSessionCommand_Call
- type Database_UpdateSessionDescription_Call
- func (_c *Database_UpdateSessionDescription_Call) Return(err error) *Database_UpdateSessionDescription_Call
- func (_c *Database_UpdateSessionDescription_Call) Run(run func(ctx context.Context, name string, newDescription *string)) *Database_UpdateSessionDescription_Call
- func (_c *Database_UpdateSessionDescription_Call) RunAndReturn(run func(ctx context.Context, name string, newDescription *string) error) *Database_UpdateSessionDescription_Call
- type Database_UpdateSessionDriver_Call
- func (_c *Database_UpdateSessionDriver_Call) Return(err error) *Database_UpdateSessionDriver_Call
- func (_c *Database_UpdateSessionDriver_Call) Run(run func(ctx context.Context, name string, driverParams interface{})) *Database_UpdateSessionDriver_Call
- func (_c *Database_UpdateSessionDriver_Call) RunAndReturn(run func(ctx context.Context, name string, driverParams interface{}) error) *Database_UpdateSessionDriver_Call
- type Database_UpdateSessionName_Call
- func (_c *Database_UpdateSessionName_Call) Return(err error) *Database_UpdateSessionName_Call
- func (_c *Database_UpdateSessionName_Call) Run(run func(ctx context.Context, name string, newName string)) *Database_UpdateSessionName_Call
- func (_c *Database_UpdateSessionName_Call) RunAndReturn(run func(ctx context.Context, name string, newName string) error) *Database_UpdateSessionName_Call
- type Database_UpdateSessionOutputBufCapacity_Call
- func (_c *Database_UpdateSessionOutputBufCapacity_Call) Return(err error) *Database_UpdateSessionOutputBufCapacity_Call
- func (_c *Database_UpdateSessionOutputBufCapacity_Call) Run(run func(ctx context.Context, name string, newCap int64)) *Database_UpdateSessionOutputBufCapacity_Call
- func (_c *Database_UpdateSessionOutputBufCapacity_Call) RunAndReturn(run func(ctx context.Context, name string, newCap int64) error) *Database_UpdateSessionOutputBufCapacity_Call
- type Database_UpdateSessionRunMode_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) RunSQLInTransaction ¶
func (_e *Client_Expecter) RunSQLInTransaction(ctx interface{}, coreLogic interface{}) *Client_RunSQLInTransaction_Call
RunSQLInTransaction is a helper method to define mock.On call
- ctx context.Context
- coreLogic func(ctx context.Context, tx *gorm.DB) error
func (*Client_Expecter) UseDatabaseInTransaction ¶
func (_e *Client_Expecter) UseDatabaseInTransaction(ctx interface{}, coreLogic interface{}) *Client_UseDatabaseInTransaction_Call
UseDatabaseInTransaction is a helper method to define mock.On call
- ctx context.Context
- coreLogic func(ctx context.Context, dbClient db.Database) error
type Client_RunSQLInTransaction_Call ¶
Client_RunSQLInTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunSQLInTransaction'
func (*Client_RunSQLInTransaction_Call) Return ¶
func (_c *Client_RunSQLInTransaction_Call) Return(err error) *Client_RunSQLInTransaction_Call
func (*Client_RunSQLInTransaction_Call) Run ¶
func (_c *Client_RunSQLInTransaction_Call) Run(run func(ctx context.Context, coreLogic func(ctx context.Context, tx *gorm.DB) error)) *Client_RunSQLInTransaction_Call
func (*Client_RunSQLInTransaction_Call) RunAndReturn ¶
func (_c *Client_RunSQLInTransaction_Call) RunAndReturn(run func(ctx context.Context, coreLogic func(ctx context.Context, tx *gorm.DB) error) error) *Client_RunSQLInTransaction_Call
type Client_UseDatabaseInTransaction_Call ¶
Client_UseDatabaseInTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UseDatabaseInTransaction'
func (*Client_UseDatabaseInTransaction_Call) Return ¶
func (_c *Client_UseDatabaseInTransaction_Call) Return(err error) *Client_UseDatabaseInTransaction_Call
func (*Client_UseDatabaseInTransaction_Call) Run ¶
func (_c *Client_UseDatabaseInTransaction_Call) Run(run func(ctx context.Context, coreLogic func(ctx context.Context, dbClient db.Database) error)) *Client_UseDatabaseInTransaction_Call
func (*Client_UseDatabaseInTransaction_Call) RunAndReturn ¶
func (_c *Client_UseDatabaseInTransaction_Call) RunAndReturn(run func(ctx context.Context, coreLogic func(ctx context.Context, dbClient db.Database) error) error) *Client_UseDatabaseInTransaction_Call
type Database ¶
Database is an autogenerated mock type for the Database type
func NewDatabase ¶
NewDatabase creates a new instance of Database. 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 (*Database) DefineNewSession ¶
func (_mock *Database) DefineNewSession(ctx context.Context, name string, description *string, command models.SessionCommand, outputBufferCapacity int64, driverParams interface{}) (models.Session, error)
DefineNewSession provides a mock function for the type Database
func (*Database) DeleteSession ¶
DeleteSession provides a mock function for the type Database
func (*Database) EXPECT ¶
func (_m *Database) EXPECT() *Database_Expecter
func (*Database) GetSessionByName ¶
GetSessionByName provides a mock function for the type Database
func (*Database) ListSessions ¶
func (_mock *Database) ListSessions(ctx context.Context, filters db.SessionQueryFilter) ([]models.Session, error)
ListSessions provides a mock function for the type Database
func (*Database) MarkSessionIdle ¶
MarkSessionIdle provides a mock function for the type Database
func (*Database) MarkSessionReady ¶
MarkSessionReady provides a mock function for the type Database
func (*Database) UpdateSessionCommand ¶
func (_mock *Database) UpdateSessionCommand(ctx context.Context, name string, newCommand models.SessionCommand) error
UpdateSessionCommand provides a mock function for the type Database
func (*Database) UpdateSessionDescription ¶
func (_mock *Database) UpdateSessionDescription(ctx context.Context, name string, newDescription *string) error
UpdateSessionDescription provides a mock function for the type Database
func (*Database) UpdateSessionDriver ¶
func (_mock *Database) UpdateSessionDriver(ctx context.Context, name string, driverParams interface{}) error
UpdateSessionDriver provides a mock function for the type Database
func (*Database) UpdateSessionName ¶
UpdateSessionName provides a mock function for the type Database
func (*Database) UpdateSessionOutputBufCapacity ¶
func (_mock *Database) UpdateSessionOutputBufCapacity(ctx context.Context, name string, newCap int64) error
UpdateSessionOutputBufCapacity provides a mock function for the type Database
func (*Database) UpdateSessionRunMode ¶
func (_mock *Database) UpdateSessionRunMode(ctx context.Context, name string, newMode models.SessionRunnerModeTypeENUMType) error
UpdateSessionRunMode provides a mock function for the type Database
type Database_DefineNewSession_Call ¶
Database_DefineNewSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DefineNewSession'
func (*Database_DefineNewSession_Call) Return ¶
func (_c *Database_DefineNewSession_Call) Return(session models.Session, err error) *Database_DefineNewSession_Call
func (*Database_DefineNewSession_Call) Run ¶
func (_c *Database_DefineNewSession_Call) Run(run func(ctx context.Context, name string, description *string, command models.SessionCommand, outputBufferCapacity int64, driverParams interface{})) *Database_DefineNewSession_Call
func (*Database_DefineNewSession_Call) RunAndReturn ¶
func (_c *Database_DefineNewSession_Call) RunAndReturn(run func(ctx context.Context, name string, description *string, command models.SessionCommand, outputBufferCapacity int64, driverParams interface{}) (models.Session, error)) *Database_DefineNewSession_Call
type Database_DeleteSession_Call ¶
Database_DeleteSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSession'
func (*Database_DeleteSession_Call) Return ¶
func (_c *Database_DeleteSession_Call) Return(err error) *Database_DeleteSession_Call
func (*Database_DeleteSession_Call) Run ¶
func (_c *Database_DeleteSession_Call) Run(run func(ctx context.Context, name string)) *Database_DeleteSession_Call
func (*Database_DeleteSession_Call) RunAndReturn ¶
func (_c *Database_DeleteSession_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Database_DeleteSession_Call
type Database_Expecter ¶
type Database_Expecter struct {
// contains filtered or unexported fields
}
func (*Database_Expecter) DefineNewSession ¶
func (_e *Database_Expecter) DefineNewSession(ctx interface{}, name interface{}, description interface{}, command interface{}, outputBufferCapacity interface{}, driverParams interface{}) *Database_DefineNewSession_Call
DefineNewSession is a helper method to define mock.On call
- ctx context.Context
- name string
- description *string
- command models.SessionCommand
- outputBufferCapacity int64
- driverParams interface{}
func (*Database_Expecter) DeleteSession ¶
func (_e *Database_Expecter) DeleteSession(ctx interface{}, name interface{}) *Database_DeleteSession_Call
DeleteSession is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Database_Expecter) GetSessionByName ¶
func (_e *Database_Expecter) GetSessionByName(ctx interface{}, name interface{}) *Database_GetSessionByName_Call
GetSessionByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Database_Expecter) ListSessions ¶
func (_e *Database_Expecter) ListSessions(ctx interface{}, filters interface{}) *Database_ListSessions_Call
ListSessions is a helper method to define mock.On call
- ctx context.Context
- filters db.SessionQueryFilter
func (*Database_Expecter) MarkSessionIdle ¶
func (_e *Database_Expecter) MarkSessionIdle(ctx interface{}, name interface{}) *Database_MarkSessionIdle_Call
MarkSessionIdle is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Database_Expecter) MarkSessionReady ¶
func (_e *Database_Expecter) MarkSessionReady(ctx interface{}, name interface{}) *Database_MarkSessionReady_Call
MarkSessionReady is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Database_Expecter) Ready ¶
func (_e *Database_Expecter) Ready() *Database_Ready_Call
Ready is a helper method to define mock.On call
func (*Database_Expecter) UpdateSessionCommand ¶
func (_e *Database_Expecter) UpdateSessionCommand(ctx interface{}, name interface{}, newCommand interface{}) *Database_UpdateSessionCommand_Call
UpdateSessionCommand is a helper method to define mock.On call
- ctx context.Context
- name string
- newCommand models.SessionCommand
func (*Database_Expecter) UpdateSessionDescription ¶
func (_e *Database_Expecter) UpdateSessionDescription(ctx interface{}, name interface{}, newDescription interface{}) *Database_UpdateSessionDescription_Call
UpdateSessionDescription is a helper method to define mock.On call
- ctx context.Context
- name string
- newDescription *string
func (*Database_Expecter) UpdateSessionDriver ¶
func (_e *Database_Expecter) UpdateSessionDriver(ctx interface{}, name interface{}, driverParams interface{}) *Database_UpdateSessionDriver_Call
UpdateSessionDriver is a helper method to define mock.On call
- ctx context.Context
- name string
- driverParams interface{}
func (*Database_Expecter) UpdateSessionName ¶
func (_e *Database_Expecter) UpdateSessionName(ctx interface{}, name interface{}, newName interface{}) *Database_UpdateSessionName_Call
UpdateSessionName is a helper method to define mock.On call
- ctx context.Context
- name string
- newName string
func (*Database_Expecter) UpdateSessionOutputBufCapacity ¶
func (_e *Database_Expecter) UpdateSessionOutputBufCapacity(ctx interface{}, name interface{}, newCap interface{}) *Database_UpdateSessionOutputBufCapacity_Call
UpdateSessionOutputBufCapacity is a helper method to define mock.On call
- ctx context.Context
- name string
- newCap int64
func (*Database_Expecter) UpdateSessionRunMode ¶
func (_e *Database_Expecter) UpdateSessionRunMode(ctx interface{}, name interface{}, newMode interface{}) *Database_UpdateSessionRunMode_Call
UpdateSessionRunMode is a helper method to define mock.On call
- ctx context.Context
- name string
- newMode models.SessionRunnerModeTypeENUMType
type Database_GetSessionByName_Call ¶
Database_GetSessionByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSessionByName'
func (*Database_GetSessionByName_Call) Return ¶
func (_c *Database_GetSessionByName_Call) Return(session models.Session, err error) *Database_GetSessionByName_Call
func (*Database_GetSessionByName_Call) Run ¶
func (_c *Database_GetSessionByName_Call) Run(run func(ctx context.Context, name string)) *Database_GetSessionByName_Call
func (*Database_GetSessionByName_Call) RunAndReturn ¶
func (_c *Database_GetSessionByName_Call) RunAndReturn(run func(ctx context.Context, name string) (models.Session, error)) *Database_GetSessionByName_Call
type Database_ListSessions_Call ¶
Database_ListSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSessions'
func (*Database_ListSessions_Call) Return ¶
func (_c *Database_ListSessions_Call) Return(sessions []models.Session, err error) *Database_ListSessions_Call
func (*Database_ListSessions_Call) Run ¶
func (_c *Database_ListSessions_Call) Run(run func(ctx context.Context, filters db.SessionQueryFilter)) *Database_ListSessions_Call
func (*Database_ListSessions_Call) RunAndReturn ¶
func (_c *Database_ListSessions_Call) RunAndReturn(run func(ctx context.Context, filters db.SessionQueryFilter) ([]models.Session, error)) *Database_ListSessions_Call
type Database_MarkSessionIdle_Call ¶
Database_MarkSessionIdle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkSessionIdle'
func (*Database_MarkSessionIdle_Call) Return ¶
func (_c *Database_MarkSessionIdle_Call) Return(err error) *Database_MarkSessionIdle_Call
func (*Database_MarkSessionIdle_Call) Run ¶
func (_c *Database_MarkSessionIdle_Call) Run(run func(ctx context.Context, name string)) *Database_MarkSessionIdle_Call
func (*Database_MarkSessionIdle_Call) RunAndReturn ¶
func (_c *Database_MarkSessionIdle_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Database_MarkSessionIdle_Call
type Database_MarkSessionReady_Call ¶
Database_MarkSessionReady_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkSessionReady'
func (*Database_MarkSessionReady_Call) Return ¶
func (_c *Database_MarkSessionReady_Call) Return(err error) *Database_MarkSessionReady_Call
func (*Database_MarkSessionReady_Call) Run ¶
func (_c *Database_MarkSessionReady_Call) Run(run func(ctx context.Context, name string)) *Database_MarkSessionReady_Call
func (*Database_MarkSessionReady_Call) RunAndReturn ¶
func (_c *Database_MarkSessionReady_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Database_MarkSessionReady_Call
type Database_Ready_Call ¶
Database_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*Database_Ready_Call) Return ¶
func (_c *Database_Ready_Call) Return(err error) *Database_Ready_Call
func (*Database_Ready_Call) Run ¶
func (_c *Database_Ready_Call) Run(run func()) *Database_Ready_Call
func (*Database_Ready_Call) RunAndReturn ¶
func (_c *Database_Ready_Call) RunAndReturn(run func() error) *Database_Ready_Call
type Database_UpdateSessionCommand_Call ¶
Database_UpdateSessionCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSessionCommand'
func (*Database_UpdateSessionCommand_Call) Return ¶
func (_c *Database_UpdateSessionCommand_Call) Return(err error) *Database_UpdateSessionCommand_Call
func (*Database_UpdateSessionCommand_Call) Run ¶
func (_c *Database_UpdateSessionCommand_Call) Run(run func(ctx context.Context, name string, newCommand models.SessionCommand)) *Database_UpdateSessionCommand_Call
func (*Database_UpdateSessionCommand_Call) RunAndReturn ¶
func (_c *Database_UpdateSessionCommand_Call) RunAndReturn(run func(ctx context.Context, name string, newCommand models.SessionCommand) error) *Database_UpdateSessionCommand_Call
type Database_UpdateSessionDescription_Call ¶
Database_UpdateSessionDescription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSessionDescription'
func (*Database_UpdateSessionDescription_Call) Return ¶
func (_c *Database_UpdateSessionDescription_Call) Return(err error) *Database_UpdateSessionDescription_Call
func (*Database_UpdateSessionDescription_Call) Run ¶
func (_c *Database_UpdateSessionDescription_Call) Run(run func(ctx context.Context, name string, newDescription *string)) *Database_UpdateSessionDescription_Call
func (*Database_UpdateSessionDescription_Call) RunAndReturn ¶
func (_c *Database_UpdateSessionDescription_Call) RunAndReturn(run func(ctx context.Context, name string, newDescription *string) error) *Database_UpdateSessionDescription_Call
type Database_UpdateSessionDriver_Call ¶
Database_UpdateSessionDriver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSessionDriver'
func (*Database_UpdateSessionDriver_Call) Return ¶
func (_c *Database_UpdateSessionDriver_Call) Return(err error) *Database_UpdateSessionDriver_Call
func (*Database_UpdateSessionDriver_Call) Run ¶
func (_c *Database_UpdateSessionDriver_Call) Run(run func(ctx context.Context, name string, driverParams interface{})) *Database_UpdateSessionDriver_Call
func (*Database_UpdateSessionDriver_Call) RunAndReturn ¶
func (_c *Database_UpdateSessionDriver_Call) RunAndReturn(run func(ctx context.Context, name string, driverParams interface{}) error) *Database_UpdateSessionDriver_Call
type Database_UpdateSessionName_Call ¶
Database_UpdateSessionName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSessionName'
func (*Database_UpdateSessionName_Call) Return ¶
func (_c *Database_UpdateSessionName_Call) Return(err error) *Database_UpdateSessionName_Call
func (*Database_UpdateSessionName_Call) Run ¶
func (_c *Database_UpdateSessionName_Call) Run(run func(ctx context.Context, name string, newName string)) *Database_UpdateSessionName_Call
func (*Database_UpdateSessionName_Call) RunAndReturn ¶
func (_c *Database_UpdateSessionName_Call) RunAndReturn(run func(ctx context.Context, name string, newName string) error) *Database_UpdateSessionName_Call
type Database_UpdateSessionOutputBufCapacity_Call ¶
Database_UpdateSessionOutputBufCapacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSessionOutputBufCapacity'
func (*Database_UpdateSessionOutputBufCapacity_Call) Return ¶
func (_c *Database_UpdateSessionOutputBufCapacity_Call) Return(err error) *Database_UpdateSessionOutputBufCapacity_Call
func (*Database_UpdateSessionOutputBufCapacity_Call) Run ¶
func (_c *Database_UpdateSessionOutputBufCapacity_Call) Run(run func(ctx context.Context, name string, newCap int64)) *Database_UpdateSessionOutputBufCapacity_Call
func (*Database_UpdateSessionOutputBufCapacity_Call) RunAndReturn ¶
func (_c *Database_UpdateSessionOutputBufCapacity_Call) RunAndReturn(run func(ctx context.Context, name string, newCap int64) error) *Database_UpdateSessionOutputBufCapacity_Call
type Database_UpdateSessionRunMode_Call ¶
Database_UpdateSessionRunMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSessionRunMode'
func (*Database_UpdateSessionRunMode_Call) Return ¶
func (_c *Database_UpdateSessionRunMode_Call) Return(err error) *Database_UpdateSessionRunMode_Call
func (*Database_UpdateSessionRunMode_Call) Run ¶
func (_c *Database_UpdateSessionRunMode_Call) Run(run func(ctx context.Context, name string, newMode models.SessionRunnerModeTypeENUMType)) *Database_UpdateSessionRunMode_Call
func (*Database_UpdateSessionRunMode_Call) RunAndReturn ¶
func (_c *Database_UpdateSessionRunMode_Call) RunAndReturn(run func(ctx context.Context, name string, newMode models.SessionRunnerModeTypeENUMType) error) *Database_UpdateSessionRunMode_Call