command

package
v1.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0, Apache-2.0 Imports: 27 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAccount

func AddAccount(cfg *config.Config) *cli.Command

AddAccount command creates a new account

func Execute

func Execute(cfg *config.Config) error

Execute is the entry point for the ocis-accounts command.

func InspectAccount

func InspectAccount(cfg *config.Config) *cli.Command

InspectAccount command shows detailed information about a specific account.

func ListAccounts

func ListAccounts(cfg *config.Config) *cli.Command

ListAccounts command lists all accounts

func NewLogger

func NewLogger(cfg *config.Config) log.Logger

NewLogger initializes a service-specific logger instance.

func NewSutureService

func NewSutureService(cfg *ociscfg.Config) suture.Service

NewSutureService creates a new accounts.SutureService

func ParseConfig

func ParseConfig(c *cli.Context, cfg *config.Config) error

ParseConfig loads accounts configuration from Viper known paths.

func PrintVersion

func PrintVersion(cfg *config.Config) *cli.Command

PrintVersion prints the service versions of all running instances.

func RebuildIndex

func RebuildIndex(cdf *config.Config) *cli.Command

RebuildIndex rebuilds the entire configured index.

func RemoveAccount

func RemoveAccount(cfg *config.Config) *cli.Command

RemoveAccount command deletes an existing account.

func Server

func Server(cfg *config.Config) *cli.Command

Server is the entry point for the server command.

func UpdateAccount

func UpdateAccount(cfg *config.Config) *cli.Command

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.

func (SutureService) Serve

func (s SutureService) Serve(ctx context.Context) error

Jump to

Keyboard shortcuts

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