Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidRuleRef = errors.New("invalid rule reference")
ErrInvalidRuleRef is returned by parseRuleRef when the textual reference does not match one of the supported "CAR/<name>" or "AR/<ns>/<name>" forms.
Functions ¶
func NewCommand ¶
func NewGetGroupCommand ¶
NewGetGroupCommand returns the cobra command behind "d8 iam get group <name>".
func NewGetRuleCommand ¶
NewGetRuleCommand returns the cobra command behind "d8 iam get rule REF". Exported so package listget can register it as a child of the top-level "get" command.
func NewGetUserCommand ¶
NewGetUserCommand returns the cobra command behind "d8 iam get user <name>". Output combines the user's identity, group memberships (direct + transitive), direct/inherited grants, the effective summary, and any warnings (group cycles, manual rules, orphaned subjects).
func NewListGroupsCommand ¶
NewListGroupsCommand returns the cobra command behind "d8 iam list groups".
func NewListRulesCommand ¶
NewListRulesCommand returns the cobra command behind "d8 iam list rules". Exported so package listget can register it as a child of the top-level "list" command.
func NewListUsersCommand ¶
NewListUsersCommand returns the cobra command behind "d8 iam list users". Exported so package listget can register it under "d8 iam list".
Types ¶
This section is empty.