Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFile ¶
DecryptFile decrypts a SOPS-encrypted file at the given path and returns its contents as a byte slice.
func IsEncryptedFile ¶
IsEncryptedFile checks if the file at the given path is a SOPS-encrypted file.
func SetupAgeKeyEnvVar ¶
SetupAgeKeyEnvVar sets the SOPS_AGE_KEY environment variable for testing purposes.
func SopsKeyIsSet ¶
func SopsKeyIsSet() bool
SopsKeyIsSet checks if an env var starting with SOPS_ is set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.