fake

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct{}

Loader is an interface to abstract out loading of datapath programs.

func (*Loader) CallsMapPath

func (f *Loader) CallsMapPath(id uint16) string

func (*Loader) CompileOrLoad

func (f *Loader) CompileOrLoad(ctx context.Context, ep endpoint.Endpoint, stats *metrics.SpanStat) error

func (*Loader) DetachXDP

func (f *Loader) DetachXDP(ifaceName string, bpffsBase, progName string) error

func (*Loader) EndpointHash

func (f *Loader) EndpointHash(cfg endpoint.Config, _ *config.Config) (string, error)

func (*Loader) HostDatapathInitialized

func (f *Loader) HostDatapathInitialized() <-chan struct{}

func (*Loader) Reinitialize

func (f *Loader) Reinitialize(ctx context.Context, lnc *config.Config, tunnelConfig tunnel.Config, iptMgr iptables.Manager, p proxy.Proxy, bigtcp bigtcp.Config) error

Reinitialize does nothing.

func (*Loader) ReinitializeHostDev

func (f *Loader) ReinitializeHostDev(ctx context.Context, mtu int) error

func (*Loader) ReloadDatapath

func (f *Loader) ReloadDatapath(ctx context.Context, ep endpoint.Endpoint, lnc *config.Config, stats *metrics.SpanStat) (string, error)

func (*Loader) Unload

func (f *Loader) Unload(ep endpoint.Endpoint)

func (*Loader) WriteEndpointConfig

func (f *Loader) WriteEndpointConfig(w io.Writer, e endpoint.Config) error

Jump to

Keyboard shortcuts

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