http

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENDPOINT_VALIDATE_PODS         = "/validate/pods"
	ENDPOINT_MUTATE_PODS           = "/mutate/pods"
	ENDPOINT_VALIDATE_DEPLOYMENTS  = "/validate/deployments"
	ENDPOINT_MUTATE_DEPLOYMENTS    = "/mutate/deployments"
	ENDPOINT_VALIDATE_DAEMONSETS   = "/validate/daemonsets"
	ENDPOINT_MUTATE_DAEMONSETS     = "/mutate/daemonsets"
	ENDPOINT_VALIDATE_STATEFULSETS = "/validate/statefulsets"
	ENDPOINT_MUTATE_STATEFULSETS   = "/mutate/statefulsets"
	ENDPOINT_VALIDATE_OTHERS       = "/validate/others"
	ENDPOINT_MUTATE_OTHERS         = "/mutate/others"
)

Variables

This section is empty.

Functions

func NewServer

func NewServer(port string, config string) *http.Server

NewServer creates and return a http.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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