Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devnullvoid/pvetui
/ Close
Method
Close
internal/cache/cache.go:32–32 ·
view source on GitHub ↗
Close closes the cache and releases any resources
()
Source
from the content-addressed store, hash-verified
30
31
// Close closes the cache and releases any resources
32
Close() error
33
}
34
35
// CacheItem represents an item in the cache with TTL.
Callers
15
executeRequest
Method · 0.65
authenticate
Method · 0.65
TestAuthManager_GetValidToken_WithExpiredToken
Function · 0.65
TestAuthManager_authenticate_Success
Function · 0.65
TestAuthManager_authenticate_HTTPError
Function · 0.65
TestAuthManager_authenticate_InvalidJSON
Function · 0.65
TestAuthManager_authenticate_NoTicket
Function · 0.65
TestAuthManager_ConcurrentAccess
Function · 0.65
TestAuthManager_ContextCancellation
Function · 0.65
TestAuthManager_EnsureAuthenticated_WithPassword
Function · 0.65
TestGetNodeDisks
Function · 0.65
TestGetNodeDiskSmart
Function · 0.65
Implementers
2
FileCache
internal/cache/cache.go
BadgerCache
internal/cache/badger_cache.go
Calls
no outgoing calls
Tested by
15
TestAuthManager_GetValidToken_WithExpiredToken
Function · 0.52
TestAuthManager_authenticate_Success
Function · 0.52
TestAuthManager_authenticate_HTTPError
Function · 0.52
TestAuthManager_authenticate_InvalidJSON
Function · 0.52
TestAuthManager_authenticate_NoTicket
Function · 0.52
TestAuthManager_ConcurrentAccess
Function · 0.52
TestAuthManager_ContextCancellation
Function · 0.52
TestAuthManager_EnsureAuthenticated_WithPassword
Function · 0.52
TestGetNodeDisks
Function · 0.52
TestGetNodeDiskSmart
Function · 0.52
TestGroupClientManager_GetGroupNodes_WithOfflineProfile
Function · 0.52
TestFindVMByIDInGroup_Unique
Function · 0.52