commands

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.12.0

func Apply(nonInteractive bool, compareOptions *cli.CompareOptions) (bool, error)

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

func Diff added in v0.12.0

func Diff(compareOptions *cli.CompareOptions) (bool, error)

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

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(exportOptions *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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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