mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package shell is a common library that implements session manager shell.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IShellPluginMock

type IShellPluginMock struct {
	mock.Mock
}

Mock stands for a mocked context.

func (*IShellPluginMock) Execute

func (_m *IShellPluginMock) Execute(config contracts.Configuration, cancelFlag task.CancelFlag, output iohandler.IOHandler, dataChannel datachannel.IDataChannel, shellProps sessioncontracts.ShellProperties)

Execute provides a mock function with given fields: _a0, config, cancelFlag, output, dataChannel

func (*IShellPluginMock) InputStreamMessageHandler

func (_m *IShellPluginMock) InputStreamMessageHandler(_a0 log.T, streamDataMessage sessioncontracts.AgentMessage) error

InputStreamMessageHandler provides a mock function with given fields: _a0, streamDataMessage

Jump to

Keyboard shortcuts

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