mocks

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerInterface

type HandlerInterface struct {
	mock.Mock
}

HandlerInterface is an autogenerated mock type for the HandlerInterface type

func (*HandlerInterface) Boot

func (_m *HandlerInterface) Boot(server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) install.BootErr

Boot provides a mock function with given fields: server, local, logger, timeout

func (*HandlerInterface) Detect

func (_m *HandlerInterface) Detect(cmd string, server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) error

Detect provides a mock function with given fields: cmd, server, local, logger, timeout

func (*HandlerInterface) Exec

func (_m *HandlerInterface) Exec(cmd string, server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) error

Exec provides a mock function with given fields: cmd, server, local, logger, timeout

func (*HandlerInterface) HandPackage

func (_m *HandlerInterface) HandPackage(server runner.ServerInternal, filePath string, local bool, logger *logrus.Logger, timeout time.Duration) error

HandPackage provides a mock function with given fields: server, filePath, local, logger, timeout

func (*HandlerInterface) Install

func (_m *HandlerInterface) Install(cmd string, server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) install.InstallErr

Install provides a mock function with given fields: cmd, server, local, logger, timeout

func (*HandlerInterface) Prune

func (_m *HandlerInterface) Prune(server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) install.PruneErr

Prune provides a mock function with given fields: server, local, logger, timeout

func (*HandlerInterface) SetConfig

func (_m *HandlerInterface) SetConfig(cmd string, server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) install.SetConfigErr

SetConfig provides a mock function with given fields: cmd, server, local, logger, timeout

func (*HandlerInterface) SetSystemd

func (_m *HandlerInterface) SetSystemd(cmd string, server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) install.SetSystemdErr

SetSystemd provides a mock function with given fields: cmd, server, local, logger, timeout

func (*HandlerInterface) SetUpRuntime

func (_m *HandlerInterface) SetUpRuntime(cmd string, server runner.ServerInternal, local bool, logger *logrus.Logger, timeout time.Duration) install.SetUpRuntimeErr

SetUpRuntime provides a mock function with given fields: cmd, server, local, logger, timeout

Jump to

Keyboard shortcuts

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