Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseServiceAccount ¶
ParseServiceAccount parses a service account name and identifies whether its a user or group.
For user name system:serviceaccount:a:b, it returns basename "a" and namespace "b". For group name system:serviceaccounts:a, it returns basename "" and namespace "a".
func ParseServiceAccountGroup ¶
ParseServiceAccountGroup parses a service account group name.
For system:serviceaccounts, it returns namespace "". For system:serviceaccounts:a, it returns namespace "a".
func ParseServiceAccountUser ¶
ParseServiceAccountUser parses a service account user name.
For system:serviceaccount:a:b, it returns namespace "a" and basename "b".
Types ¶
type BindingSelector ¶
func NewBindingSelector ¶
func NewBindingSelector(s string) (*BindingSelector, error)
Directories
¶
Path | Synopsis |
---|---|
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.