access

package
v0.29.32 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 NewCommand() *cobra.Command

func NewGetGroupCommand

func NewGetGroupCommand() *cobra.Command

NewGetGroupCommand returns the cobra command behind "d8 iam get group <name>".

func NewGetRuleCommand

func NewGetRuleCommand() *cobra.Command

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

func NewGetUserCommand() *cobra.Command

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

func NewListGroupsCommand() *cobra.Command

NewListGroupsCommand returns the cobra command behind "d8 iam list groups".

func NewListRulesCommand

func NewListRulesCommand() *cobra.Command

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

func NewListUsersCommand() *cobra.Command

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.

Jump to

Keyboard shortcuts

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