MCPcopy Create free account
hub / github.com/clouditor/clouditor / Get

Method Get

persistence/persistence.go:56–56  ·  view source on GitHub ↗

Get gets the record which meet the given conditions

(r any, conds ...any)

Source from the content-addressed store, hash-verified

54
55 // Get gets the record which meet the given conditions
56 Get(r any, conds ...any) error
57
58 // List lists all records in database which meet the (optionally) given conditions with a certain limit after an
59 // offset. If no limit is desired, the value -1 can be specified. Optionally set orderBy (column) and asc (true =

Callers 15

TestNewStorageFunction · 0.95
TestStorageOptionsFunction · 0.95
clientAuthenticityFunction · 0.65
documentChecksumMethod · 0.65
documentPGPSignatureMethod · 0.65
handleAdvisoryMethod · 0.65
fetchKeyMethod · 0.65
nsgFirewallEnabledMethod · 0.65
discoverBackupVaultsMethod · 0.65
keyURLMethod · 0.65

Implementers 2

StorageWithErrorinternal/testutil/storage.go
storagepersistence/gorm/gorm.go

Calls

no outgoing calls

Tested by 14

TestNewStorageFunction · 0.76
TestStorageOptionsFunction · 0.76
TestService_RemoveMetricFunction · 0.52
TestService_loadCatalogsFunction · 0.52
TestLoginFunction · 0.52
Test_storage_GetFunction · 0.52
Test_storage_SaveFunction · 0.52
Test_storage_UpdateFunction · 0.52