backup

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LastSuccessfulBackupTime = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name: "kubeadm_backup_last_successful_backup_time",
			Help: "When the last backup was successfully run. Expressed as a Unix Epoch Time.",
		},
	)
	// BackupSuccess is a prometheus metric which is a Gauge of
	BackupSuccess = prometheus.NewGauge(prometheus.GaugeOpts{
		Name: "kubeadm_backup_success",
		Help: "kubeadm backup success",
	},
	)
)

Functions

func NewBackupTimer

func NewBackupTimer(blobClient blob.BlobClient, etcdClient *etcd.Client, kubeadmPKIDirectory string, interval time.Duration, ttl time.Duration, log logr.Logger) *backupTimer

Types

This section is empty.

Jump to

Keyboard shortcuts

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