Documentation ¶
Index ¶
- func AllowedDomains(ID, commonNameFormat string, altNames []string) string
- func ListRolesPath(ID string) string
- func ReadRolePath(ID string, organizations []string) string
- func RoleName(ID string, organizations []string) string
- func ToAltNames(a string) []string
- func ToOrganizations(o string) []string
- func WriteRolePath(ID string, organizations []string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedDomains ¶
AllowedDomains computes a comma separated list of alternative names where the first item is the common name. This has to be considered in ToAltNames when reverse computing the list of allowed domains.
func ListRolesPath ¶
func ReadRolePath ¶
func ToAltNames ¶
ToAltNames takes a string as provided by AllowedDomains and returns the list of alternative names as taken by AllowedDomains. Note this implies dropping the first item of the parsed list.
func ToOrganizations ¶
func WriteRolePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.