prometheus

package
v0.0.0-...-db62745 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 7 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 LRPClient

type LRPClient interface {
	Desire(ctx context.Context, namespace string, lrp *api.LRP, opts ...shared.Option) error
	Get(ctx context.Context, identifier api.LRPIdentifier) (*api.LRP, error)
	Update(ctx context.Context, lrp *api.LRP) error
}

type LRPClientDecorator

type LRPClientDecorator struct {
	LRPClient
	// contains filtered or unexported fields
}

func NewLRPClientDecorator

func NewLRPClientDecorator(
	logger lager.Logger,
	lrpClient LRPClient,
	registry prometheus_api.Registerer,
	clck clock.PassiveClock,
) (*LRPClientDecorator, error)

func (*LRPClientDecorator) Desire

func (d *LRPClientDecorator) Desire(ctx context.Context, namespace string, lrp *api.LRP, opts ...shared.Option) 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