Versions in this module Expand all Collapse all v1 v1.0.13 May 15, 2015 v1.0.12 Apr 8, 2015 Changes in this version + type Api struct + func New(apiConnector pct.APIConnector, debug bool) *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)