monitoring

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	api.MissingFields
	PrometheusK8s struct {
		api.MissingFields
		Retention           string           `json:"retention,omitempty"`
		VolumeClaimTemplate *json.RawMessage `json:"volumeClaimTemplate,omitempty"`
	} `json:"prometheusK8s,omitempty"`
	AlertManagerMain struct {
		api.MissingFields
		VolumeClaimTemplate *json.RawMessage `json:"volumeClaimTemplate,omitempty"`
	} `json:"alertmanagerMain,omitempty"`
}

Config represents cluster monitoring stack configuration. Reconciler reconciles retention and storage settings, MissingFields are used to preserve settings configured by user.

type Reconciler

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

func NewReconciler

func NewReconciler(log *logrus.Entry, kubernetescli kubernetes.Interface, arocli aroclient.Interface) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager setup the manager

Jump to

Keyboard shortcuts

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