Documentation ¶
Overview ¶
Package qan contains business logic of working with QAN and qan-agent on PMM Server node.
Index ¶
- type Service
- func (svc *Service) AddMySQL(ctx context.Context, rdsNode *models.RDSNode, rdsService *models.RDSService, ...) error
- func (svc *Service) EnsureAgentRuns(ctx context.Context, nameForSupervisor string, port uint16) error
- func (svc *Service) RemoveMySQL(ctx context.Context, qanAgent *models.QanAgent) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddMySQL ¶
func (svc *Service) AddMySQL(ctx context.Context, rdsNode *models.RDSNode, rdsService *models.RDSService, qanAgent *models.QanAgent) error
AddMySQL adds MySQL instance to QAN, configuring and enabling it. It sets MySQL instance UUID to qanAgent.QANDBInstanceUUID.
Click to show internal directories.
Click to hide internal directories.