healthz

package
v0.0.0-...-7a3883e Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitHealthz

func InitHealthz(app *iris.Application)

InitHealthz register iris healthz handler

func SetCustomHealthzChecks

func SetCustomHealthzChecks(checks []config.HealthzChecks)

SetCustomHealthzChecks healthz checks

func SetDelayCheckNetworking

func SetDelayCheckNetworking(seconds int64)

SetDelayCheckNetworking enables delaying check networking status for kubernetes platform uses istio 1.7 and before

func SetTraceLog

func SetTraceLog(enable bool)

SetTraceLog boolean

Types

type LivenessCheckResult

type LivenessCheckResult struct {
	Name    string
	Status  string
	Message string
}

LivenessCheckResult options

type PingableSession

type PingableSession interface {
	Ping() error
}

PingableSession pingable

Jump to

Keyboard shortcuts

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