Documentation ¶
Index ¶
- Variables
- func NewServiceUsersCMD(f *factory.Factory) *cobra.Command
- func NewServiceUsersCreateCMD(f *factory.Factory) *cobra.Command
- func NewServiceUsersDeleteCMD(f *factory.Factory) *cobra.Command
- func NewServiceUsersGetCMD(f *factory.Factory) *cobra.Command
- func NewServiceUsersListCMD(f *factory.Factory) *cobra.Command
- func NewServiceUsersUpdateCMD(f *factory.Factory) *cobra.Command
- type ServiceUserArrayDTO
- type ServiceUserDTO
- type ServiceUsersOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InvalidUUIDError = "argument is not a valid UUID"
)
Functions ¶
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 }
Click to show internal directories.
Click to hide internal directories.