22 test cases covering: - Get/GetAll: retrieval of container/service metadata - GetHostMetadata/GetAllHostMetadata: retrieval of host metadata - Set: add/update metadata with persistence - SetHostMetadata: add/update/delete host metadata - Delete: remove container metadata - ReplaceAll: bulk replace with nil entry handling - Load: versioned format, legacy format, nonexistent file, invalid JSON - Save: directory creation, atomic write - Round-trip: full persistence cycle verification - Concurrent access safety First test file for docker_metadata.go. |
||
|---|---|---|
| .. | ||
| api_tokens.go | ||
| api_tokens_test.go | ||
| client_helpers.go | ||
| client_helpers_test.go | ||
| config.go | ||
| config_utils_test.go | ||
| detect_root.go | ||
| docker_metadata.go | ||
| docker_metadata_test.go | ||
| export.go | ||
| export_test.go | ||
| guest_metadata.go | ||
| import_transaction.go | ||
| oidc.go | ||
| oidc_test.go | ||
| persistence.go | ||
| persistence_fail_test.go | ||
| persistence_test.go | ||
| watcher.go | ||