Documentation ¶
Index ¶
- type AlertingManagementServer
- func (a *AlertingManagementServer) AcknowledgeAlert(ctx context.Context, req *alerting.AcknowledgeAlertRequest) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) CreateMonitor(ctx context.Context, req *alerting.Monitor) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) CreateNotification(ctx context.Context, req *alerting.Channel) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) DeleteDestination(ctx context.Context, ref *corev1.Reference) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) DeleteMonitor(ctx context.Context, ref *corev1.Reference) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) GetMonitor(ctx context.Context, ref *corev1.Reference) (*alerting.Monitor, error)
- func (a *AlertingManagementServer) GetNotification(ctx context.Context, ref *corev1.Reference) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) ListAlerts(ctx context.Context, _ *emptypb.Empty) (*alerting.ListAlertsResponse, error)
- func (a *AlertingManagementServer) ListNotifications(ctx context.Context, _ *emptypb.Empty) (*alerting.ChannelList, error)
- func (a *AlertingManagementServer) UpdateMonitor(ctx context.Context, req *alerting.Monitor) (*emptypb.Empty, error)
- func (a *AlertingManagementServer) UpdateNotification(ctx context.Context, req *alerting.Channel) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertingManagementServer ¶
type AlertingManagementServer struct { alerting.UnsafeAlertManagementServer alerting.UnsafeNotificationManagementServer alerting.UnsafeMonitorManagementServer *loggingutil.AsyncOpensearchClient }
func NewAlertingManagementServer ¶
func NewAlertingManagementServer() *AlertingManagementServer
func (*AlertingManagementServer) AcknowledgeAlert ¶
func (a *AlertingManagementServer) AcknowledgeAlert(ctx context.Context, req *alerting.AcknowledgeAlertRequest) (*emptypb.Empty, error)
func (*AlertingManagementServer) CreateMonitor ¶
func (*AlertingManagementServer) CreateNotification ¶
func (*AlertingManagementServer) DeleteDestination ¶
func (*AlertingManagementServer) DeleteMonitor ¶
func (*AlertingManagementServer) GetMonitor ¶
func (*AlertingManagementServer) GetNotification ¶
func (*AlertingManagementServer) ListAlerts ¶
func (a *AlertingManagementServer) ListAlerts(ctx context.Context, _ *emptypb.Empty) (*alerting.ListAlertsResponse, error)
func (*AlertingManagementServer) ListNotifications ¶
func (a *AlertingManagementServer) ListNotifications(ctx context.Context, _ *emptypb.Empty) (*alerting.ChannelList, error)
func (*AlertingManagementServer) UpdateMonitor ¶
func (*AlertingManagementServer) UpdateNotification ¶
Click to show internal directories.
Click to hide internal directories.