alertmanager

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractAlertmanagerConfig added in v0.26.0

func ExtractAlertmanagerConfig(ctx context.Context, secret *v1.Secret) ([]byte, error)

Types

type APIError

type APIError struct {
	Code    int
	Message string
}

func (APIError) Error

func (e APIError) Error() string

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(conf pkgconfig.Config) Service

func (Service) Configure

func (s Service) Configure(ctx context.Context, secret *v1.Secret, tenantID string) error

Jump to

Keyboard shortcuts

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