func makeNetworkPolicy(isIngress, isEgress, hasEndPort bool) *networking.NetworkPolicy { … } func TestNetworkPolicyStrategy(t *testing.T) { … }
func makeNetworkPolicy(isIngress, isEgress, hasEndPort bool) *networking.NetworkPolicy { … } func TestNetworkPolicyStrategy(t *testing.T) { … }