Versions in this module Expand all Collapse all v0 v0.1.2 Jul 15, 2026 v0.1.1 Jul 13, 2026 v0.1.0 Jul 13, 2026 Changes in this version + const DefaultSubnet + func CleanStaleBridge(log *slog.Logger) + type Config struct + CNIBinDir string + ControlPorts []int + DataDir string + GatewayPorts []int + Log *slog.Logger + MTU int + Subnet string + type Manager struct + func New(cfg Config) (*Manager, error) + func (m *Manager) Cleanup() + func (m *Manager) GatewayIP() string + func (m *Manager) InstallFirewallRules() error + func (m *Manager) Setup(ctx context.Context, id string, netns string) (*SetupResult, error) + func (m *Manager) Teardown(ctx context.Context, id string, netns string) error + type SetupResult struct + EndpointID string + IP string + NetNS string