commands

package
v0.0.0-...-c2300e3 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package commands contains the functionality for the set of commands currently supported by the CLI tooling.

Index

Constants

This section is empty.

Variables

View Source
var ErrHelp = errors.New("provided help")

ErrHelp provides context that help was given.

Functions

func GenKey

func GenKey() error

GenKey creates an x509 private/public key for auth tokens.

func Migrate

func Migrate(cfg db.Config) error

Migrate creates the schema in the database.

func Seed

func Seed(cfg db.Config) error

Seed loads test data into the database.

func Vault

func Vault(vaultConfig vault.Config, keysFolder string) error

Vault loads the current private key into the vault system.

func VaultInit

func VaultInit(vaultConfig vault.Config) error

VaultInit sets up a newly provisioned vault instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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