mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	mock.Mock
}

HealthCheck is an autogenerated mock type for the HealthCheck type

func NewHealthCheck

func NewHealthCheck(t mockConstructorTestingTNewHealthCheck) *HealthCheck

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

func (*HealthCheck) PluginHealthCheck

func (_m *HealthCheck) PluginHealthCheck(ctx context.Context, gClient v1.PluginClient, plugin config.Plugin, _a3 []dispatcher.Dispatcher) (types.AliveStatus, error)

PluginHealthCheck provides a mock function with given fields: ctx, gClient, plugin, _a3

func (*HealthCheck) PluginStatus

func (_m *HealthCheck) PluginStatus(ctx context.Context) []types.PluginStatus

PluginStatus provides a mock function with given fields: ctx

func (*HealthCheck) VATZHealthCheck

func (_m *HealthCheck) VATZHealthCheck(schedule []string, _a1 []dispatcher.Dispatcher) error

VATZHealthCheck provides a mock function with given fields: schedule, _a1

type MockPluginClient

type MockPluginClient struct {
	mock.Mock
}

MockPluginClient is mock object for grpc client of VATZ.

func (*MockPluginClient) Execute

func (*MockPluginClient) Verify

Jump to

Keyboard shortcuts

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