builder

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildIPTables added in v0.1.1

func BuildIPTables(cfg config.Config, ipv6 bool) (string, error)

func RestoreIPTables added in v0.1.3

func RestoreIPTables(cfg config.Config) (string, error)

RestoreIPTables TODO (bartsmykla): add validation if ip{,6}tables are available

Types

type IPTables

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

func (*IPTables) Build

func (t *IPTables) Build(verbose bool) string

Jump to

Keyboard shortcuts

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