Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consul ¶
type Consul struct {
Address string
Scheme string
Token string
Username string
Password string
Datacentre string
// Path to CA file
SSLCA string `toml:"ssl_ca"`
// Path to host cert file
SSLCert string `toml:"ssl_cert"`
// Path to cert key file
SSLKey string `toml:"ssl_key"`
// Use SSL but skip chain & host verification
InsecureSkipVerify bool
// contains filtered or unexported fields
}
func (*Consul) Description ¶
func (*Consul) Gather ¶
func (c *Consul) Gather(acc tinymonitor.Accumulator) error
func (*Consul) GatherHealthCheck ¶
func (c *Consul) GatherHealthCheck(acc tinymonitor.Accumulator, checks []*api.HealthCheck)
func (*Consul) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.