Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNetworkPolicyStrategy (0.18 sec)

  1. pkg/registry/networking/networkpolicy/strategy_test.go

    	}
    
    	if isIngress {
    		netPol.Spec.Ingress = append(netPol.Spec.Ingress, ingress)
    	}
    
    	if isEgress {
    		netPol.Spec.Egress = append(netPol.Spec.Egress, egress)
    	}
    
    	return netPol
    }
    
    func TestNetworkPolicyStrategy(t *testing.T) {
    
    	// Create a Network Policy containing EndPort defined to compare with the generated by the tests
    	netPol := makeNetworkPolicy(true, true, false)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top