Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BpfInfo ¶
type BpfInfo struct { MapPath string BpfFsPath string Cgroup2Path string Type ebpf.ProgramType AttachType ebpf.AttachType }
type BpfSendMsgWorkload ¶
type BpfSendMsgWorkload struct { Info BpfInfo AttachFD int bpf2go.KmeshSendmsgObjects // contains filtered or unexported fields }
func (*BpfSendMsgWorkload) Attach ¶
func (sm *BpfSendMsgWorkload) Attach() error
func (*BpfSendMsgWorkload) Detach ¶
func (sm *BpfSendMsgWorkload) Detach() error
func (*BpfSendMsgWorkload) LoadSendMsg ¶
func (sm *BpfSendMsgWorkload) LoadSendMsg() error
func (*BpfSendMsgWorkload) NewBpf ¶
func (sm *BpfSendMsgWorkload) NewBpf(cfg *options.BpfConfig, sockOpsWorkloadObj *BpfSockOpsWorkload) error
type BpfSockOpsWorkload ¶
type BpfSockOpsWorkload struct { Info BpfInfo Link link.Link bpf2go.KmeshSockopsWorkloadObjects }
func (*BpfSockOpsWorkload) Attach ¶
func (so *BpfSockOpsWorkload) Attach() error
func (*BpfSockOpsWorkload) Detach ¶
func (so *BpfSockOpsWorkload) Detach() error
func (*BpfSockOpsWorkload) GetSockMapFD ¶
func (so *BpfSockOpsWorkload) GetSockMapFD() int
func (*BpfSockOpsWorkload) LoadSockOps ¶
func (so *BpfSockOpsWorkload) LoadSockOps() error
type BpfWorkload ¶
type BpfWorkload struct { SockConn SockConnWorkload SockOps BpfSockOpsWorkload XdpAuth BpfXdpAuthWorkload SendMsg BpfSendMsgWorkload }
func NewBpfWorkload ¶
func NewBpfWorkload(cfg *options.BpfConfig) (*BpfWorkload, error)
func (*BpfWorkload) ApiEnvCfg ¶
func (w *BpfWorkload) ApiEnvCfg() error
func (*BpfWorkload) Attach ¶
func (w *BpfWorkload) Attach() error
func (*BpfWorkload) Detach ¶
func (w *BpfWorkload) Detach() error
func (*BpfWorkload) GetBpfLogLevelMap ¶
func (w *BpfWorkload) GetBpfLogLevelMap() *ebpf.Map
func (*BpfWorkload) Load ¶
func (w *BpfWorkload) Load() error
func (*BpfWorkload) Start ¶
func (w *BpfWorkload) Start() error
func (*BpfWorkload) Stop ¶
func (w *BpfWorkload) Stop() error
type BpfXdpAuthWorkload ¶
type BpfXdpAuthWorkload struct { Info BpfInfo Link link.Link bpf2go.KmeshXDPAuthObjects }
func (*BpfXdpAuthWorkload) Close ¶
func (xa *BpfXdpAuthWorkload) Close() error
func (*BpfXdpAuthWorkload) LoadXdpAuth ¶
func (xa *BpfXdpAuthWorkload) LoadXdpAuth() error
type SockConnWorkload ¶
type SockConnWorkload struct { Info BpfInfo Link link.Link Info6 BpfInfo Link6 link.Link bpf2go.KmeshCgroupSockWorkloadObjects }
func (*SockConnWorkload) Attach ¶
func (sc *SockConnWorkload) Attach() error
func (*SockConnWorkload) Detach ¶
func (sc *SockConnWorkload) Detach() error
func (*SockConnWorkload) LoadSockConn ¶
func (sc *SockConnWorkload) LoadSockConn() error
Click to show internal directories.
Click to hide internal directories.