Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Tencent/WeKnora
/ Set
Method
Set
cli/internal/secrets/secrets.go:31–31 ·
view source on GitHub ↗
(profile, key, value string)
Source
from the content-addressed store, hash-verified
29
type
Store
interface
{
30
Get(profile, key string) (string, error)
31
Set(profile, key, value string) error
32
Delete(profile, key string) error
33
Ref(profile, key string) string
34
}
Callers
15
CreateKnowledgeFromFile
Method · 0.65
FilterKnowledge
Method · 0.65
SearchTenants
Method · 0.65
SearchOrganizations
Method · 0.65
SearchUsersForInvite
Method · 0.65
GetSuggestedQuestions
Method · 0.65
doRequest
Method · 0.65
applyAuthHeaders
Method · 0.65
TestCheckFormatFlag_InvalidValueRejected
Function · 0.65
TestCheckFormatFlag_TextAccepted
Function · 0.65
RefreshAndPersist
Function · 0.65
RoundTrip
Method · 0.65
Implementers
3
FileStore
cli/internal/secrets/secrets.go
MemStore
cli/internal/secrets/secrets.go
KeyringStore
cli/internal/secrets/keyring.go
Calls
no outgoing calls
Tested by
15
TestCheckFormatFlag_InvalidValueRejected
Function · 0.52
TestCheckFormatFlag_TextAccepted
Function · 0.52
TestHandleDryRun_DryRun_EmitsEnvelopeAndReturnsHandledTrue
Function · 0.52
TestHandleDryRun_InvalidFormat_ReturnsHandledTrueWithError
Function · 0.52
newReq
Function · 0.52
TestAuthRetry_ConcurrentRefresh_SingleFlight
Function · 0.52
TestAuthRetry_NonReplayableBody_NoRetry
Function · 0.52
TestBuildClient_SkipsUnreferencedSecrets
Function · 0.52
makeResolveKBCmd
Function · 0.52
fakeKBServer
Function · 0.52
fakeKBServer
Function · 0.52
TestAPI_GetSuccess
Function · 0.52