Documentation ¶
Index ¶
- Variables
- type Plugin
- func (p *Plugin) Init(_ plugins.InitParams) error
- func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *envoy_config_route_v3.Route) error
- func (p *Plugin) ProcessVirtualHost(params plugins.VirtualHostParams, in *v1.VirtualHost, ...) error
- func (p *Plugin) ProcessWeightedDestination(params plugins.RouteParams, in *v1.WeightedDestination, ...) error
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 (*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
func (*Plugin) ProcessWeightedDestination ¶
func (p *Plugin) ProcessWeightedDestination( params plugins.RouteParams, in *v1.WeightedDestination, out *envoy_config_route_v3.WeightedCluster_ClusterWeight, ) error
Click to show internal directories.
Click to hide internal directories.