Documentation ¶
Index ¶
- Constants
- func AddKeyCommand() *cobra.Command
- func Commands(defaultNodeHome string) *cobra.Command
- func NewLegacyKeyBaseFromDir(rootDir string, opts ...cryptokeyring.KeybaseOption) (cryptokeyring.LegacyKeybase, error)
- func RunAddCmd(ctx client.Context, cmd *cobra.Command, args []string, inBuf *bufio.Reader) error
Constants ¶
View Source
const ( OutputFormatText = "text" OutputFormatJSON = "json" )
available output formats.
Variables ¶
This section is empty.
Functions ¶
func AddKeyCommand ¶
AddKeyCommand defines a keys command to add a generated or recovered private key to keybase.
func Commands ¶
Commands registers a sub-tree of commands to interact with local private key storage.
func NewLegacyKeyBaseFromDir ¶
func NewLegacyKeyBaseFromDir(rootDir string, opts ...cryptokeyring.KeybaseOption) (cryptokeyring.LegacyKeybase, error)
NewLegacyKeyBaseFromDir initializes a legacy keybase at the rootDir directory. Keybase options can be applied when generating this new Keybase.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.