Help us shape the future of Go! Take the 2026 Go Developer Survey

role

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package role is the root command for the role subcommands

Index

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

func DenyCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error

DenyCommand is the command for removing a role assignment from a project

func GrantCommand

func GrantCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error

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

func ListCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error

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.

Jump to

Keyboard shortcuts

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