handler

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilesDeleteHandler

func NewFilesDeleteHandler(g git.Git) http.Handler

NewFilesDeleteHandler returns an http.Handler that deletes a file from the git repository.

func NewFilesGetHandler

func NewFilesGetHandler(g git.Git) http.Handler

NewFilesGetHandler returns an http.Handler that reads a file from the git repository.

func NewFilesListHandler

func NewFilesListHandler(g git.Git) http.Handler

NewFilesListHandler returns an http.Handler that lists files in the git repository matching a glob pattern.

func NewFilesPostHandler

func NewFilesPostHandler(g git.Git) http.Handler

NewFilesPostHandler returns an http.Handler that writes a file to the git repository.

func NewHealthzHandler

func NewHealthzHandler() http.Handler

NewHealthzHandler returns an http.Handler that always responds 200 ok (liveness probe).

func NewReadinessHandler

func NewReadinessHandler(g git.Git) http.Handler

NewReadinessHandler returns an http.Handler that reports readiness based on git status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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