Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDBService ¶
type MongoDBService struct {
// contains filtered or unexported fields
}
MongoDBService MongoDB Management Service.
func NewMongoDBService ¶
func NewMongoDBService(db *reform.DB, registry registry) *MongoDBService
NewMongoDBService creates new MySQL Management Service.
func (*MongoDBService) Add ¶
func (s *MongoDBService) Add(ctx context.Context, req *managementpb.AddMongoDBRequest) (*managementpb.AddMongoDBResponse, error)
Add adds "MongoDB Service", "MongoDB Exporter Agent" and "QAN MongoDB Profiler".
type MySQLService ¶
type MySQLService struct {
// contains filtered or unexported fields
}
MySQLService MySQL Management Service.
func NewMySQLService ¶
func NewMySQLService(db *reform.DB, registry registry) *MySQLService
NewMySQLService creates new MySQL Management Service.
func (*MySQLService) Add ¶
func (s *MySQLService) Add(ctx context.Context, req *managementpb.AddMySQLRequest) (*managementpb.AddMySQLResponse, error)
Add adds "MySQL Service", "MySQL Exporter Agent" and "QAN MySQL PerfSchema Agent".
type NodeService ¶
type NodeService struct {
// contains filtered or unexported fields
}
NodeService represents service for working with nodes.
func NewNodeService ¶
func NewNodeService(db *reform.DB, registry registry) *NodeService
NewNodeService creates NodeService instance.
func (*NodeService) Register ¶
func (s *NodeService) Register(ctx context.Context, req *managementpb.RegisterNodeRequest) (*managementpb.RegisterNodeResponse, error)
Register do registration of the new node.
type PostgreSQLService ¶
type PostgreSQLService struct {
// contains filtered or unexported fields
}
PostgreSQLService PostgreSQL Management Service.
func NewPostgreSQLService ¶
func NewPostgreSQLService(db *reform.DB, registry registry) *PostgreSQLService
NewPostgreSQLService creates new PostgreSQL Management Service.
func (*PostgreSQLService) Add ¶
func (s *PostgreSQLService) Add(ctx context.Context, req *managementpb.AddPostgreSQLRequest) (*managementpb.AddPostgreSQLResponse, error)
Add adds "PostgreSQL Service", "PostgreSQL Exporter Agent" and "QAN PostgreSQL PerfSchema Agent".
type ServiceService ¶
type ServiceService struct {
// contains filtered or unexported fields
}
ServiceService represents service for working with services.
func NewServiceService ¶
func NewServiceService(db *reform.DB, registry registry) *ServiceService
NewServiceService creates ServiceService instance.
func (*ServiceService) RemoveService ¶
func (s *ServiceService) RemoveService(ctx context.Context, req *managementpb.RemoveServiceRequest) (*managementpb.RemoveServiceResponse, error)
RemoveService removes Service with Agents.