helper

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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

func ResourceName(groupName, orgID string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL