Documentation ¶
Index ¶
- Variables
- func GetMySQLInfo(in *proto.Instance) error
- type ByUUID
- type ErrInstanceNotFound
- type Manager
- func (m *Manager) GetConfig() ([]proto.AgentConfig, []error)
- func (m *Manager) GetDefaults(uuid string) map[string]interface{}
- 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(in proto.Instance, writeToDisk bool) error
- func (r *Repo) Get(uuid string, cache bool) (proto.Instance, error)
- func (r *Repo) Init() (err error)
- func (r *Repo) List(subsystemName string) []proto.Instance
- func (r *Repo) Remove(uuid string) error
- func (r *Repo) Update(in proto.Instance, writeToDisk bool) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetMySQLInfo ¶
Types ¶
type ErrInstanceNotFound ¶
type ErrInstanceNotFound string
func (ErrInstanceNotFound) Error ¶ added in v1.5.0
func (e ErrInstanceNotFound) Error() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetDefaults ¶
Click to show internal directories.
Click to hide internal directories.