hcm

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HcmPlugin added in v0.18.2

type HcmPlugin interface {
	plugins.Plugin
	ProcessHcmSettings(cfg *envoyhttp.HttpConnectionManager, settings *hcm.HttpConnectionManagerSettings) error
}

Other plugins may implement this interface if they need to make modifications to a listener's HttpConnectionManager settings

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) Init

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

func (*Plugin) ProcessListener

func (p *Plugin) ProcessListener(params plugins.Params, in *v1.Listener, out *envoyapi.Listener) error

ProcessListener has two responsibilities: 1. apply the core HCM settings from the HCM plugin to the listener 2. call each of the HCM plugins to make sure that they have a chance to apply their modifications to the listener

func (*Plugin) RegisterHcmPlugins added in v0.18.2

func (p *Plugin) RegisterHcmPlugins(allPlugins []plugins.Plugin)

Jump to

Keyboard shortcuts

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