client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package client provides the client specific functions.

This package is responsible for handling the client side of the BPF implementation. It attaches the client eBPF programs to the interfaces on the host. It also creates the client side maps.

This package is also responsible to start the gRPC client and connect to the controller. It manages the different goroutines and channels.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(mainErrCh chan error, interfaceName string) (*Client, error)

func (*Client) Start

func (c *Client) Start()

func (*Client) Stop

func (c *Client) Stop()

type ControllerClient

type ControllerClient struct {
	// contains filtered or unexported fields
}

func NewControllerClient

func NewControllerClient(mainErrCh chan error, clientMap *maps.ClientMap) *ControllerClient

func (*ControllerClient) Start

func (cc *ControllerClient) Start()

type EbpfClient

type EbpfClient struct {
	// contains filtered or unexported fields
}

func NewEbpfClient

func NewEbpfClient(interfaceName string, mainErrCh chan error) (*EbpfClient, *maps.ClientMap, error)

func (*EbpfClient) Start

func (ec *EbpfClient) Start()

func (*EbpfClient) Stop

func (ec *EbpfClient) Stop()

Jump to

Keyboard shortcuts

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