management

package
v2.9.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2020 License: AGPL-3.0 Imports: 22 Imported by: 2

Documentation

Overview

Package management contains management business logic and APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotationService

type AnnotationService struct {
	// contains filtered or unexported fields
}

AnnotationService Annotation Service.

func NewAnnotationService

func NewAnnotationService(db *reform.DB, grafanaClient grafanaClient) *AnnotationService

NewAnnotationService create new Annotation Service.

func (*AnnotationService) AddAnnotation

func (as *AnnotationService) AddAnnotation(
	ctx context.Context,
	authorizationHeaders []string,
	req *managementpb.AddAnnotationRequest,
) (*managementpb.AddAnnotationResponse, error)

AddAnnotation create annotation in grafana. nolint:unparam

type ChecksAPIService

type ChecksAPIService struct {
	// contains filtered or unexported fields
}

ChecksAPIService represents security checks service API.

func NewChecksAPIService

func NewChecksAPIService(checksService checksService) *ChecksAPIService

NewChecksAPIService creates new Checks API Service.

func (*ChecksAPIService) StartSecurityChecks

StartSecurityChecks starts STT checks execution.

type ExternalService

type ExternalService struct {
	// contains filtered or unexported fields
}

ExternalService External Management Service.

func NewExternalService

func NewExternalService(db *reform.DB, prometheus prometheusService) *ExternalService

NewExternalService creates new External Management Service.

type MongoDBService

type MongoDBService struct {
	// contains filtered or unexported fields
}

MongoDBService MongoDB Management Service.

func NewMongoDBService

func NewMongoDBService(db *reform.DB, registry agentsRegistry) *MongoDBService

NewMongoDBService creates new MongoDB Management Service.

func (*MongoDBService) Add

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 agentsRegistry) *MySQLService

NewMySQLService creates new MySQL Management Service.

func (*MySQLService) Add

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 agentsRegistry) *NodeService

NewNodeService creates NodeService instance.

func (*NodeService) Register

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 agentsRegistry) *PostgreSQLService

NewPostgreSQLService creates new PostgreSQL Management Service.

func (*PostgreSQLService) Add

Add adds "PostgreSQL Service", "PostgreSQL Exporter Agent" and "QAN PostgreSQL PerfSchema Agent".

type ProxySQLService

type ProxySQLService struct {
	// contains filtered or unexported fields
}

ProxySQLService ProxySQL Management Service.

func NewProxySQLService

func NewProxySQLService(db *reform.DB, registry agentsRegistry) *ProxySQLService

NewProxySQLService creates new ProxySQL Management Service.

func (*ProxySQLService) Add

Add adds "ProxySQL Service", "ProxySQL Exporter Agent" and "QAN ProxySQL PerfSchema Agent".

type RDSService

type RDSService struct {
	// contains filtered or unexported fields
}

RDSService represents instance discovery service.

func NewRDSService

func NewRDSService(db *reform.DB, registry agentsRegistry) *RDSService

NewRDSService creates new instance discovery service.

func (*RDSService) AddRDS

AddRDS adds RDS instance.

func (*RDSService) DiscoverRDS

DiscoverRDS discovers RDS instances.

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 agentsRegistry, prometheus prometheusService) *ServiceService

NewServiceService creates ServiceService instance.

func (*ServiceService) RemoveService

RemoveService removes Service with Agents.

Directories

Path Synopsis
Package grpc provides gRPC servers.
Package grpc provides gRPC servers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL