encryption

package
v0.1.0-dev.20260304215844 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 6 Imported by: 0

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{}

Provider provides encryption and decryption actions.

+devlore:access=both

func (*Provider) CompensateDecryptSopsFile

func (p *Provider) CompensateDecryptSopsFile(undo map[string]any) error

func (*Provider) DecryptSopsFile

func (p *Provider) DecryptSopsFile(sourceFile file.Resource, destinationFilename string) (result file.Resource, undo map[string]any, err error)

DecryptSopsFile takes a file.Resource, reads it into memory, and decrypts it via SOPS.

Parameters:

sourceFile: The file.Resource to decrypt.
destinationFilename: The filename to write the decrypted content to.

Returns:

  • result: a file.Resource containing the decrypted content.
  • undo: a map of compensation receipts.
  • err: an error, if any.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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