nftables

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Firewall

type Firewall struct {
	Ingress      []string
	Egress       []string
	RateLimits   []firewallv1.RateLimit
	Ipv4RuleFile string
	DryRun       bool

	InternalPrefixes string
	// contains filtered or unexported fields
}

Firewall assembles nftable rules based on k8s entities

func NewFirewall

NewFirewall creates a new nftables firewall object based on k8s entities

func (*Firewall) Reconcile

func (f *Firewall) Reconcile() error

Reconcile drives the nftables firewall against the desired state by comparison with the current rule file.

Directories

Path Synopsis
Package statik provides vfs access to static content content here is generated with the statik command from the make process.
Package statik provides vfs access to static content content here is generated with the statik command from the make process.

Jump to

Keyboard shortcuts

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