handlers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package handlers provides the http handler functions for the API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alive

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

Alive documentation @Summary Kubernetes Alive probe @Description Responds to the Kubernetes alive requests @ID alive @Tags Common @Produce text/text @Success 200 {string} string "OK" @Router /alive [get]

func Metrics

func Metrics(w http.ResponseWriter, req *http.Request)

Metrics documentation @Summary Prometheus Metrics @Description Metrics is an http.Handler instance to expose Prometheus metrics via HTTP. @ID metrics @Tags Common @Success 200 @Router /metrics [get]

func Ready

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

Ready documentation @Summary Kubernetes Ready probe @Description Responds to the Kubernetes ready requests @ID ready @Tags Common @Produce text/text @Success 200 {string} string "OK" @Router /ready [get]

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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