metrix

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package metrix implements stats-related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meter

type Meter struct {
	http.Handler
	// contains filtered or unexported fields
}

Meter wraps the functionality of a Prometheus-compatible HTTP handler.

func New

func New() (m *Meter)

New initializes and returns a new Meter.

func (*Meter) KMSSigned

func (m *Meter) KMSSigned(err error)

KMSSigned implements [authority.Meter] for Meter.

func (*Meter) SSHRekeyed

func (m *Meter) SSHRekeyed(p provisioner.Interface, err error)

SSHRekeyed implements [authority.Meter] for Meter.

func (*Meter) SSHRenewed

func (m *Meter) SSHRenewed(p provisioner.Interface, err error)

SSHRenewed implements [authority.Meter] for Meter.

func (*Meter) SSHSigned

func (m *Meter) SSHSigned(p provisioner.Interface, err error)

SSHSigned implements [authority.Meter] for Meter.

func (*Meter) SSHWebhookAuthorized

func (m *Meter) SSHWebhookAuthorized(p provisioner.Interface, err error)

SSHWebhookAuthorized implements [authority.Meter] for Meter.

func (*Meter) SSHWebhookEnriched

func (m *Meter) SSHWebhookEnriched(p provisioner.Interface, err error)

SSHWebhookEnriched implements [authority.Meter] for Meter.

func (*Meter) X509Rekeyed

func (m *Meter) X509Rekeyed(p provisioner.Interface, err error)

X509Rekeyed implements [authority.Meter] for Meter.

func (*Meter) X509Renewed

func (m *Meter) X509Renewed(p provisioner.Interface, err error)

X509Renewed implements [authority.Meter] for Meter.

func (*Meter) X509Signed

func (m *Meter) X509Signed(p provisioner.Interface, err error)

X509Signed implements [authority.Meter] for Meter.

func (*Meter) X509WebhookAuthorized

func (m *Meter) X509WebhookAuthorized(p provisioner.Interface, err error)

X509WebhookAuthorized implements [authority.Meter] for Meter.

func (*Meter) X509WebhookEnriched

func (m *Meter) X509WebhookEnriched(p provisioner.Interface, err error)

X509WebhookEnriched implements [authority.Meter] for Meter.

Jump to

Keyboard shortcuts

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