gardener: github.com/gardener/gardener/pkg/server/handlers Index | Files

package handlers

import "github.com/gardener/gardener/pkg/server/handlers"

Index

Package Files

healthz.go

func Healthz Uses

func Healthz(w http.ResponseWriter, r *http.Request)

Healthz is a HTTP handler for the /healthz endpoint which responses with 200 OK status code if the Gardener controller manager is healthy; and with 500 Internal Server error status code otherwise.

func UpdateHealth Uses

func UpdateHealth(isHealthy bool)

UpdateHealth expects a boolean value <isHealthy> and assigns it to the package-internal 'healthy' variable.

Package handlers imports 2 packages (graph) and is imported by 1 packages. Updated 2019-06-10. Refresh now. Tools for package owners.