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