Documentation
¶
Overview ¶
Package encryption provides encryption and decryption actions for the operation graph.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
op.ProviderBase
}
Provider provides encryption and decryption actions.
+devlore:access=both
func (*Provider) CompensateDecryptSopsFile ¶
CompensateDecryptSopsFile removes the decrypted file created by DecryptSopsFile.
func (*Provider) DecryptSopsFile ¶
func (p *Provider) DecryptSopsFile(source file.Resource, destination file.Resource) (file.Resource, Tombstone, error)
DecryptSopsFile takes a file.Resource, reads it into memory, and decrypts it via SOPS.
Parameters:
- source: file resource identifying the encrypted SOPS file
- destination: file resource identifying where to write the decrypted content
type Tombstone ¶
type Tombstone struct {
op.TombstoneBase
DestinationPath string
}
Tombstone holds encryption-specific compensation state.
Click to show internal directories.
Click to hide internal directories.