- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for authzmodes (0.08 sec)
-
pkg/kubeapiserver/authorizer/modes/modes_test.go
limitations under the License. */ package modes import "testing" func TestIsValidAuthorizationMode(t *testing.T) { var tests = []struct { authzMode string expected bool }{ {"", false}, {"rBAC", false}, // not supported {"falsy value", false}, // not supported {"RBAC", true}, // supported {"ABAC", true}, // supported
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 23 13:27:16 UTC 2017 - 1.2K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/modes/modes.go
// IsValidAuthorizationMode returns true if the given authorization mode is a valid one for the apiserver func IsValidAuthorizationMode(authzMode string) bool { return sets.NewString(AuthorizationModeChoices...).Has(authzMode)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 05 01:22:41 UTC 2018 - 1.6K bytes - Viewed (0)