Documentation ¶
Index ¶
- type Server
- func (s *Server) AcknowledgeAlert(ctx context.Context, request *gen.AcknowledgeAlertRequest) (*gen.Alert, error)
- func (s *Server) CreateAlert(ctx context.Context, request *gen.CreateAlertRequest) (*gen.Alert, error)
- func (s *Server) DeleteAlert(ctx context.Context, request *gen.DeleteAlertRequest) (*gen.DeleteAlertResponse, error)
- func (s *Server) GetAlertMetadata(ctx context.Context, request *gen.GetAlertMetadataRequest) (*gen.AlertMetadata, error)
- func (s *Server) ListAlerts(ctx context.Context, request *gen.ListAlertsRequest) (*gen.ListAlertsResponse, error)
- func (s *Server) PullAlertMetadata(request *gen.PullAlertMetadataRequest, ...) error
- func (s *Server) PullAlerts(request *gen.PullAlertsRequest, server gen.AlertApi_PullAlertsServer) error
- func (s *Server) ResolveAlert(ctx context.Context, request *gen.ResolveAlertRequest) (*gen.Alert, error)
- func (s *Server) UnacknowledgeAlert(ctx context.Context, request *gen.AcknowledgeAlertRequest) (*gen.Alert, error)
- func (s *Server) UpdateAlert(ctx context.Context, request *gen.UpdateAlertRequest) (*gen.Alert, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { gen.UnimplementedAlertApiServer gen.UnimplementedAlertAdminApiServer // contains filtered or unexported fields }
Server backs off to a remove server, modifying requests to filter by federation parameter.
func (*Server) AcknowledgeAlert ¶
func (*Server) CreateAlert ¶
func (*Server) DeleteAlert ¶
func (s *Server) DeleteAlert(ctx context.Context, request *gen.DeleteAlertRequest) (*gen.DeleteAlertResponse, error)
func (*Server) GetAlertMetadata ¶
func (s *Server) GetAlertMetadata(ctx context.Context, request *gen.GetAlertMetadataRequest) (*gen.AlertMetadata, error)
func (*Server) ListAlerts ¶
func (s *Server) ListAlerts(ctx context.Context, request *gen.ListAlertsRequest) (*gen.ListAlertsResponse, error)
func (*Server) PullAlertMetadata ¶
func (s *Server) PullAlertMetadata(request *gen.PullAlertMetadataRequest, server gen.AlertApi_PullAlertMetadataServer) error
func (*Server) PullAlerts ¶
func (s *Server) PullAlerts(request *gen.PullAlertsRequest, server gen.AlertApi_PullAlertsServer) error
func (*Server) ResolveAlert ¶
func (*Server) UnacknowledgeAlert ¶
func (*Server) UpdateAlert ¶
Click to show internal directories.
Click to hide internal directories.