mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider

func NewProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *Provider

NewProvider creates a new instance of Provider. 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 (*Provider) Execute

func (_m *Provider) Execute(config interface{}, logsChan chan *manager.ClientStreamMessage, computationId string) vm.VM

Execute provides a mock function with given fields: config, logsChan, computationId

type VM

type VM struct {
	mock.Mock
}

VM is an autogenerated mock type for the VM type

func NewVM

func NewVM(t interface {
	mock.TestingT
	Cleanup(func())
}) *VM

NewVM creates a new instance of VM. 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 (*VM) SendAgentConfig

func (_m *VM) SendAgentConfig(ac agent.Computation) error

SendAgentConfig provides a mock function with given fields: ac

func (*VM) Start

func (_m *VM) Start() error

Start provides a mock function with given fields:

func (*VM) Stop

func (_m *VM) Stop() error

Stop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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