config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableEmbeddedMode

func EnableEmbeddedMode() bool

Enable embedded mode to configure the FilterPolicy directly via the target resource's annotation. If you don't use this feature, you can turn off it so that HTNN won't check the annotation of the target resource.

func EnableGatewayAPI

func EnableGatewayAPI() bool

If this is set to true, support for Kubernetes gateway-api will be enabled. In addition to this being enabled, the gateway-api CRDs need to be installed. This field is automatically configured when HTNN controller is run in the istiod.

func EnableLDSPluginViaECDS added in v0.3.0

func EnableLDSPluginViaECDS() bool

Enable dispatching LDS plugin via ECDS. If we dispatch LDS plugin via LDS directly, it will cause connection close.

func EnableNativePlugin

func EnableNativePlugin() bool

Enable Native plugin. Sometimes we may need to disable all native plugins, because: 1. Only want to use Go plugins 2. A custom Envoy is used and it doesn't support all Envoy's http filters as the default open source one.

func GoSoPath

func GoSoPath() string

Should match the Go shared library put in the data plane image

func Init

func Init()

func RootNamespace

func RootNamespace() string

Should match istio's rootNamespace configuration. See https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig for more info. This field is automatically configured when HTNN controller is run in the istiod.

func UseWildcardIPv6InLDSName added in v0.3.0

func UseWildcardIPv6InLDSName() bool

Use wildcard IPv6 address as the default prefix of the LDS name. Turn this on if your gateway is listening on an IPv6 address by default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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