Help us shape the future of Go! Take the 2026 Go Developer Survey

handler

package
v0.0.0-...-9f7990d Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Healthz

func Healthz(w http.ResponseWriter, _ *http.Request) error

Healthz handles GET /healthz — liveness probe. Always returns 200 {"status":"ok"} while the process is alive.

func NewAPIHandler

func NewAPIHandler(logger *slog.Logger, k8sClient client.Client, oidcClient oidc.Client,
	stateStore oidc.StateStore, exchangeStore oidc.ExchangeStore, sessionStore session.Store,
	cfg config.Parsed,
) (http.Handler, error)

func Readyz

func Readyz(w http.ResponseWriter, _ *http.Request) error

Readyz handles GET /readyz — readiness probe. Returns 200 {"status":"ok"} when the server is ready to accept traffic. Gate additional dependency checks here once they exist (e.g. cluster reachability).

Types

This section is empty.

Jump to

Keyboard shortcuts

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