internal

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(m *plugins.Manager, cfg *Config) plugins.Plugin

New returns a Plugin that implements the Envoy ext_authz API.

Types

type Config

type Config struct {
	Addr  string `json:"addr"`
	Query string `json:"query"`
	// contains filtered or unexported fields
}

Config represents the plugin configuration.

func Validate

func Validate(m *plugins.Manager, bs []byte) (*Config, error)

Validate receives a slice of bytes representing the plugin's configuration and returns a configuration value that can be used to instantiate the plugin.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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