mocks

package
v0.0.0-...-570fd0e Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitorable

type Monitorable struct {
	mock.Mock
}

Monitorable is an autogenerated mock type for the Monitorable type

func NewMonitorable

func NewMonitorable(t interface {
	mock.TestingT
	Cleanup(func())
}) *Monitorable

NewMonitorable creates a new instance of Monitorable. 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 (*Monitorable) Enable

func (_m *Monitorable) Enable(variantName models.VariantName)

Enable provides a mock function with given fields: variantName

func (*Monitorable) GetDisplayName

func (_m *Monitorable) GetDisplayName() string

GetDisplayName provides a mock function with given fields:

func (*Monitorable) GetVariantsNames

func (_m *Monitorable) GetVariantsNames() []models.VariantName

GetVariantsNames provides a mock function with given fields:

func (*Monitorable) Validate

func (_m *Monitorable) Validate(variantName models.VariantName) (bool, []error)

Validate provides a mock function with given fields: variantName

Jump to

Keyboard shortcuts

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