ingressgw

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNATFirewall

type DNATFirewall interface {
	AddDNATRule(fwdRule firewall.ForwardRule) (firewall.Rule, error)
	DeleteDNATRule(rule firewall.Rule) error
}

type Manager

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

func NewManager

func NewManager(dnatFirewall DNATFirewall) *Manager

func (*Manager) Close

func (h *Manager) Close() error

func (*Manager) Rules

func (h *Manager) Rules() []firewall.ForwardRule

func (*Manager) Update

func (h *Manager) Update(forwardRules []firewall.ForwardRule) error

type RulePair

type RulePair struct {
	firewall.ForwardRule
	firewall.Rule
}

Jump to

Keyboard shortcuts

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