fabric

package
v0.11.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 2 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 (
	// FlagNameEnableARP is the flag to enable ARP.
	FlagNameEnableARP FlagName = "enable-arp"
)

func (FlagName) String

func (fn FlagName) String() string

type Options

type Options struct {
	GwOptions *gateway.Options
	EnableARP bool
}

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