handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OKHandler

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

Types

type PodInfo

type PodInfo struct {
	Namespace string
	Name      string
	NodeName  string
	IPAddress string
}

func PodInfoFromEnv

func PodInfoFromEnv() *PodInfo

type RootHandler

type RootHandler struct {
	*PodInfo
	OS   string
	Arch string
	// contains filtered or unexported fields
}

func MustRootHandler

func MustRootHandler(pod *PodInfo) *RootHandler

func (*RootHandler) ServeHTTP

func (h *RootHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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