gloo

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Ctx context.Context

	GatewayClient gatewayv1.GatewayClient

	// used to determine the workloads and gateways to which we apply the filters
	Selector Selector
}

func (*Provider) ApplyFilter

func (p *Provider) ApplyFilter(filter *v1.FilterSpec) error

applies the filter to all selected workloads in selected namespaces

func (*Provider) RemoveFilter

func (p *Provider) RemoveFilter(filter *v1.FilterSpec) error

removes the filter from all selected workloads in selected namespaces

type Selector

type Selector struct {
	Namespaces    []string
	GatewayLabels map[string]string
}

selects the gateways to which to deploy the wasm filter(s)

Jump to

Keyboard shortcuts

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