definitions

package
v0.63.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerUserChain = "DOCKER-USER"
	ForwardChain    = "FORWARD"
	FilterTable     = "filter"
	AcceptAction    = "ACCEPT"
	InDirection     = "in"
	OutDirection    = "out"

	ContainerlabComment = "set by containerlab"

	IPTablesCommentMaxSize = 256
)

Variables

View Source
var ErrNotAvailable = errors.New("not available")

Functions

This section is empty.

Types

type ClabFirewall

type ClabFirewall interface {
	DeleteForwardingRules(rule FirewallRule) error
	InstallForwardingRules(rule FirewallRule) error
	Name() string
}

ClabFirewall is the interface that all firewall clients must implement.

type FirewallRule added in v0.62.1

type FirewallRule struct {
	Chain     string
	Table     string
	Interface string
	Direction string
	Action    string
	Comment   string
}

Jump to

Keyboard shortcuts

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