Documentation
¶
Index ¶
- type CheckExpressionEvaluator
- func (evaluator *CheckExpressionEvaluator) CheckHTTP(hostname, scheme, port, method, user, pass string, headers map[string]string, ...) (resp *http.Response, err error)
- func (evaluator *CheckExpressionEvaluator) CheckPing(hostname string) (outBytes []byte, err error)
- func (evaluator *CheckExpressionEvaluator) CheckSSH(hostname, port, user string) (outBytes []byte, err error)
- func (evaluator *CheckExpressionEvaluator) EvalExpressions(checkRow *pg.CheckRow) ([]pg.CheckExpression, bool, error)
- func (evaluator *CheckExpressionEvaluator) EvalHTTPExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
- func (evaluator *CheckExpressionEvaluator) EvalLogDataExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
- func (evaluator *CheckExpressionEvaluator) EvalPingExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
- func (evaluator *CheckExpressionEvaluator) EvalRawHostDataExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
- func (evaluator *CheckExpressionEvaluator) EvalRelativeHostDataExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
- func (evaluator *CheckExpressionEvaluator) EvalSSHExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckExpressionEvaluator ¶
func (*CheckExpressionEvaluator) CheckPing ¶
func (evaluator *CheckExpressionEvaluator) CheckPing(hostname string) (outBytes []byte, err error)
func (*CheckExpressionEvaluator) CheckSSH ¶
func (evaluator *CheckExpressionEvaluator) CheckSSH(hostname, port, user string) (outBytes []byte, err error)
func (*CheckExpressionEvaluator) EvalExpressions ¶
func (evaluator *CheckExpressionEvaluator) EvalExpressions(checkRow *pg.CheckRow) ([]pg.CheckExpression, bool, error)
EvalExpressions reduces the result of expression into a single true/false. 1st value: List of all CheckExpression containing results. 2nd value: The value of all expressions. 3rd value: Error
func (*CheckExpressionEvaluator) EvalHTTPExpression ¶
func (evaluator *CheckExpressionEvaluator) EvalHTTPExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
func (*CheckExpressionEvaluator) EvalLogDataExpression ¶
func (evaluator *CheckExpressionEvaluator) EvalLogDataExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
func (*CheckExpressionEvaluator) EvalPingExpression ¶
func (evaluator *CheckExpressionEvaluator) EvalPingExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
func (*CheckExpressionEvaluator) EvalRawHostDataExpression ¶
func (evaluator *CheckExpressionEvaluator) EvalRawHostDataExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
func (*CheckExpressionEvaluator) EvalRelativeHostDataExpression ¶
func (evaluator *CheckExpressionEvaluator) EvalRelativeHostDataExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
func (*CheckExpressionEvaluator) EvalSSHExpression ¶
func (evaluator *CheckExpressionEvaluator) EvalSSHExpression(checkRow *pg.CheckRow, hostRows []*pg.HostRow, expression pg.CheckExpression) pg.CheckExpression
Click to show internal directories.
Click to hide internal directories.