commands

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Edit

func Edit(secretsOptions *cli.SecretsOptions, filename string) error

Edit opens given filen in cleartext in $EDITOR, then encrypts the content on save.

func Export

func Export(exportOptionSets map[string]*cli.ExportOptions) error

Export prints an export of targeted resources to STDOUT.

func GenerateKey

func GenerateKey(secretsOptions *cli.SecretsOptions, email, name string) error

GenerateKey generates a GPG key using specified email (and optionally name).

func ReEncrypt

func ReEncrypt(secretsOptions *cli.SecretsOptions, filename string) error

ReEncrypt decrypts given file(s) and encrypts all params again. This allows to share the secrets with a new keypair.

func Reveal

func Reveal(secretsOptions *cli.SecretsOptions, filename string) error

Reveal prints the clear-text of an encrypted file to STDOUT.

func Status

func Status(compareOptionSets map[string]*cli.CompareOptions) (bool, error)

Status prints the drift between desired and current state to STDOUT.

func Update

func Update(nonInteractive bool, compareOptionSets map[string]*cli.CompareOptions) error

Update prints the drift between desired and current state to STDOUT. If there is any, it asks for confirmation and applies the changeset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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