MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / GetValueByKey

Method GetValueByKey

core/app/repo/setting.go:24–24  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

22 List(opts ...global.DBOption) ([]model.Setting, error)
23 Get(opts ...global.DBOption) (model.Setting, error)
24 GetValueByKey(key string) (string, error)
25 Create(key, value string) error
26 Update(key, value string) error
27 UpdateOrCreate(key, value string) error

Callers 11

InitFunction · 0.95
LoadErrCodeFunction · 0.95
BindDomainFunction · 0.95
WhiteAllowFunction · 0.95
GlobalLoadingFunction · 0.95
SetPasswordPublicKeyFunction · 0.95
PasswordExpiredFunction · 0.95
VerifyMFALoginFunction · 0.95
LoadMFAFunction · 0.95
UpdateCurrentUserInfoFunction · 0.95
LoadAPIAuthConfigFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected