Documentation ¶
Overview ¶
Module implements a noop alerting model, in case the alerting plugin is not loaded
Index ¶
- func NewUnavailableAlertingImplementation(version string) alerting.Provider
- type AlertingNoopV1Alpha
- func (a *AlertingNoopV1Alpha) ActivateSilence(ctx context.Context, request *alertingv1alpha.SilenceRequest, ...) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) AlertConditionStatus(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.AlertStatusResponse, error)
- func (a *AlertingNoopV1Alpha) CreateAlertCondition(ctx context.Context, req *alertingv1alpha.AlertCondition, ...) (*corev1.Reference, error)
- func (a *AlertingNoopV1Alpha) CreateAlertEndpoint(ctx context.Context, req *alertingv1alpha.AlertEndpoint, ...) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) CreateAlertLog(ctx context.Context, event *corev1.AlertLog, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) CreateEndpointImplementation(ctx context.Context, req *alertingv1alpha.CreateImplementation, ...) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) DeactivateSilence(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) DeleteAlertCondition(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) DeleteAlertEndpoint(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) DeleteAlertLog(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) DeleteEndpointImplementation(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) GetAlertCondition(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.AlertCondition, error)
- func (a *AlertingNoopV1Alpha) GetAlertEndpoint(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.AlertEndpoint, error)
- func (a *AlertingNoopV1Alpha) GetAlertLog(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*corev1.AlertLog, error)
- func (a *AlertingNoopV1Alpha) GetImplementationFromEndpoint(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.EndpointImplementation, error)
- func (a *AlertingNoopV1Alpha) HandleCortexWebhook(ctx context.Context, in *structpb.Struct, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) ListAlertConditionChoices(ctx context.Context, req *alertingv1alpha.AlertDetailChoicesRequest, ...) (*alertingv1alpha.ListAlertTypeDetails, error)
- func (a *AlertingNoopV1Alpha) ListAlertConditions(ctx context.Context, req *alertingv1alpha.ListAlertConditionRequest, ...) (*alertingv1alpha.AlertConditionList, error)
- func (a *AlertingNoopV1Alpha) ListAlertEndpoints(ctx context.Context, req *alertingv1alpha.ListAlertEndpointsRequest, ...) (*alertingv1alpha.AlertEndpointList, error)
- func (a *AlertingNoopV1Alpha) ListAlertLogs(ctx context.Context, req *alertingv1alpha.ListAlertLogRequest, ...) (*alertingv1alpha.InformativeAlertLogList, error)
- func (a *AlertingNoopV1Alpha) ListAvailableTemplatesForType(ctx context.Context, in *alertingv1alpha.AlertDetailChoicesRequest, ...) (*alertingv1alpha.TemplatesResponse, error)
- func (a *AlertingNoopV1Alpha) PreviewAlertCondition(ctx context.Context, req *alertingv1alpha.PreviewAlertConditionRequest, ...) (*alertingv1alpha.PreviewAlertConditionResponse, error)
- func (a *AlertingNoopV1Alpha) TestAlertEndpoint(ctx context.Context, req *alertingv1alpha.TestAlertEndpointRequest, ...) (*alertingv1alpha.TestAlertEndpointResponse, error)
- func (a *AlertingNoopV1Alpha) TriggerAlerts(ctx context.Context, req *alertingv1alpha.TriggerAlertsRequest, ...) (*alertingv1alpha.TriggerAlertsResponse, error)
- func (a *AlertingNoopV1Alpha) UpdateAlertCondition(ctx context.Context, req *alertingv1alpha.UpdateAlertConditionRequest, ...) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) UpdateAlertEndpoint(ctx context.Context, req *alertingv1alpha.UpdateAlertEndpointRequest, ...) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) UpdateAlertLog(ctx context.Context, req *alertingv1alpha.UpdateAlertLogRequest, ...) (*emptypb.Empty, error)
- func (a *AlertingNoopV1Alpha) UpdateEndpointImplementation(ctx context.Context, req *alertingv1alpha.CreateImplementation, ...) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlertingNoopV1Alpha ¶
type AlertingNoopV1Alpha struct{}
func (*AlertingNoopV1Alpha) ActivateSilence ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) ActivateSilence(ctx context.Context, request *alertingv1alpha.SilenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) AlertConditionStatus ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) AlertConditionStatus(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.AlertStatusResponse, error)
func (*AlertingNoopV1Alpha) CreateAlertCondition ¶
func (a *AlertingNoopV1Alpha) CreateAlertCondition(ctx context.Context, req *alertingv1alpha.AlertCondition, opts ...grpc.CallOption) (*corev1.Reference, error)
func (*AlertingNoopV1Alpha) CreateAlertEndpoint ¶
func (a *AlertingNoopV1Alpha) CreateAlertEndpoint(ctx context.Context, req *alertingv1alpha.AlertEndpoint, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) CreateAlertLog ¶
func (a *AlertingNoopV1Alpha) CreateAlertLog(ctx context.Context, event *corev1.AlertLog, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) CreateEndpointImplementation ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) CreateEndpointImplementation(ctx context.Context, req *alertingv1alpha.CreateImplementation, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) DeactivateSilence ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) DeactivateSilence(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) DeleteAlertCondition ¶
func (a *AlertingNoopV1Alpha) DeleteAlertCondition(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) DeleteAlertEndpoint ¶
func (a *AlertingNoopV1Alpha) DeleteAlertEndpoint(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) DeleteAlertLog ¶
func (a *AlertingNoopV1Alpha) DeleteAlertLog(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) DeleteEndpointImplementation ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) DeleteEndpointImplementation(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) GetAlertCondition ¶
func (a *AlertingNoopV1Alpha) GetAlertCondition(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.AlertCondition, error)
func (*AlertingNoopV1Alpha) GetAlertEndpoint ¶
func (a *AlertingNoopV1Alpha) GetAlertEndpoint(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.AlertEndpoint, error)
func (*AlertingNoopV1Alpha) GetAlertLog ¶
func (a *AlertingNoopV1Alpha) GetAlertLog(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*corev1.AlertLog, error)
func (*AlertingNoopV1Alpha) GetImplementationFromEndpoint ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) GetImplementationFromEndpoint(ctx context.Context, ref *corev1.Reference, opts ...grpc.CallOption) (*alertingv1alpha.EndpointImplementation, error)
func (*AlertingNoopV1Alpha) HandleCortexWebhook ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) HandleCortexWebhook(ctx context.Context, in *structpb.Struct, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) ListAlertConditionChoices ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) ListAlertConditionChoices(ctx context.Context, req *alertingv1alpha.AlertDetailChoicesRequest, opts ...grpc.CallOption) (*alertingv1alpha.ListAlertTypeDetails, error)
func (*AlertingNoopV1Alpha) ListAlertConditions ¶
func (a *AlertingNoopV1Alpha) ListAlertConditions(ctx context.Context, req *alertingv1alpha.ListAlertConditionRequest, opts ...grpc.CallOption) (*alertingv1alpha.AlertConditionList, error)
func (*AlertingNoopV1Alpha) ListAlertEndpoints ¶
func (a *AlertingNoopV1Alpha) ListAlertEndpoints(ctx context.Context, req *alertingv1alpha.ListAlertEndpointsRequest, opts ...grpc.CallOption) (*alertingv1alpha.AlertEndpointList, error)
func (*AlertingNoopV1Alpha) ListAlertLogs ¶
func (a *AlertingNoopV1Alpha) ListAlertLogs(ctx context.Context, req *alertingv1alpha.ListAlertLogRequest, opts ...grpc.CallOption) (*alertingv1alpha.InformativeAlertLogList, error)
func (*AlertingNoopV1Alpha) ListAvailableTemplatesForType ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) ListAvailableTemplatesForType(ctx context.Context, in *alertingv1alpha.AlertDetailChoicesRequest, opts ...grpc.CallOption) (*alertingv1alpha.TemplatesResponse, error)
func (*AlertingNoopV1Alpha) PreviewAlertCondition ¶
func (a *AlertingNoopV1Alpha) PreviewAlertCondition(ctx context.Context, req *alertingv1alpha.PreviewAlertConditionRequest, opts ...grpc.CallOption) (*alertingv1alpha.PreviewAlertConditionResponse, error)
func (*AlertingNoopV1Alpha) TestAlertEndpoint ¶
func (a *AlertingNoopV1Alpha) TestAlertEndpoint(ctx context.Context, req *alertingv1alpha.TestAlertEndpointRequest, opts ...grpc.CallOption) (*alertingv1alpha.TestAlertEndpointResponse, error)
func (*AlertingNoopV1Alpha) TriggerAlerts ¶
func (a *AlertingNoopV1Alpha) TriggerAlerts(ctx context.Context, req *alertingv1alpha.TriggerAlertsRequest, opts ...grpc.CallOption) (*alertingv1alpha.TriggerAlertsResponse, error)
func (*AlertingNoopV1Alpha) UpdateAlertCondition ¶
func (a *AlertingNoopV1Alpha) UpdateAlertCondition(ctx context.Context, req *alertingv1alpha.UpdateAlertConditionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) UpdateAlertEndpoint ¶
func (a *AlertingNoopV1Alpha) UpdateAlertEndpoint(ctx context.Context, req *alertingv1alpha.UpdateAlertEndpointRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) UpdateAlertLog ¶
func (a *AlertingNoopV1Alpha) UpdateAlertLog(ctx context.Context, req *alertingv1alpha.UpdateAlertLogRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
func (*AlertingNoopV1Alpha) UpdateEndpointImplementation ¶ added in v0.6.0
func (a *AlertingNoopV1Alpha) UpdateEndpointImplementation(ctx context.Context, req *alertingv1alpha.CreateImplementation, opts ...grpc.CallOption) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.