cmd

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDecryptCommand

func NewDecryptCommand(
	osExecutor os.OsExecutor,
) *cobra.Command

func NewEncryptCommand

func NewEncryptCommand(
	osExecutor os.OsExecutor,
	rsaSvc external_interfaces.RsaService,
	encryptedPassphraseSvc external_interfaces.EncryptedPassphraseService,
	encryptedPayloadSvc external_interfaces.EncryptedPayloadService,
) *cobra.Command

func NewLegacyCmd

func NewLegacyCmd(
	osExecutor os.OsExecutor,
	rsaSvc *rsa.Service,
	iniSvc *ini.Service,
	encryptedPassphraseSvc external_interfaces.EncryptedPassphraseService,
	encryptedContentSvc external_interfaces.EncryptedContentService,
	hclSvc external_interfaces.HclService,
	terraformSvc external_interfaces.TerraformService,
	terraformEncryptionMigrationSvc external_interfaces.TerraformEncryptionMigrationService,
) *cobra.Command

func NewRekeyCommand

func NewRekeyCommand(
	osExecutor os.OsExecutor,
	rsaSvc *rsa.Service,
	encryptedPassphraseSvc external_interfaces.EncryptedPassphraseService,
	encryptedPayloadSvc external_interfaces.EncryptedPayloadService,
) *cobra.Command

func NewRootCmd

func NewRootCmd(
	osExecutor os.OsExecutor,
	rsaSvc *rsa.Service,
	aesSvc *aes.Service,
	base64Svc *base64.Service,
	hclSvc *hcl.Service,
) *cobra.Command

func NewRotateCommand

func NewRotateCommand(
	osExecutor os.OsExecutor,
	rsaSvc *rsa.Service,
	encryptedPassphraseSvc external_interfaces.EncryptedPassphraseService,
	encryptedPayloadSvc external_interfaces.EncryptedPayloadService,
) *cobra.Command

func NewVersionCmd

func NewVersionCmd(
	osExecutor os.OsExecutor,
) *cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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