Documentation
¶
Overview ¶
Package user provides the create user command for opampctl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUsernameRequired = errors.New("--username is required (or use --file)")
ErrUsernameRequired is returned when neither --username nor --file is given.
Functions ¶
func NewCommand ¶
func NewCommand(options CommandOptions) *cobra.Command
NewCommand creates a new create user command.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
*config.GlobalConfig
// contains filtered or unexported fields
}
CommandOptions contains the options for the create user command.
Click to show internal directories.
Click to hide internal directories.