notifications

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationServerComponent

type NotificationServerComponent struct {
	alertingv1.UnsafeAlertNotificationsServer

	util.Initializer

	server.Config
	// contains filtered or unexported fields
}

func NewNotificationServerComponent

func NewNotificationServerComponent(
	logger *slog.Logger,
) *NotificationServerComponent

func (*NotificationServerComponent) Healthy added in v0.11.0

func (n *NotificationServerComponent) Healthy() bool

func (*NotificationServerComponent) Initialize

func (*NotificationServerComponent) ListAlarmMessages

func (*NotificationServerComponent) ListNotifications

func (*NotificationServerComponent) ListRoutingRelationships

func (*NotificationServerComponent) Name added in v0.11.0

func (*NotificationServerComponent) PushNotification

func (*NotificationServerComponent) Ready added in v0.11.0

func (n *NotificationServerComponent) Ready() bool

func (*NotificationServerComponent) ResolveAlerts

func (*NotificationServerComponent) SetConfig

func (n *NotificationServerComponent) SetConfig(conf server.Config)

func (*NotificationServerComponent) Status

func (*NotificationServerComponent) Sync

func (*NotificationServerComponent) TestAlertEndpoint added in v0.11.2

func (n *NotificationServerComponent) TestAlertEndpoint(ctx context.Context, ref *corev1.Reference) (*emptypb.Empty, error)

func (*NotificationServerComponent) TriggerAlerts

type NotificationServerConfiguration

type NotificationServerConfiguration struct {
	spec.ConditionStorage
	spec.EndpointStorage
}

Jump to

Keyboard shortcuts

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