Documentation
¶
Index ¶
- Constants
- Variables
- func GetGroups(ctx context.Context, orgID string, client groups_service.ClientService) ([]*models.HashicorpCloudIamGroup, error)
- func PredictGroupResourceNameSuffix(ctx context.Context, orgID string, client groups_service.ClientService) complete.PredictFunc
- func ResourceName(groupName, orgID string) string
Constants ¶
View Source
const ( // GroupNameArgDoc is the documentation for accepting a group name as an // argument. GroupNameArgDoc = `` /* 307-byte string literal not displayed */ )
Variables ¶
View Source
var ( // GroupResourceName is a regex that matches a group resource name GroupResourceName = regexp.MustCompile(`^iam/organization/.+/group/.+$`) )
Functions ¶
func GetGroups ¶
func GetGroups(ctx context.Context, orgID string, client groups_service.ClientService) ([]*models.HashicorpCloudIamGroup, error)
GetGroups retrieves the groups in the organization.
func PredictGroupResourceNameSuffix ¶
func PredictGroupResourceNameSuffix(ctx context.Context, orgID string, client groups_service.ClientService) complete.PredictFunc
PredictGroupResourceNameSuffix is an argument prediction function that predicts a group resource name suffix.
func ResourceName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.