health
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package health contains shared types and underlying methods for servinga `/healthz` endpoint for containerboot and k8s-proxy.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeHealthz¶
Healthz is a simple health check server, if enabled it returns 200 OK ifthis tailscale node currently has at least one tailnet IP address elsereturns 503.
funcRegisterHealthHandlers¶
RegisterHealthHandlers registers a simple health handler at /healthz.A containerized tailscale instance is considered healthy ifit has at least one tailnet IP address.