Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AllPlugins = []Plugin{ NewTCP(), NewSSH(), NewHTTP(), NewSQL(), NewProc(), NewTLS(), NewDNS(), NewPing(), }
AllPlugins denotes a list of all available plugins
Functions ¶
This section is empty.
Types ¶
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
DNS denotes a DNS connection health check plugin
func (*DNS) RegisterFlags ¶
func (t *DNS) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
HTTP denotes a HTTP connection health check plugin
func (*HTTP) RegisterFlags ¶
func (t *HTTP) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type Ping ¶
type Ping struct {
// contains filtered or unexported fields
}
Ping denotes a Ping connection health check plugin
func (*Ping) RegisterFlags ¶
func (t *Ping) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type Plugin ¶
type Plugin interface { // RegisterFlags registers command line flags specific for the plugin RegisterFlags() // Run executes the plugin Run() errors.Errors }
Plugin denotes a generic health check plugin
type Proc ¶
type Proc struct {
// contains filtered or unexported fields
}
Proc denotes a Proc connection health check plugin
func (*Proc) RegisterFlags ¶
func (t *Proc) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
SQL denotes a SQL connection health check plugin
func (*SQL) RegisterFlags ¶
func (t *SQL) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
SSH denotes a SSH connection health check plugin
func (*SSH) RegisterFlags ¶
func (t *SSH) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type TCP ¶
type TCP struct {
// contains filtered or unexported fields
}
TCP denotes a TCP connection health check plugin
func (*TCP) RegisterFlags ¶
func (t *TCP) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin
type TLS ¶
type TLS struct {
// contains filtered or unexported fields
}
TLS denotes a TLS connection health check plugin
func (*TLS) RegisterFlags ¶
func (t *TLS) RegisterFlags()
RegisterFlags registers command line flags specific for the plugin