fabric

package
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fabric implements the connection between gateways and the internal network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFlags

func InitFlags(flagset *pflag.FlagSet, opts *Options)

InitFlags initializes the flags for the gateway.

Types

type FlagName

type FlagName string

FlagName is the type for the name of the flags.

const (
	// FlagNameDisableARP is the flag to enable ARP.
	FlagNameDisableARP FlagName = "disable-arp"
	// FlagNameGenevePort is the flag to set the Geneve port.
	FlagNameGenevePort FlagName = "geneve-port"
)

func (FlagName) String

func (fn FlagName) String() string

type Options

type Options struct {
	GwOptions  *gateway.Options
	DisableARP bool
	GenevePort uint16
}

Options contains the options for the wireguard interface.

func NewOptions

func NewOptions(options *gateway.Options) *Options

NewOptions returns a new Options struct.

Directories

Path Synopsis
Package geneve provides a fabric gateway implementation for the Geneve protocol.
Package geneve provides a fabric gateway implementation for the Geneve protocol.

Jump to

Keyboard shortcuts

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