informer

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InformerCFAuditEventsTotal = prometheus.NewGauge(prometheus.GaugeOpts{
		Name: "informer_cf_audit_events_total",
		Help: "Number of CF audit events in the database",
	})

	InformerLatestCFAuditEventTimestamp = prometheus.NewGauge(prometheus.GaugeOpts{
		Name: "informer_latest_cf_audit_event_timestamp",
		Help: "Unix epoch seconds of most recent event in the database",
	})
)

Functions

This section is empty.

Types

type Informer

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

func NewInformer

func NewInformer(
	schedule time.Duration,
	logger lager.Logger,
	eventDB db.EventDB,
) *Informer

func (*Informer) Run

func (i *Informer) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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