Documentation ¶
Index ¶
- Constants
- func CloudName(region models.Region) string
- func CloudType(region models.Region) string
- func EscapeUrlParm(urlParm string) string
- func FindRoleByName(supported []models.PolicyRole, name string) (models.PolicyRole, error)
- func FindRoleByNameV2(supported []iampapv2.Role, name string) (iampapv2.Role, error)
- func GenerateBoundToCRN(region models.Region, accountID string) crn.CRN
- func GenerateSpaceCRN(region models.Region, orgID string, spaceID string) crn.CRN
- func GetLocationFromTargetCRN(crnResource string) string
- func GetRolesFromRoleNames(roleNames []string, roles []models.PolicyRole) ([]models.PolicyRole, error)
- func GetRolesFromRoleNamesV2(roleNames []string, roles []iampapv2.Role) ([]iampapv2.Role, error)
Constants ¶
View Source
const ErrCodeRRoleDoesnotExist = "RoleDoesnotExist"
Variables ¶
This section is empty.
Functions ¶
func EscapeUrlParm ¶
func FindRoleByName ¶
func FindRoleByName(supported []models.PolicyRole, name string) (models.PolicyRole, error)
func FindRoleByNameV2 ¶
func GenerateSpaceCRN ¶
func GetRolesFromRoleNames ¶
func GetRolesFromRoleNames(roleNames []string, roles []models.PolicyRole) ([]models.PolicyRole, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.