// Creates a new line for the result table for a rule that only have ports
Creates a new line for the result table for a rule that only have ports
// Creates a new line for the result table for a rule that only have ports
func createTableLineForPortBlock(policy netv1.NetworkPolicy, ports []netv1.NetworkPolicyPort,
	policyType string) TableLine {
	line := createTableLine(policy, ports, policyType)
	line.policyNamespace = Wildcard
	line.policyPods = Wildcard
	line.policyIpBlock = Wildcard
	return line
}
func createTableLineForPortBlock ( policy netv1 . NetworkPolicy , ports [ ] netv1 . NetworkPolicyPort , policyType string ) TableLine { line := createTableLine ( policy , ports , policyType ) line . policyNamespace = Wildcard line . policyPods = Wildcard line . policyIpBlock = Wildcard return line }
Creates a new line for the result table for a rule that only have ports
Creates a new line for the result table for a rule that only have ports