Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthzHandlerWithChecks ¶ added in v1.6.23
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 ¶
type Config ¶ added in v1.6.25
type Config struct {
PingAPIServer bool
Mapper meta.RESTMapper
}
Click to show internal directories.
Click to hide internal directories.