Documentation
¶
Index ¶
- func Edit(globalOptions *cli.GlobalOptions, filename string) error
- func Export(exportOptions *cli.ExportOptions) error
- func GenerateKey(globalOptions *cli.GlobalOptions, email, name string) error
- func ReEncrypt(globalOptions *cli.GlobalOptions, filename string) error
- func Reveal(globalOptions *cli.GlobalOptions, filename string) error
- func Status(compareOptions *cli.CompareOptions) (bool, *openshift.Changeset, error)
- func Update(compareOptions *cli.CompareOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Edit ¶
func Edit(globalOptions *cli.GlobalOptions, 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(globalOptions *cli.GlobalOptions, email, name string) error
GenerateKey generates a GPG key using specified email (and optionally name).
func ReEncrypt ¶
func ReEncrypt(globalOptions *cli.GlobalOptions, 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(globalOptions *cli.GlobalOptions, filename string) error
Reveal prints the clear-text of an encrypted file to STDOUT.
func Update ¶
func Update(compareOptions *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.
Click to show internal directories.
Click to hide internal directories.