Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerminalSessionHandler ¶
TerminalSessionHandler is an autogenerated mock type for the TerminalSessionHandler type
func NewTerminalSessionHandler ¶
func NewTerminalSessionHandler(t mockConstructorTestingTNewTerminalSessionHandler) *TerminalSessionHandler
NewTerminalSessionHandler creates a new instance of TerminalSessionHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TerminalSessionHandler) Close ¶
func (_m *TerminalSessionHandler) Close(sessionId string, statusCode uint32, msg string)
Close provides a mock function with given fields: sessionId, statusCode, msg
func (*TerminalSessionHandler) GetTerminalSession ¶
func (_m *TerminalSessionHandler) GetTerminalSession(req *terminal.TerminalSessionRequest) (int, *terminal.TerminalMessage, error)
GetTerminalSession provides a mock function with given fields: req
func (*TerminalSessionHandler) ValidateSession ¶
func (_m *TerminalSessionHandler) ValidateSession(sessionId string) bool
ValidateSession provides a mock function with given fields: sessionId
Click to show internal directories.
Click to hide internal directories.