reporter

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRegisterMetrics added in v0.7.0

func MustRegisterMetrics()

MustRegisterMetrics attempts to register the metrics collectors in the controller-runtime metrics registry.

func RecordMetrics added in v0.7.0

func RecordMetrics(obj unstructured.Unstructured)

RecordMetrics records the metrics for the given object.

func RequestReportUpdate

func RequestReportUpdate(ctx context.Context, kubeClient client.Client, instance, manager, namespace string) error

RequestReportUpdate annotates the FluxReport object to trigger a reconciliation.

func ResetMetrics added in v0.7.0

func ResetMetrics(kind string)

ResetMetrics resets the metrics for the given kind.

Types

type FluxStatusReporter

type FluxStatusReporter struct {
	client.Client
	// contains filtered or unexported fields
}

FluxStatusReporter is responsible for computing the status report of the Flux installation.

func NewFluxStatusReporter

func NewFluxStatusReporter(kubeClient client.Client, instance, manager, namespace string) *FluxStatusReporter

NewFluxStatusReporter creates a new FluxStatusReporter for the given instance and namespace.

func (*FluxStatusReporter) Compute

Compute generate the status report of the Flux installation.

Jump to

Keyboard shortcuts

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