alertmanager

package
v0.66.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListOptions added in v0.3.0

func ListOptions(name string) metav1.ListOptions

Types

type Config added in v0.5.0

type Config struct {
	LocalHost                    string
	ClusterDomain                string
	ReloaderConfig               operator.ContainerConfig
	AlertmanagerDefaultBaseImage string
	Namespaces                   operator.Namespaces
	Annotations                  operator.Annotations
	Labels                       operator.Labels
	AlertManagerSelector         string
	SecretListWatchSelector      string
}

type Operator

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

Operator manages life cycle of Alertmanager deployments and monitoring configurations.

func New

New creates a new controller.

func (*Operator) Iterate added in v0.65.0

func (c *Operator) Iterate(processFn func(metav1.Object, []monitoringv1.Condition))

Iterate implements the operator.StatusReconciler interface.

func (*Operator) RefreshStatusFor added in v0.65.0

func (c *Operator) RefreshStatusFor(o metav1.Object)

RefreshStatus implements the operator.StatusReconciler interface.

func (*Operator) Resolve added in v0.61.0

func (c *Operator) Resolve(ss *appsv1.StatefulSet) metav1.Object

Resolve implements the operator.Syncer interface.

func (*Operator) Run

func (c *Operator) Run(ctx context.Context) error

Run the controller.

func (*Operator) Sync added in v0.61.0

func (c *Operator) Sync(ctx context.Context, key string) error

Sync implements the operator.Syncer interface.

func (*Operator) UpdateStatus added in v0.61.0

func (c *Operator) UpdateStatus(ctx context.Context, key string) error

UpdateStatus updates the status subresource of the object identified by the given key. UpdateStatus implements the operator.Syncer interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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