manager

package
v0.0.0-...-153df4a Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicy

func NewPolicy(filterTable generictables.Table, ipVersion int, apiServerIPV4 string, renderer RuleRenderer) *policy

Types

type IPSet

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

func NewIPSet

func NewIPSet(ipset *ipset.IPSet, ipsetNameConvention *ipset.NameConvention) *IPSet

func (*IPSet) OnUpdate

func (i *IPSet) OnUpdate(msg interface{})

type RuleRenderer

type RuleRenderer interface {
	PoliciesToIptablesChains(policies []*dto.ParsedGNP, ipVersion int, apiServerIPV4 string) []*generictables.Chain
}

Jump to

Keyboard shortcuts

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