Documentation ¶
Index ¶
- func AddAccount(cfg *config.Config) *cli.Command
- func Execute(cfg *config.Config) error
- func InspectAccount(cfg *config.Config) *cli.Command
- func ListAccounts(cfg *config.Config) *cli.Command
- func NewLogger(cfg *config.Config) log.Logger
- func NewSutureService(cfg *ociscfg.Config) suture.Service
- func ParseConfig(c *cli.Context, cfg *config.Config) error
- func PrintVersion(cfg *config.Config) *cli.Command
- func RebuildIndex(cdf *config.Config) *cli.Command
- func RemoveAccount(cfg *config.Config) *cli.Command
- func Server(cfg *config.Config) *cli.Command
- func UpdateAccount(cfg *config.Config) *cli.Command
- type SutureService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAccount ¶
AddAccount command creates a new account
func InspectAccount ¶
InspectAccount command shows detailed information about a specific account.
func ListAccounts ¶
ListAccounts command lists all accounts
func NewSutureService ¶
NewSutureService creates a new accounts.SutureService
func ParseConfig ¶
ParseConfig loads accounts configuration from Viper known paths.
func PrintVersion ¶
PrintVersion prints the service versions of all running instances.
func RebuildIndex ¶
RebuildIndex rebuilds the entire configured index.
func RemoveAccount ¶
RemoveAccount command deletes an existing account.
func UpdateAccount ¶
UpdateAccount command for modifying accounts including password policies
Types ¶
type SutureService ¶
type SutureService struct {
// contains filtered or unexported fields
}
SutureService allows for the accounts command to be embedded and supervised by a suture supervisor tree.
Click to show internal directories.
Click to hide internal directories.