noop

package
v0.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Module implements a noop alerting model, in case the alerting plugin is not loaded

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnavailableAlertingImplementation

func NewUnavailableAlertingImplementation(version string) alerting.Provider

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 (*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 (*AlertingNoopV1Alpha) GetAlertEndpoint

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 (*AlertingNoopV1Alpha) ListAvailableTemplatesForType added in v0.6.0

func (*AlertingNoopV1Alpha) UpdateAlertCondition

func (*AlertingNoopV1Alpha) UpdateAlertEndpoint

func (*AlertingNoopV1Alpha) UpdateAlertLog

func (*AlertingNoopV1Alpha) UpdateEndpointImplementation added in v0.6.0

func (a *AlertingNoopV1Alpha) UpdateEndpointImplementation(ctx context.Context, req *alertingv1alpha.CreateImplementation, opts ...grpc.CallOption) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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