nat

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestinationPortNat

type DestinationPortNat struct {
	Table   *nftables.Table
	PortNat *nspAPI.Conduit_PortNat
	Vips    []*nspAPI.Vip
	// contains filtered or unexported fields
}

func NewDestinationPortNat

func NewDestinationPortNat(table *nftables.Table, portNat *nspAPI.Conduit_PortNat) (*DestinationPortNat, error)

func (*DestinationPortNat) Delete

func (dpn *DestinationPortNat) Delete() error

func (*DestinationPortNat) GetName

func (dpn *DestinationPortNat) GetName() string

func (*DestinationPortNat) SetVips

func (dpn *DestinationPortNat) SetVips(vips []*nspAPI.Vip) error

type NatHandler

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

func NewNatHandler

func NewNatHandler() (*NatHandler, error)

func (*NatHandler) SetNats

func (nh *NatHandler) SetNats(portNats []*nspAPI.Conduit_PortNat) error

Jump to

Keyboard shortcuts

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