MCPcopy Create free account
hub / github.com/containers/common / Store

Method Store

pkg/secrets/secrets.go:91–91  ·  view source on GitHub ↗

Store stores the secret's data bytes

(id string, data []byte)

Source from the content-addressed store, hash-verified

89 Lookup(id string) ([]byte, error)
90 // Store stores the secret's data bytes
91 Store(id string, data []byte) error
92 // Delete deletes a secret's data from the driver
93 Delete(id string) error
94}

Callers 15

StoreMethod · 0.65
TestAddSecretNameFunction · 0.65
TestAddMultipleSecretsFunction · 0.65
TestAddSecretDupNameFunction · 0.65
TestAddSecretPrefixFunction · 0.65
TestRemoveSecretFunction · 0.65
TestLookupAllSecretsFunction · 0.65
TestInspectSecretIdFunction · 0.65
TestSecretListFunction · 0.65
TestStoreDupIDFunction · 0.65

Implementers 6

SecretsManagerpkg/secrets/secrets.go
Driverpkg/secrets/filedriver/filedriver.go
Driverpkg/secrets/passdriver/passdriver.go
Driverpkg/secrets/shelldriver/shelldriver.go
ConfigMapManagerpkg/configmaps/configmaps.go
Driverpkg/configmaps/filedriver/filedriver.g

Calls

no outgoing calls

Tested by 15

TestAddSecretNameFunction · 0.52
TestAddMultipleSecretsFunction · 0.52
TestAddSecretDupNameFunction · 0.52
TestAddSecretPrefixFunction · 0.52
TestRemoveSecretFunction · 0.52
TestLookupAllSecretsFunction · 0.52
TestInspectSecretIdFunction · 0.52
TestSecretListFunction · 0.52
TestStoreDupIDFunction · 0.52
TestDeleteSecretDataFunction · 0.52