prometheus

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LRPCreations             = "eirini_lrp_creations"
	LRPCreationsHelp         = "The total number of created lrps"
	LRPCreationDurations     = "eirini_lrp_creation_durations"
	LRPCreationDurationsHelp = "The duration of lrp creations"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LRPDesirer

type LRPDesirer interface {
	Desire(ctx context.Context, lrp *eiriniv1.LRP) error
}

type LRPDesirerDecorator

type LRPDesirerDecorator struct {
	LRPDesirer
	// contains filtered or unexported fields
}

func NewLRPDesirerDecorator

func NewLRPDesirerDecorator(
	desirer LRPDesirer,
	registry prometheusapi.Registerer,
	clck clock.PassiveClock,
) (*LRPDesirerDecorator, error)

func (*LRPDesirerDecorator) Desire

func (d *LRPDesirerDecorator) Desire(ctx context.Context, lrp *eiriniv1.LRP) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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