secrets

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

type SecretsGenerate struct {
	helper.Base
}

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

Jump to

Keyboard shortcuts

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