Documentation ¶
Index ¶
- type CpuStater
- type DatabaseClient
- type Gatherer
- func (g Gatherer) BrokerStats() (map[string]string, error)
- func (g Gatherer) CPUStats() (map[string]string, error)
- func (g *Gatherer) DatabaseMetadata() (globalStatus map[string]string, globalVariables map[string]string, err error)
- func (g Gatherer) DiskStats() (map[string]string, error)
- func (g Gatherer) FollowerMetadata() (slaveStatus map[string]string, heartbeatStatus map[string]string, err error)
- func (g Gatherer) IsDatabaseAvailable() bool
- func (g Gatherer) IsDatabaseFollower() (bool, error)
- type Stater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseClient ¶
type DatabaseClient interface { ShowGlobalStatus() (map[string]string, error) ShowGlobalVariables() (map[string]string, error) ShowSlaveStatus() (map[string]string, error) HeartbeatStatus() (map[string]string, error) ServicePlansDiskAllocated() (map[string]string, error) IsAvailable() bool IsFollower() (bool, error) }
type Gatherer ¶
type Gatherer struct {
// contains filtered or unexported fields
}
func NewGatherer ¶
func NewGatherer(client DatabaseClient, stater Stater, cpuStater CpuStater) *Gatherer
func (*Gatherer) DatabaseMetadata ¶
func (Gatherer) FollowerMetadata ¶
func (Gatherer) IsDatabaseAvailable ¶
func (Gatherer) IsDatabaseFollower ¶
Click to show internal directories.
Click to hide internal directories.