- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestValidateControlPlaneAuthPolicy (0.33 sec)
-
pkg/config/validation/agent/validation_test.go
for port, valid := range ports { if got := ValidatePort(port); (got == nil) != valid { t.Errorf("Failed: got valid=%t but wanted valid=%t: %v for %d", got == nil, valid, got, port) } } } func TestValidateControlPlaneAuthPolicy(t *testing.T) { cases := []struct { name string policy meshconfig.AuthenticationPolicy isValid bool }{ { name: "invalid policy", policy: -1, isValid: false,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 39.1K bytes - Viewed (0)