hcm

package
v1.5.0-beta15 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 14 Imported by: 3

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(_ 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