extensions

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlertingSyncerV1

func NewAlertingSyncerV1(
	ctx context.Context,
	serverConfig *alertingv1.SyncerConfig,
	mgmtClient managementv1.ManagementClient,
) alertingv1.SyncerServer

requires access to the alerting storage node requirements

func StartOpniEmbeddedServer

func StartOpniEmbeddedServer(opniAddr string) *http.Server

Types

type AlertManagerSyncerV1

type AlertManagerSyncerV1 struct {
	alertingv1.UnsafeSyncerServer

	util.Initializer
	// contains filtered or unexported fields
}

func (*AlertManagerSyncerV1) Healthy

func (*AlertManagerSyncerV1) Initialize

func (a *AlertManagerSyncerV1) Initialize(
	ctx context.Context,
	mgmtClient managementv1.ManagementClient,
)

func (*AlertManagerSyncerV1) PutConfig

func (a *AlertManagerSyncerV1) PutConfig(ctx context.Context, incomingConfig *alertingv1.PutConfigRequest) (*emptypb.Empty, error)

func (*AlertManagerSyncerV1) Ready

func (*AlertManagerSyncerV1) Status

Jump to

Keyboard shortcuts

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