http

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package http provides a http server for the webhook and proxy.

Package http provides a http server for the webhook and proxy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdmissionServer added in v0.26.0

func NewAdmissionServer(ctx context.Context, port string) (*http.Server, error)

NewAdmissionServer creates a http.Server for the mutating webhook admission handler.

func NewProxyServer added in v0.26.0

func NewProxyServer(port string) *http.Server

NewProxyServer creates and returns an http proxy server.

func ProxyHandler added in v0.26.0

func ProxyHandler() http.HandlerFunc

ProxyHandler constructs a new httputil.ReverseProxy and returns an http handler.

Types

This section is empty.

Directories

Path Synopsis
Package admission provides an HTTP handler for a Kubernetes admission webhook.
Package admission provides an HTTP handler for a Kubernetes admission webhook.

Jump to

Keyboard shortcuts

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