Documentation
¶
Index ¶
- type MockTerraformEncryptionMigrationService
- func (m *MockTerraformEncryptionMigrationService) ConvertIniContentToLegacyTerraformContent(passphraseLength int, iniContent *ini.Content, pubKey *rsa.PublicKey, ...) (*terraform.Content, error)
- func (m *MockTerraformEncryptionMigrationService) ConvertIniContentToV1TerraformContent(passphraseLength int, iniContent *ini.Content, pubKey *rsa.PublicKey, ...) (*terraform.Content, error)
- func (m *MockTerraformEncryptionMigrationService) MigrateEncryptedTerraformResourceHcl(hclParser hcl.Parser, hclBytes []byte, privKey *rsa.PrivateKey, ...) (*ast.File, error)
- func (m *MockTerraformEncryptionMigrationService) RotateOrRekeyEncryptedTerraformResourceHcl(hclParser hcl.Parser, hclBytes []byte, privKey *rsa.PrivateKey, ...) (*ast.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTerraformEncryptionMigrationService ¶
func (*MockTerraformEncryptionMigrationService) ConvertIniContentToLegacyTerraformContent ¶
func (m *MockTerraformEncryptionMigrationService) ConvertIniContentToLegacyTerraformContent( passphraseLength int, iniContent *ini.Content, pubKey *rsa.PublicKey, encryptedPassphraseSvc terraform_encryption_migration.EncryptedPassphraseService, encryptedContentSvc terraform_encryption_migration.EncryptedContentService, ) (*terraform.Content, error)
func (*MockTerraformEncryptionMigrationService) ConvertIniContentToV1TerraformContent ¶
func (m *MockTerraformEncryptionMigrationService) ConvertIniContentToV1TerraformContent( passphraseLength int, iniContent *ini.Content, pubKey *rsa.PublicKey, encryptedPassphraseSvc terraform_encryption_migration.EncryptedPassphraseService, encryptedPayloadSvc terraform_encryption_migration.EncryptedPayloadService, ) (*terraform.Content, error)
func (*MockTerraformEncryptionMigrationService) MigrateEncryptedTerraformResourceHcl ¶
func (m *MockTerraformEncryptionMigrationService) MigrateEncryptedTerraformResourceHcl( hclParser hcl.Parser, hclBytes []byte, privKey *rsa.PrivateKey, pubKey *rsa.PublicKey, legacyEncryptedContentSvc terraform_encryption_migration.EncryptedContentService, encryptedPassphraseSvc terraform_encryption_migration.EncryptedPassphraseService, encryptedPayloadSvc terraform_encryption_migration.EncryptedPayloadService, ) (*ast.File, error)
func (*MockTerraformEncryptionMigrationService) RotateOrRekeyEncryptedTerraformResourceHcl ¶
func (m *MockTerraformEncryptionMigrationService) RotateOrRekeyEncryptedTerraformResourceHcl( hclParser hcl.Parser, hclBytes []byte, privKey *rsa.PrivateKey, pubKey *rsa.PublicKey, encryptedPassphraseSvc terraform_encryption_migration.EncryptedPassphraseService, encryptedPayloadSvc terraform_encryption_migration.EncryptedPayloadService, ) (*ast.File, error)
Click to show internal directories.
Click to hide internal directories.