mocks

package
v4.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func NewApplication

func NewApplication(t mockConstructorTestingTNewApplication) *Application

NewApplication creates a new instance of Application. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Application) IsBackground

func (_m *Application) IsBackground() bool

IsBackground provides a mock function with given fields:

func (*Application) Priority

func (_m *Application) Priority() int

Priority provides a mock function with given fields:

func (*Application) Run

func (_m *Application) Run(ctx context.Context, servers []configs.Server)

Run provides a mock function with given fields: ctx, servers

Jump to

Keyboard shortcuts

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