MCPcopy Index your code
hub / github.com/koderover/zadig / GetString

Method GetString

pkg/tool/cache/redis_cache.go:90–92  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

88}
89
90func (c *RedisCache) GetString(key string) (string, error) {
91 return c.redisClient.Get(context.TODO(), key).Result()
92}
93
94func (c *RedisCache) HGetString(key, field string) (string, error) {
95 return c.redisClient.HGet(context.TODO(), key, field).Result()

Callers 15

AppendBigStringToRedisFunction · 0.95
GetBigStringFromRedisFunction · 0.95
getAccessTokenMethod · 0.95
UpdateOperationLogStatusFunction · 0.80
RequestLogFunction · 0.80
HubAgentTokenFunction · 0.80
HubServerBaseAddrFunction · 0.80
KubernetesServiceHostFunction · 0.80
KubernetesServicePortFunction · 0.80
AslanBaseAddrFunction · 0.80
ScheduleWorkflowFunction · 0.80

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected