ads

package
v1.0.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KMESH_TAIL_CALL_CLUSTER = uint32(C.KMESH_TAIL_CALL_CLUSTER)
View Source
var KMESH_TAIL_CALL_FILTER = uint32(C.KMESH_TAIL_CALL_FILTER)
View Source
var KMESH_TAIL_CALL_FILTER_CHAIN = uint32(C.KMESH_TAIL_CALL_FILTER_CHAIN)
View Source
var KMESH_TAIL_CALL_LISTENER = uint32(C.KMESH_TAIL_CALL_LISTENER)
View Source
var KMESH_TAIL_CALL_ROUTER = uint32(C.KMESH_TAIL_CALL_ROUTER)
View Source
var KMESH_TAIL_CALL_ROUTER_CONFIG = uint32(C.KMESH_TAIL_CALL_ROUTER_CONFIG)

Functions

func AdsL7Enabled

func AdsL7Enabled() bool

Types

type BpfAds

type BpfAds struct {
	SockConn BpfSockConn
	Tc       *general.BpfTCGeneral
}

func NewBpfAds

func NewBpfAds(cfg *options.BpfConfig) (*BpfAds, error)

func (*BpfAds) ApiEnvCfg

func (sc *BpfAds) ApiEnvCfg() error

func (*BpfAds) Attach

func (sc *BpfAds) Attach() error

func (*BpfAds) Detach

func (sc *BpfAds) Detach() error

func (*BpfAds) GetClusterStatsMap

func (sc *BpfAds) GetClusterStatsMap() *ebpf.Map

func (*BpfAds) GetKmeshConfigMap

func (sc *BpfAds) GetKmeshConfigMap() *ebpf.Map

func (*BpfAds) Load

func (sc *BpfAds) Load() error

func (*BpfAds) Start

func (sc *BpfAds) Start() error

func (*BpfAds) Stop

func (sc *BpfAds) Stop() error

type BpfSockConn

type BpfSockConn struct {
	Info general.BpfInfo
	Link link.Link
	bpf2go.KmeshCgroupSockObjects
}

func (*BpfSockConn) Attach

func (sc *BpfSockConn) Attach() error

func (*BpfSockConn) Detach

func (sc *BpfSockConn) Detach() error

func (*BpfSockConn) Load

func (sc *BpfSockConn) Load() error

func (*BpfSockConn) NewBpf

func (sc *BpfSockConn) NewBpf(cfg *options.BpfConfig) error

Jump to

Keyboard shortcuts

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