- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIsTrustDomainBeingEnforced (0.21 sec)
-
pilot/pkg/security/trustdomain/bundle_test.go
} for _, c := range cases { got, _ := getTrustDomainFromSpiffeIdentity(c.principal) if got != c.out { t.Errorf("expect %s, but got %s", c.out, got) } } } func TestIsTrustDomainBeingEnforced(t *testing.T) { cases := []struct { principal string want bool }{ {principal: "cluster.local/ns/foo/sa/bar", want: true}, {principal: "*/ns/foo/sa/bar", want: false},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 11 16:19:15 UTC 2021 - 7.4K bytes - Viewed (0)