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 ¶
func NewOriginalDst(t v2.OriginalDstType) api.ListenerFilterChainFactory
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"` }
Click to show internal directories.
Click to hide internal directories.