Documentation ¶
Index ¶
- func DecrementReboot()
- func GetHandler(collector prometheus.Collector) http.Handler
- func NewCollector(client *v3.Client) prometheus.Collector
- func UpdateLeader(flag bool)
- func UpdateOperationPhase(phase cke.OperationPhase, ts time.Time)
- func UpdateReboot(numEntries int)
- func UpdateSabakanIntegration(isSuccessful bool, workersByRole map[string]int, unusedMachines int, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecrementReboot ¶ added in v1.18.4
func DecrementReboot()
DecrementReboot decrements "reboot_queue_entries".
func GetHandler ¶
func GetHandler(collector prometheus.Collector) http.Handler
GetHandler returns http.Handler for prometheus metrics.
func NewCollector ¶
func NewCollector(client *v3.Client) prometheus.Collector
NewCollector returns a new prometheus.Collector.
func UpdateOperationPhase ¶
func UpdateOperationPhase(phase cke.OperationPhase, ts time.Time)
UpdateOperationPhase updates "operation_phase" and its timestamp.
func UpdateReboot ¶ added in v1.18.4
func UpdateReboot(numEntries int)
UpdateReboot updates "reboot_queue_entries".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.