Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address interface { GetMatchValue() string GetMatchKey(addrType AddressType) int GetValue() interface{} }
type AddressCategory ¶
type AddressCategory uint8
const ( IPAddr AddressCategory = iota IPNetAddr OFPortAddr )
type GatewayConfig ¶ added in v0.1.1
type GatewayConfig struct { IP net.IP MAC net.HardwareAddr Name string }
type NodeConfig ¶ added in v0.1.1
type NodeConfig struct { Bridge string Name string PodCIDR *net.IPNet *GatewayConfig }
type PolicyRule ¶
type PolicyRule struct { ID uint32 Direction v1.PolicyType From []Address ExceptFrom []Address To []Address ExceptTo []Address Service []*v1.NetworkPolicyPort }
PolicyRule groups configurations to set up conjunctive match for egress/ingress policy rules.
Click to show internal directories.
Click to hide internal directories.