serviceusers

package
v0.0.0-...-f23cdb6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidUUIDError = "argument is not a valid UUID"
)

Functions

func NewServiceUsersCMD

func NewServiceUsersCMD(f *factory.Factory) *cobra.Command

func NewServiceUsersCreateCMD

func NewServiceUsersCreateCMD(f *factory.Factory) *cobra.Command

func NewServiceUsersDeleteCMD

func NewServiceUsersDeleteCMD(f *factory.Factory) *cobra.Command

func NewServiceUsersGetCMD

func NewServiceUsersGetCMD(f *factory.Factory) *cobra.Command

func NewServiceUsersListCMD

func NewServiceUsersListCMD(f *factory.Factory) *cobra.Command

func NewServiceUsersUpdateCMD

func NewServiceUsersUpdateCMD(f *factory.Factory) *cobra.Command

Types

type ServiceUserArrayDTO

type ServiceUserArrayDTO []ServiceUserDTO

type ServiceUserDTO

type ServiceUserDTO struct {
	Name     string            `json:"name,omitempty"`
	Password string            `json:"password,omitempty"`
	Disabled bool              `json:"disabled,omitempty"`
	Notes    string            `json:"notes,omitempty"`
	Tags     []string          `json:"tags,omitempty"`
	Labels   map[string]string `json:"labels,omitempty"`
}

ServiceUserDTO represents a service users options which are modifiable by the user

type ServiceUsersOptions

type ServiceUsersOptions struct {
	Config *configuration.Config
	API    func(c *configuration.Config) (*serviceusers.ServiceUsersAPI, error)
	In     io.ReadCloser
	Out    io.Writer
	JSON   bool
}

Jump to

Keyboard shortcuts

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