Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DidEventOccur ¶
Types ¶
type TestEvent ¶
type TestEvent struct { InterfaceName string SourceAddress string DestinationAddress string Action ingressnodefwiov1alpha1.IngressNodeFirewallActionType Protocol ingressnodefwiov1alpha1.IngressNodeFirewallRuleProtocolType // transport protocols only DestinationPort string // ICMP protocols IcmpType int IcmpCode int }
func GetICMPTestEvent ¶
func GetICMPTestEvent(protocol ingressnodefwiov1alpha1.IngressNodeFirewallRuleProtocolType, inf, sourcePodIP, destinationPodIP string, icmpCode, icmpType int) TestEvent
func GetTransportTestEvent ¶
func GetTransportTestEvent(protocol ingressnodefwiov1alpha1.IngressNodeFirewallRuleProtocolType, inf, sourcePodIP, destinationPodIP, destinationPort string) TestEvent
Click to show internal directories.
Click to hide internal directories.