plugins

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIstioHttpPlugin

func NewIstioHttpPlugin() *istioHttpPlugin

Types

type InitParams

type InitParams struct {
	Ctx context.Context
}

type Params

type Params struct {
	Ctx       context.Context
	Upstreams gloov1.UpstreamList
}

type Plugin

type Plugin interface {
	// init on first loop, flush cache
	Init(params InitParams) error
}

func Plugins

func Plugins(kc kubernetes.Interface) []Plugin

type RoutingPlugin

type RoutingPlugin interface {
	Plugin
	ProcessRoute(params Params, in v1.RoutingRuleSpec, out *v1alpha3.HTTPRoute) error
}

Jump to

Keyboard shortcuts

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