Documentation
¶
Index ¶
- func QuoteIdentifier(identifier string) string
- type DbClient
- func (dc *DbClient) HeartbeatStatus() (map[string]string, error)
- func (dc *DbClient) IsAvailable() bool
- func (dc *DbClient) IsFollower() (bool, error)
- func (dc *DbClient) ServicePlansDiskAllocated() (map[string]string, error)
- func (dc *DbClient) ShowGlobalStatus() (map[string]string, error)
- func (dc *DbClient) ShowGlobalVariables() (map[string]string, error)
- func (dc *DbClient) ShowSlaveStatus() (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuoteIdentifier ¶
Types ¶
type DbClient ¶
type DbClient struct {
// contains filtered or unexported fields
}
func NewDatabaseClient ¶
func NewDatabaseClient(connection *sql.DB, config *configPackage.Config) *DbClient
func (*DbClient) IsAvailable ¶
func (*DbClient) IsFollower ¶
func (*DbClient) ServicePlansDiskAllocated ¶
func (*DbClient) ShowGlobalStatus ¶
func (*DbClient) ShowGlobalVariables ¶
Click to show internal directories.
Click to hide internal directories.