user

package
v0.0.0-...-1cdf294 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddCommand

func NewAddCommand() *cobra.Command

func NewRenameCommand

func NewRenameCommand() *cobra.Command

func NewResetPasswordCommand

func NewResetPasswordCommand() *cobra.Command

func NewUserCommand

func NewUserCommand() *cobra.Command

func RunAddUser

func RunAddUser(options AddUserOptions) error

func RunRename

func RunRename(options RenameOptions) error

func RunResetPassword

func RunResetPassword(options ResetPasswordOptions) error

Types

type AddUserOptions

type AddUserOptions struct {
	Name          string
	Password      string
	PasswordStdin bool
	Initialized   bool
}

type RenameOptions

type RenameOptions struct {
	Name    string
	NewName string
}

type ResetPasswordOptions

type ResetPasswordOptions struct {
	Name          string
	Password      string
	PasswordStdin bool
}

Jump to

Keyboard shortcuts

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