Documentation ¶
Overview ¶
Package grpc provides gRPC servers.
Index ¶
- func NewActionsServer(r *agents.Registry, db *reform.DB) managementpb.ActionsServer
- func NewManagementMongoDBServer(s *management.MongoDBService) managementpb.MongoDBServer
- func NewManagementMySQLServer(s *management.MySQLService) managementpb.MySQLServer
- func NewManagementNodeServer(s *management.NodeService) managementpb.NodeServer
- func NewManagementPostgreSQLServer(s *management.PostgreSQLService) managementpb.PostgreSQLServer
- func NewManagementProxySQLServer(s *management.ProxySQLService) managementpb.ProxySQLServer
- func NewManagementServiceServer(s *management.ServiceService) managementpb.ServiceServer
- type AnnotationServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActionsServer ¶
func NewActionsServer(r *agents.Registry, db *reform.DB) managementpb.ActionsServer
NewActionsServer creates Management Actions Server.
func NewManagementMongoDBServer ¶
func NewManagementMongoDBServer(s *management.MongoDBService) managementpb.MongoDBServer
NewManagementMongoDBServer creates Management MongoDB Server.
func NewManagementMySQLServer ¶
func NewManagementMySQLServer(s *management.MySQLService) managementpb.MySQLServer
NewManagementMySQLServer creates Management MySQL Server.
func NewManagementNodeServer ¶
func NewManagementNodeServer(s *management.NodeService) managementpb.NodeServer
NewManagementNodeServer creates Management Node Server.
func NewManagementPostgreSQLServer ¶
func NewManagementPostgreSQLServer(s *management.PostgreSQLService) managementpb.PostgreSQLServer
NewManagementPostgreSQLServer creates Management PostgreSQL Server.
func NewManagementProxySQLServer ¶
func NewManagementProxySQLServer(s *management.ProxySQLService) managementpb.ProxySQLServer
NewManagementProxySQLServer creates Management ProxySQL Server.
func NewManagementServiceServer ¶
func NewManagementServiceServer(s *management.ServiceService) managementpb.ServiceServer
NewManagementServiceServer creates Management Service Server.
Types ¶
type AnnotationServer ¶
type AnnotationServer struct {
// contains filtered or unexported fields
}
AnnotationServer is a server for making annotations in Grafana.
func NewAnnotationServer ¶
func NewAnnotationServer(db *reform.DB, grafanaClient *grafana.Client) *AnnotationServer
NewAnnotationServer creates Annotation Server.
func (*AnnotationServer) AddAnnotation ¶
func (as *AnnotationServer) AddAnnotation(ctx context.Context, req *managementpb.AddAnnotationRequest) (*managementpb.AddAnnotationResponse, error)
AddAnnotation adds annotation to Grafana.
Click to show internal directories.
Click to hide internal directories.