config

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvoyXDSModeSplit selects the existing per-resource-type xDS server.
	EnvoyXDSModeSplit = "split"

	// EnvoyXDSModeADS selects the ADS (Aggregated Discovery Service) xDS server.
	EnvoyXDSModeADS = "ads"

	// EnvoyXDSModeStrictADS selects the ADS xDS server with strict snapshot validation.
	EnvoyXDSModeStrictADS = "strict-ads"

	// DefaultXDSMode is set to "split" for upgrade compatibility
	DefaultXDSMode = EnvoyXDSModeSplit
)

Variables

This section is empty.

Functions

func ADSModeEnabled added in v1.20.0

func ADSModeEnabled(mode string) bool

func StrictADSModeEnabled added in v1.20.0

func StrictADSModeEnabled(mode string) bool

Types

type ProxyConfig

type ProxyConfig struct {
	DisableEnvoyVersionCheck            bool
	EnvoyNodeLocalityEnabled            bool
	ProxyPrometheusPort                 int
	ProxyAdminPort                      int
	EnvoyLog                            string
	EnvoyAccessLogBufferSize            uint
	EnvoyDefaultLogLevel                string
	EnvoyBaseID                         uint64
	EnvoyKeepCapNetbindservice          bool
	ProxyConnectTimeout                 uint
	ProxyInitialFetchTimeout            uint
	ProxyGID                            uint
	ProxyMaxActiveDownstreamConnections int64
	ProxyMaxRequestsPerConnection       int
	ProxyMaxConnectionDurationSeconds   int
	ProxyIdleTimeoutSeconds             int
	ProxyMaxConcurrentRetries           uint32
	ProxyClusterMaxConnections          uint32
	ProxyClusterMaxRequests             uint32
	ProxyClusterMaxPendingRequests      uint32
	HTTPNormalizePath                   bool
	HTTPRequestTimeout                  uint
	HTTPIdleTimeout                     uint
	HTTPMaxGRPCTimeout                  uint
	HTTPRetryCount                      uint
	HTTPRetryTimeout                    uint
	HTTPStreamIdleTimeout               uint
	UseFullTLSContext                   bool
	ProxyXffNumTrustedHopsIngress       uint32
	ProxyXffNumTrustedHopsEgress        uint32
	EnvoyPolicyRestoreTimeout           time.Duration
	EnvoyHTTPUpstreamLingerTimeout      int
	EnvoyAccessLogEnabled               bool
	EnvoyXDSMode                        string
}

func (ProxyConfig) ADSModeEnabled added in v1.20.0

func (r ProxyConfig) ADSModeEnabled() bool

func (ProxyConfig) Flags

func (r ProxyConfig) Flags(flags *pflag.FlagSet)

func (ProxyConfig) StrictADSModeEnabled added in v1.20.0

func (r ProxyConfig) StrictADSModeEnabled() bool

func (ProxyConfig) Validate added in v1.20.0

func (r ProxyConfig) Validate() error

type SecretSyncConfig

type SecretSyncConfig struct {
	EnvoySecretsNamespace string

	EnableIngressController bool
	IngressSecretsNamespace string

	EnableGatewayAPI           bool
	GatewayAPISecretsNamespace string
}

func (SecretSyncConfig) Flags

func (r SecretSyncConfig) Flags(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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