enterprise_warning

package
v1.14.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package enterprise_warning creates the EnterpriseWarning plugin. EnterpriseWarning plugin is responsible for identifying Enterprise config that a non-Enterprise install has configured, and warning on it. NOTE: This is probably not the ideal solution, and it would be nice to find something more robust However, it follows a pattern used in our SyncerExtensions (for ratelimit and extauth) so its good to be consistent and good enough for now.

Index

Constants

View Source
const (
	ExtensionName = "enterprise_warning"

	AdvancedHttpExtensionName          = "advanced_http"
	CachingExtensionName               = "caching"
	DlpExtensionName                   = "dlp"
	FailoverExtensionName              = "failover"
	JwtExtensionName                   = "jwt"
	LeftmostXffAddressExtensionName    = "leftmost_xff_address"
	ProxyLatencyExtensionName          = "proxy_latency"
	RbacExtensionName                  = "rbac"
	SanitizeClusterHeaderExtensionName = "sanitize_cluster_header"
	WafExtensionName                   = "waf"
	WasmExtensionName                  = "wasm"
	Aws                                = "aws"
)

A series of names to be emitted in errors when an enterprise-only extension is used.

Variables

This section is empty.

Functions

func GetErrorForEnterpriseOnlyExtensions

func GetErrorForEnterpriseOnlyExtensions(extensionNames []string) error

func NewPlugin

func NewPlugin() *plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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