- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SplitUsername (0.33 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go
} var invalidUsernameErr = fmt.Errorf("Username must be in the form %s", MakeUsername("namespace", "name")) // SplitUsername returns the namespace and ServiceAccount name embedded in the given username, // or an error if the username is not a valid name produced by MakeUsername func SplitUsername(username string) (string, string, error) { if !strings.HasPrefix(username, ServiceAccountUsernamePrefix) { return "", "", invalidUsernameErr
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 8.1K bytes - Viewed (0)