EncryptedFileLoader is the interface for loading of encrypted files. It provides a way to load encrypted SOPS files into the internal SOPS representation. Because it loads encrypted files, the returned data structure already contains all SOPS metadata.
| 696 | // loads encrypted files, the returned data structure already contains all SOPS |
| 697 | // metadata. |
| 698 | type EncryptedFileLoader interface { |
| 699 | LoadEncryptedFile(in []byte) (Tree, error) |
| 700 | } |
| 701 | |
| 702 | // PlainFileLoader is the interface for loading of plain text files. It provides a |
| 703 | // way to load unencrypted files into SOPS. Because the files it loads are |
no outgoing calls
no test coverage detected