shadowing

package
v1.5.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidRouteActionError  = eris.New("cannot use shadowing plugin on non-Route_Route route actions")
	UnspecifiedUpstreamError = eris.New("invalid plugin spec: must specify an upstream ref")
	InvalidNumeratorError    = func(num float32) error {
		return eris.Errorf("shadow percentage must be between 0 and 100, received %v", num)
	}
)

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
}

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) Init

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

func (*Plugin) ProcessRoute

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

Jump to

Keyboard shortcuts

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