http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 20 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.

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

func NewAdmissionServer(port string) *http.Server

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

func NewProxyServer

func NewProxyServer(port string) *http.Server

NewProxyServer creates and returns an http proxy server.

func ProxyHandler

func ProxyHandler() http.HandlerFunc

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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