handlers

package
v0.0.0-...-5002bb7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountryHandler

type CountryHandler struct {
	// contains filtered or unexported fields
}

func (*CountryHandler) Create

func (h *CountryHandler) Create(w http.ResponseWriter, r *http.Request)

func (*CountryHandler) Delete

func (h *CountryHandler) Delete(w http.ResponseWriter, r *http.Request)

func (*CountryHandler) Read

func (*CountryHandler) Update

func (h *CountryHandler) Update(w http.ResponseWriter, r *http.Request)

type KubernetesHandler

type KubernetesHandler struct {
	// contains filtered or unexported fields
}

KubernetesHandler is a handler for the kubernetes endpoints

func NewKubernetesHandler

func NewKubernetesHandler(db *sql.DB) *KubernetesHandler

NewKubernetesHandler creates a new KubernetesHandler

func (*KubernetesHandler) HealthCheckHandler

func (h *KubernetesHandler) HealthCheckHandler(w http.ResponseWriter, r *http.Request)

HealthCheckHandler is a handler for the health check endpoint

func (*KubernetesHandler) ReadinessCheckHandler

func (h *KubernetesHandler) ReadinessCheckHandler(w http.ResponseWriter, r *http.Request)

ReadinessCheckHandler is a handler for the readiness check endpoint

func (*KubernetesHandler) StartupCheckHandler

func (h *KubernetesHandler) StartupCheckHandler(w http.ResponseWriter, r *http.Request)

StartupCheckHandler is a handler for the startup check endpoint

Jump to

Keyboard shortcuts

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