als

package
v1.10.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ClusterName = "access_log_cluster"
)

Variables

This section is empty.

Functions

func ProcessAccessLogPlugins added in v1.9.25

func ProcessAccessLogPlugins(service *als.AccessLoggingService, logCfg []*envoyal.AccessLog) ([]*envoyal.AccessLog, error)

The AccessLogging plugin configures access logging for envoy, regardless of whether it will be applied to an HttpConnectionManager or TcpProxy NetworkFilter. We have exposed HttpConnectionManagerPlugins to enable fine grained configuration of the HCM across multiple plugins. However, the TCP proxy is still configured by the TCP plugin only. To keep our access logging translation in a single place, we expose this function and the Tcp plugin calls out to it.

Types

type Plugin

type Plugin struct {
}

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) Init

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

func (*Plugin) ProcessHcmNetworkFilter added in v1.10.0

func (p *Plugin) ProcessHcmNetworkFilter(params plugins.Params, parentListener *v1.Listener, _ *v1.HttpListener, out *envoyhttp.HttpConnectionManager) error

Jump to

Keyboard shortcuts

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