validationproxy

package
v0.0.0-...-7d69bf5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertificateInfoHeader = "X-Forwarded-Client-Cert"
)

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(proxyHandler http.Handler) http.Handler

func NewProxyHandler

func NewProxyHandler(
	group string,
	tenant string,
	eventingPathPrefixV1 string,
	eventingPathPrefixV2 string,
	eventingPublisherHost string,
	eventingPathPrefixEvents string,
	eventingDestinationPath string,
	appRegistryPathPrefix string,
	appRegistryHost string,
	cache Cache,
	log *logger.Logger) *proxyHandler

Types

type ApplicationGetter

type ApplicationGetter interface {
	Get(ctx context.Context, name string, options metav1.GetOptions) (*v1alpha1.Application, error)
}

type Cache

type Cache interface {
	Get(k string) (interface{}, bool)
	Set(k string, x interface{}, d time.Duration)
}

type ProxyHandler

type ProxyHandler interface {
	ProxyAppConnectorRequests(w http.ResponseWriter, r *http.Request)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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