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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.