Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitorable ¶
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
Click to show internal directories.
Click to hide internal directories.