Documentation
¶
Overview ¶
Package role implements the 'opampctl delete role' command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRoleIDRequired is returned when the target role ID is not provided. ErrRoleIDRequired = errors.New("role ID is required") )
Functions ¶
func NewCommand ¶
func NewCommand(options CommandOptions) *cobra.Command
NewCommand creates a new 'opampctl delete role' command.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
*config.GlobalConfig
// contains filtered or unexported fields
}
CommandOptions contains the options for the 'opampctl delete role' command.
Click to show internal directories.
Click to hide internal directories.