Documentation
¶
Index ¶
- type Loader
- func (f *Loader) CallsMapPath(id uint16) string
- func (f *Loader) CompileOrLoad(ctx context.Context, ep endpoint.Endpoint, stats *metrics.SpanStat) error
- func (f *Loader) DetachXDP(ifaceName string, bpffsBase, progName string) error
- func (f *Loader) EndpointHash(cfg endpoint.Config, _ *config.Config) (string, error)
- func (f *Loader) HostDatapathInitialized() <-chan struct{}
- func (f *Loader) Reinitialize(ctx context.Context, lnc *config.Config, tunnelConfig tunnel.Config, ...) error
- func (f *Loader) ReinitializeHostDev(ctx context.Context, mtu int) error
- func (f *Loader) ReloadDatapath(ctx context.Context, ep endpoint.Endpoint, lnc *config.Config, ...) (string, error)
- func (f *Loader) Unload(ep endpoint.Endpoint)
- func (f *Loader) WriteEndpointConfig(w io.Writer, e endpoint.Config) error
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 (*Loader) CompileOrLoad ¶
func (*Loader) EndpointHash ¶
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 (*Loader) ReloadDatapath ¶
Click to show internal directories.
Click to hide internal directories.