types

package
v0.13.0-snapshot.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeaderElector added in v0.9.1

type LeaderElector interface {
	IsLeader() bool
	LeaderName() string
	Run(stopCh <-chan struct{})
}

LeaderElector ...

type Logger added in v0.8.1

type Logger interface {
	InfoV(v int, msg string, args ...interface{})
	Info(msg string, args ...interface{})
	Warn(msg string, args ...interface{})
	Error(msg string, args ...interface{})
	Fatal(msg string, args ...interface{})
}

Logger ...

type Metrics added in v0.10.1

type Metrics interface {
	HAProxyShowInfoResponseTime(duration time.Duration)
	HAProxySetServerResponseTime(duration time.Duration)
	HAProxySetSSLCertResponseTime(duration time.Duration)
	ControllerProcTime(task string, duration time.Duration)
	AddIdleFactor(idle int)
	IncUpdateNoop()
	IncUpdateDynamic()
	IncUpdateFull()
	UpdateSuccessful(success bool)
	SetCertExpireDate(domain, cn string, notAfter *time.Time)
	ClearCertExpire()
	IncCertSigningMissing(domains string, success bool)
	IncCertSigningExpiring(domains string, success bool)
	IncCertSigningOutdated(domains string, success bool)
}

Metrics ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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