masquerade

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithIstio

func WithIstio(enabled bool) option

func WithLegacyMigrationPorts

func WithLegacyMigrationPorts() option

WithLegacyMigrationPorts is used for legacy setups where migration ports are in use When set, the configuration should skip forwarding for the reserved migration ports.

func WithNftableAdapter

func WithNftableAdapter(h nftable) option

Types

type MasqPod

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

func New

func New(opts ...option) MasqPod

func (MasqPod) Setup

func (m MasqPod) Setup(bridgeIfaceSpec, podIfaceSpec *nmstate.Interface, vmiIface v1.Interface) error

Jump to

Keyboard shortcuts

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