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

Interface Store

sops.go:735–743  ·  view source on GitHub ↗

Store is used to interact with files, both encrypted and unencrypted.

Source from the content-addressed store, hash-verified

733
734// Store is used to interact with files, both encrypted and unencrypted.
735type Store interface {
736 EncryptedFileLoader
737 PlainFileLoader
738 EncryptedFileEmitter
739 PlainFileEmitter
740 ValueEmitter
741 CheckEncrypted
742 Name() string
743}
744
745// SingleValueStore is the interface for determining whether a store uses only
746// one single key and no comments. This is basically identifying the binary store.

Callers 89

TestGnuPGHome_ValidateFunction · 0.65
treeItemFromSectionMethod · 0.65
editTreeFunction · 0.65
getEncryptConfigFunction · 0.65
ExecWithFileFunction · 0.65
LoadEncryptedFileMethod · 0.95
EmitEncryptedFileMethod · 0.95
EmitExampleMethod · 0.95
iniFromTreeBranchesMethod · 0.95
encodeValueMethod · 0.95
treeItemFromSectionMethod · 0.95
EmitPlainFileMethod · 0.95

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