Documentation ¶
Index ¶
- type Float
- type Integer
- type Model
- func (model Model) CompareFloat(errorCode cerrors.ErrorType) error
- func (model Model) CompareInt(errorCode cerrors.ErrorType) error
- func (model Model) CompareString(errorCode cerrors.ErrorType) error
- func (model *Model) Criteria(criteria string) *Model
- func (model *Model) FirstValue(a interface{}) *Model
- func (model *Model) ProbeName(probeName string) *Model
- func (model *Model) ProbeVerbosity(verbosity string) *Model
- func (model *Model) RunCount(rc int) *Model
- func (model *Model) SecondValue(b interface{}) *Model
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float ¶
type Float struct {
// contains filtered or unexported fields
}
Float contains operands for float comparator check
type Integer ¶
type Integer struct {
// contains filtered or unexported fields
}
Integer contains operands for integer comparator check
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model contains operands and operator for the comparison operations a and b attribute belongs to operands and operator attribute belongs to operator
func (Model) CompareFloat ¶
CompareFloat compares floating numbers for specific operation it check for the >=, >, <=, <, ==, != operators
func (Model) CompareInt ¶
CompareInt compares integer numbers for specific operation it check for the >=, >, <=, <, ==, != operators
func (Model) CompareString ¶
CompareString compares strings for specific operation it check for the equal, not equal and contains(sub-string) operations
func (*Model) FirstValue ¶
FirstValue sets the first operands
func (*Model) ProbeVerbosity ¶
ProbeVerbosity sets the name of the probe under evaluation
func (*Model) SecondValue ¶
SecondValue sets the second operand