Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExtensionName = "als" ClusterName = "access_log_cluster" )
Variables ¶
View Source
var ( NoValueError = func(filterName string, fieldName string) error { return eris.Errorf("No value found for field %s of %s", fieldName, filterName) } InvalidEnumValueError = func(filterName string, fieldName string, value string) error { return eris.Errorf("Invalid value of %s in Enum field %s of %s", value, fieldName, filterName) } WrapInvalidEnumValueError = func(filterName string, err error) error { return eris.Wrap(err, fmt.Sprintf("Invalid subfilter in %s", filterName)) } )
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.