backend

package
v0.0.0-...-e806ef4 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRuleAnnotation

func ParseRuleAnnotation(input string) map[string]string

Types

type FirewallBackend

type FirewallBackend interface {
	GetRules() ([]Rule, error)
	GetName() string
}

type Rule

type Rule struct {
	Tags        map[string]string
	Chain       string
	Table       string
	PacketCount uint64
	ByteCount   uint64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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