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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
}

func NewManager

func NewManager() *Manager

NewManager returns a new fake IptablesManager

func (*Manager) AddNoTrackHostPorts

func (m *Manager) AddNoTrackHostPorts(namespace, name string, ports []string)

func (*Manager) GetProxyPorts

func (m *Manager) GetProxyPorts() map[string]uint16

func (*Manager) InstallNoTrackRules

func (m *Manager) InstallNoTrackRules(ip netip.Addr, port uint16)

func (*Manager) InstallProxyRules

func (f *Manager) InstallProxyRules(uint16, string)

func (*Manager) RemoveNoTrackHostPorts

func (m *Manager) RemoveNoTrackHostPorts(namespace, name string)

func (*Manager) RemoveNoTrackRules

func (m *Manager) RemoveNoTrackRules(ip netip.Addr, port uint16)

func (*Manager) SupportsOriginalSourceAddr

func (f *Manager) SupportsOriginalSourceAddr() bool

Jump to

Keyboard shortcuts

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