endpoints

package
v0.10.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointServerComponent

type EndpointServerComponent struct {
	alertingv1.UnsafeAlertEndpointsServer

	util.Initializer
	// contains filtered or unexported fields
}

func NewEndpointServerComponent

func NewEndpointServerComponent(
	ctx context.Context,
	logger *zap.SugaredLogger,
	notifications *notifications.NotificationServerComponent,
) *EndpointServerComponent

func (*EndpointServerComponent) CreateAlertEndpoint

func (e *EndpointServerComponent) CreateAlertEndpoint(ctx context.Context, req *alertingv1.AlertEndpoint) (*corev1.Reference, error)

func (*EndpointServerComponent) DeleteAlertEndpoint

func (*EndpointServerComponent) GetAlertEndpoint

func (*EndpointServerComponent) Initialize

func (*EndpointServerComponent) ListAlertEndpoints

func (*EndpointServerComponent) SetConfig

func (e *EndpointServerComponent) SetConfig(conf struct{})

func (*EndpointServerComponent) Status

func (e *EndpointServerComponent) Status() struct{}

func (*EndpointServerComponent) Sync

func (e *EndpointServerComponent) Sync(_ bool) error

func (*EndpointServerComponent) ToggleNotifications

func (e *EndpointServerComponent) ToggleNotifications(ctx context.Context, req *alertingv1.ToggleRequest) (*emptypb.Empty, error)

func (*EndpointServerComponent) UpdateAlertEndpoint

Jump to

Keyboard shortcuts

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