docker

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func GetConfig

func GetConfig(ctx context.Context, params Params) (*Config, error)

func (*Config) Activate

func (c *Config) Activate(ctx context.Context) error

func (*Config) ExtraRules

func (cfg *Config) ExtraRules() rules.RuleSet

func (*Config) FlatNetworks

func (cfg *Config) FlatNetworks() []fw.StaticRoute

func (*Config) LAN

func (cfg *Config) LAN() fw.Link
func (cfg *Config) Uplink() fw.Link

type Params

type Params struct {
	LANNetwork      string
	FlatNetworks    []string
	UplinkNetwork   string
	UplinkInterface string
}

Jump to

Keyboard shortcuts

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