headers

package
v1.7.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MissingHeaderValueError = errors.Errorf("header section of header value option cannot be nil")
)

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Puts Header Manipulation config on Routes, VirtualHosts, and Weighted Clusters

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) Init

func (p *Plugin) Init(_ plugins.InitParams) error

func (*Plugin) ProcessRoute

func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *envoy_config_route_v3.Route) error

func (*Plugin) ProcessVirtualHost

func (p *Plugin) ProcessVirtualHost(
	params plugins.VirtualHostParams,
	in *v1.VirtualHost,
	out *envoy_config_route_v3.VirtualHost,
) error

Jump to

Keyboard shortcuts

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