MCPcopy
hub / github.com/getsops/sops / EncryptedFileLoader

Interface EncryptedFileLoader

sops.go:698–700  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

696// loads encrypted files, the returned data structure already contains all SOPS
697// metadata.
698type 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

Callers 6

LoadEncryptedFileMethod · 0.65
runEditorUntilOkFunction · 0.65
LoadEncryptedFileExFunction · 0.65
DataWithFormatFunction · 0.65

Implementers 5

Storestores/dotenv/store.go
Storestores/ini/store.go
Storestores/yaml/store.go
Storestores/json/store.go
BinaryStorestores/json/store.go

Calls

no outgoing calls

Tested by

no test coverage detected