MCPcopy Create free account
hub / github.com/monitoror/monitoror / GetVariantsNames

Method GetVariantsNames

models/mocks/Monitorable.go:35–48  ·  view source on GitHub ↗

GetVariantsNames provides a mock function with given fields:

()

Source from the content-addressed store, hash-verified

33
34// GetVariantsNames provides a mock function with given fields:
35func (_m *Monitorable) GetVariantsNames() []models.VariantName {
36 ret := _m.Called()
37
38 var r0 []models.VariantName
39 if rf, ok := ret.Get(0).(func() []models.VariantName); ok {
40 r0 = rf()
41 } else {
42 if ret.Get(0) != nil {
43 r0 = ret.Get(0).([]models.VariantName)
44 }
45 }
46
47 return r0
48}
49
50// Validate provides a mock function with given fields: variantName
51func (_m *Monitorable) Validate(variantName models.VariantName) (bool, []error) {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected