metrics

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

func MustMakeRecorder

func MustMakeRecorder() *Recorder

func NewRecorder

func NewRecorder() *Recorder

func (*Recorder) Collectors

func (r *Recorder) Collectors() []prometheus.Collector

func (*Recorder) DeleteProviderCondition

func (r *Recorder) DeleteProviderCondition(provider *sopsv1alpha1.SopsProvider)

DeleteCondition deletes the condition metrics for the ref.

func (*Recorder) DeleteSecretCondition

func (r *Recorder) DeleteSecretCondition(secret *sopsv1alpha1.SopsSecret)

DeleteCondition deletes the condition metrics for the ref.

func (*Recorder) RecordProviderCondition

func (r *Recorder) RecordProviderCondition(provider *sopsv1alpha1.SopsProvider)

RecordCondition records the condition as given for the ref.

func (*Recorder) RecordSecretCondition

func (r *Recorder) RecordSecretCondition(secret *sopsv1alpha1.SopsSecret)

RecordCondition records the condition as given for the ref.

Jump to

Keyboard shortcuts

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