healthserver

package
v1.6.24 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthzHandlerWithChecks added in v1.6.23

func NewHealthzHandlerWithChecks(cnsConfig *configuration.CNSConfig) (http.Handler, error)

NewHealthzHandlerWithChecks will return a http.Handler for CNS's /healthz endpoint. Depending on what we expect CNS to be able to read (based on the configuration.CNSConfig) then the checks registered to the handler will test for those expectations. For example, in ChannelMode: CRD, the health check will ensure that CNS is able to list NNCs successfully.

func Start

func Start(log *zap.Logger, addr string, healthz, readyz http.Handler)

Types

This section is empty.

Jump to

Keyboard shortcuts

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