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 PrivateVrfID int64 // contains filtered or unexported fields }
Firewall assembles nftable rules based on k8s entities
func NewDefaultFirewall ¶ added in v0.1.4
NewDefaultFirewall creates a new default nftables firewall.
func NewFirewall ¶
func NewFirewall(nps *firewallv1.ClusterwideNetworkPolicyList, svcs *corev1.ServiceList, spec firewallv1.FirewallSpec, vrfID int64) *Firewall
NewFirewall creates a new nftables firewall object based on k8s entities
Click to show internal directories.
Click to hide internal directories.