Documentation ¶
Index ¶
- func Apply(nonInteractive bool, compareOptions *cli.CompareOptions, ...) (bool, error)
- func Diff(compareOptions *cli.CompareOptions) (bool, error)
- func Edit(secretsOptions *cli.SecretsOptions, filename string) error
- func Export(exportOptions *cli.ExportOptions) error
- func GenerateKey(secretsOptions *cli.SecretsOptions, email, name string) error
- func ReEncrypt(secretsOptions *cli.SecretsOptions, filename string) error
- func Reveal(secretsOptions *cli.SecretsOptions, filename string) error
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, ocClient cli.ClientApplier, stdin io.Reader) (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).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.