cmdUser

package
v0.0.0-...-9813e4e Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	Name string
}

func (*Add) GetDesc

func (cmd *Add) GetDesc() []string

func (*Add) GetName

func (cmd *Add) GetName() string

func (*Add) PrintUsage

func (cmd *Add) PrintUsage()

func (*Add) Run

func (cmd *Add) Run(client *nc.NexusClient, args []string) int

type Del

type Del struct {
	Name string
}

func (*Del) GetDesc

func (cmd *Del) GetDesc() []string

func (*Del) GetName

func (cmd *Del) GetName() string

func (*Del) PrintUsage

func (cmd *Del) PrintUsage()

func (*Del) Run

func (cmd *Del) Run(client *nc.NexusClient, args []string) int

type List

type List struct {
	Name string
}

func (*List) GetDesc

func (cmd *List) GetDesc() []string

func (*List) GetName

func (cmd *List) GetName() string

func (*List) PrintUsage

func (cmd *List) PrintUsage()

func (*List) Run

func (cmd *List) Run(client *nc.NexusClient, args []string) int

Prints a list of filtered users for a given route. The filter is based on regexes. Remark: the regex matches the user email, first name and last name and is case-insensitive. Regular expression examples:

""    -> matches everything
"."   -> matches everything
"bla" -> matches any user containing "bla"

type ResetPwd

type ResetPwd struct {
	Name string
}

func (*ResetPwd) GetDesc

func (cmd *ResetPwd) GetDesc() []string

func (*ResetPwd) GetName

func (cmd *ResetPwd) GetName() string

func (*ResetPwd) PrintUsage

func (cmd *ResetPwd) PrintUsage()

func (*ResetPwd) Run

func (cmd *ResetPwd) Run(client *nc.NexusClient, args []string) int

type SetCaps

type SetCaps struct {
	Name string
}

func (*SetCaps) GetDesc

func (cmd *SetCaps) GetDesc() []string

func (*SetCaps) GetName

func (cmd *SetCaps) GetName() string

func (*SetCaps) PrintUsage

func (cmd *SetCaps) PrintUsage()

func (*SetCaps) Run

func (cmd *SetCaps) Run(client *nc.NexusClient, args []string) int

type Unlock

type Unlock struct {
	Name string
}

func (*Unlock) GetDesc

func (cmd *Unlock) GetDesc() []string

func (*Unlock) GetName

func (cmd *Unlock) GetName() string

func (*Unlock) PrintUsage

func (cmd *Unlock) PrintUsage()

func (*Unlock) Run

func (cmd *Unlock) Run(client *nc.NexusClient, args []string) int

type UpdatePwd

type UpdatePwd struct {
	Name string
}

func (*UpdatePwd) GetDesc

func (cmd *UpdatePwd) GetDesc() []string

func (*UpdatePwd) GetName

func (cmd *UpdatePwd) GetName() string

func (*UpdatePwd) PrintUsage

func (cmd *UpdatePwd) PrintUsage()

func (*UpdatePwd) Run

func (cmd *UpdatePwd) Run(client *nc.NexusClient, args []string) int

type Whoami

type Whoami struct {
	Name string
}

func (*Whoami) GetDesc

func (cmd *Whoami) GetDesc() []string

func (*Whoami) GetName

func (cmd *Whoami) GetName() string

func (*Whoami) PrintUsage

func (cmd *Whoami) PrintUsage()

func (*Whoami) Run

func (cmd *Whoami) Run(client *nc.NexusClient, args []string) int

Source Files

  • userCreate.go
  • userDel.go
  • userList.go
  • userResetPwd.go
  • userSetCaps.go
  • userUnlock.go
  • userUpdatePwd.go
  • userWhoami.go

Jump to

Keyboard shortcuts

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