Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "user ROLE", Aliases: []string{"role"}, Short: "Revoke role from users", Long: "Revoke role from cluster user", Example: ` # Revoke cluster-admin role from a user rosa revoke user cluster-admins --user=myusername --cluster=mycluster # Revoke dedicated-admin role from a user rosa revoke user dedicated-admins --user=myusername --cluster=mycluster`, Run: run, Args: func(_ *cobra.Command, argv []string) error { if len(argv) != 1 { return fmt.Errorf( "Expected exactly one command line argument containing the name " + "of the group or role to revoke from the user.", ) } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.