hlfmetrics

package
v1.4.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CertificateExpiryTimeSeconds = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "hlf_operator_certificate_expiration_timestamp_seconds",
			Help: "The date after which the certificate expires. Expressed as a Unix Epoch Time.",
		},
		[]string{"node_type", "crt_type", "namespace", "name"},
	)
)

Functions

func UpdateCertificateExpiry

func UpdateCertificateExpiry(
	nodeType string,
	crtType string,
	crt *x509.Certificate,
	name string,
	ns string,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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