Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGroupByName ¶
func FindGroupByName(ctx util.CmdContext, organization, project, groupName, descriptorFilter string) (*graph.GraphGroup, error)
FindGroupByName locates a single Azure DevOps security group by its display name and optional descriptor. When descriptorFilter is empty, exactly one group must match the provided name within the optional scope descriptor.
Types ¶
type Target ¶
Target encapsulates the parsed components of a security group target argument.
func ParseTarget ¶
ParseTarget validates and parses a target argument of form ORGANIZATION/GROUP or ORGANIZATION/PROJECT/GROUP.
func ParseTargetWithDefault ¶
func ParseTargetWithDefault(ctx util.CmdContext, target string) (*Target, error)
ParseTargetWithDefault resolves a target argument that allows an implicit organization by falling back to the configured default. The accepted formats are:
- "GROUP" (defaults organization, no project)
- "ORGANIZATION/GROUP"
- "ORGANIZATION/PROJECT/GROUP"
Click to show internal directories.
Click to hide internal directories.