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 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.