originaldst

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

View Source
const (
	SO_ORIGINAL_DST      = 80
	IP6T_SO_ORIGINAL_DST = 80
)

OriginDST, option for syscall.GetsockoptIPv6Mreq

Variables

This section is empty.

Functions

func CreateOriginalDstFactory

func CreateOriginalDstFactory(conf map[string]interface{}) (api.ListenerFilterChainFactory, error)

func NewOriginalDst

TODO remove it when Istio deprecate UseOriginalDst. NewOriginalDst new an original dst filter.

Types

type OriginalDstConfig added in v0.27.0

type OriginalDstConfig struct {
	// If FallbackToLocal is setted to true, the listener filter match will use local address instead of
	// any (0.0.0.0). usually used in ingress listener.
	FallbackToLocal bool               `json:"fallback_to_local"`
	Type            v2.OriginalDstType `json:"type"`
}

Jump to

Keyboard shortcuts

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