Documentation ¶
Index ¶
- type Api
- func (a *Api) CreateAgent(agent *proto.Agent) (*proto.Agent, error)
- func (a *Api) CreateMySQLInstance(mi *proto.MySQLInstance) (*proto.MySQLInstance, error)
- func (a *Api) CreateServerInstance(si *proto.ServerInstance) (*proto.ServerInstance, error)
- func (a *Api) GetMmMySQLConfig(mi *proto.MySQLInstance) (*proto.AgentConfig, error)
- func (a *Api) GetMmServerConfig(si *proto.ServerInstance) (*proto.AgentConfig, error)
- func (a *Api) GetQanConfig(mi *proto.MySQLInstance) (*proto.AgentConfig, error)
- func (a *Api) GetSysconfigMySQLConfig(mi *proto.MySQLInstance) (*proto.AgentConfig, error)
- func (a *Api) Init(hostname, apiKey string, headers map[string]string) (code int, err error)
- func (a *Api) UpdateAgent(agent *proto.Agent, uuid string) (*proto.Agent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func (*Api) CreateAgent ¶
func (*Api) CreateMySQLInstance ¶
func (*Api) CreateServerInstance ¶
func (*Api) GetMmMySQLConfig ¶
func (*Api) GetMmServerConfig ¶
func (*Api) GetQanConfig ¶
func (*Api) GetSysconfigMySQLConfig ¶
func (*Api) UpdateAgent ¶
Click to show internal directories.
Click to hide internal directories.