Documentation ¶
Overview ¶
Package role is the root command for the role subcommands
Index ¶
- Variables
- func DenyCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func GrantCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func GrantListCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func ListCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func UpdateCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
Constants ¶
This section is empty.
Variables ¶
View Source
var RoleCmd = &cobra.Command{ Use: "role", Short: "Manage roles within a minder control plane", Long: `The minder role commands manage permissions within a minder control plane.`, RunE: func(cmd *cobra.Command, _ []string) error { return cmd.Usage() }, }
RoleCmd is the root command for the project subcommands
Functions ¶
func DenyCommand ¶
DenyCommand is the command for removing a role assignment from a project
func GrantCommand ¶
GrantCommand is the command for granting roles
func GrantListCommand ¶
func GrantListCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
GrantListCommand is the command for listing grants
func ListCommand ¶
ListCommand is the command for listing roles
func UpdateCommand ¶
func UpdateCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
UpdateCommand is the command for granting roles
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.