Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
ErrInvalidSecretsConfig = errors.New("invalid secrets configuration file")
)
Functions ¶
This section is empty.
Types ¶
type SecretsCommand ¶
type SecretsCommand struct {
}
SecretsCommand is the top level secret manager command
func (*SecretsCommand) GetBaseCommand ¶
func (c *SecretsCommand) GetBaseCommand() string
func (*SecretsCommand) Help ¶
func (c *SecretsCommand) Help() string
Help implements the cli.Command interface
func (*SecretsCommand) Run ¶
func (c *SecretsCommand) Run(args []string) int
Run implements the cli.Command interface
func (*SecretsCommand) Synopsis ¶
func (c *SecretsCommand) Synopsis() string
Synopsis implements the cli.Command interface
type SecretsGenerate ¶
SecretsGenerate is the command to generate a secrets manager configuration
func (*SecretsGenerate) DefineFlags ¶
func (s *SecretsGenerate) DefineFlags()
func (*SecretsGenerate) GetBaseCommand ¶
func (s *SecretsGenerate) GetBaseCommand() string
func (*SecretsGenerate) GetHelperText ¶
func (s *SecretsGenerate) GetHelperText() string
GetHelperText returns a simple description of the command
func (*SecretsGenerate) Help ¶
func (s *SecretsGenerate) Help() string
Help implements the cli.SecretsManagerGenerate interface
func (*SecretsGenerate) Run ¶
func (s *SecretsGenerate) Run(args []string) int
Run implements the cli.SecretsManagerGenerate interface
func (*SecretsGenerate) Synopsis ¶
func (s *SecretsGenerate) Synopsis() string
Synopsis implements the cli.SecretsManagerGenerate interface
type SecretsInit ¶
type SecretsInit struct {
helper.Base
Formatter *helper.FormatterFlag
}
SecretsInit is the command to query the snapshot
func (*SecretsInit) DefineFlags ¶
func (p *SecretsInit) DefineFlags()
func (*SecretsInit) GetBaseCommand ¶
func (p *SecretsInit) GetBaseCommand() string
func (*SecretsInit) GetHelperText ¶
func (p *SecretsInit) GetHelperText() string
GetHelperText returns a simple description of the command
func (*SecretsInit) Help ¶
func (p *SecretsInit) Help() string
Help implements the cli.SecretsInit interface
func (*SecretsInit) Run ¶
func (p *SecretsInit) Run(args []string) int
Run implements the cli.SecretsInit interface
func (*SecretsInit) Synopsis ¶
func (p *SecretsInit) Synopsis() string
Synopsis implements the cli.SecretsInit interface
type SecretsInitResult ¶
type SecretsInitResult struct {
Address types.Address `json:"address"`
NodeID string `json:"node_id"`
}
func (*SecretsInitResult) Output ¶
func (r *SecretsInitResult) Output() string