Documentation ¶
Index ¶
- func GetMySQLInfo(it *proto.MySQLInstance) error
- type Manager
- func (m *Manager) GetConfig() ([]proto.AgentConfig, []error)
- func (m *Manager) GetMySQLInstances() []*proto.MySQLInstance
- func (m *Manager) Handle(cmd *proto.Cmd) *proto.Reply
- func (m *Manager) Repo() *Repo
- func (m *Manager) Start() error
- func (m *Manager) Status() map[string]string
- func (m *Manager) Stop() error
- type Repo
- func (r *Repo) Add(service string, id uint, data []byte, writeToDisk bool) error
- func (r *Repo) Get(service string, id uint, info interface{}) error
- func (r *Repo) Init() error
- func (r *Repo) List() []string
- func (r *Repo) Name(service string, id uint) string
- func (r *Repo) Remove(service string, id uint) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMySQLInfo ¶
func GetMySQLInfo(it *proto.MySQLInstance) error
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetMySQLInstances ¶ added in v1.0.11
func (m *Manager) GetMySQLInstances() []*proto.MySQLInstance
Click to show internal directories.
Click to hide internal directories.