MCPcopy
hub / github.com/1Panel-dev/KubePi / Add

Method Add

thirdparty/gotty/cache/token/cache.go:15–15  ·  view source on GitHub ↗
(token string, param *TtyParameter, d time.Duration)

Source from the content-addressed store, hash-verified

13 Get(token string) *TtyParameter
14 Delete(token string) error
15 Add(token string, param *TtyParameter, d time.Duration) error
16}

Callers 15

AddMethod · 0.65
TestWriteFromPTYFunction · 0.65
TestWriteFromConnFunction · 0.65
RunMethod · 0.65
processWSConnMethod · 0.65
handleKubeConfigApiMethod · 0.65
handleKubeTokenApiMethod · 0.65
addMethod · 0.65
SetMethod · 0.65
updateChartsFunction · 0.65
apiResourceHandlerFunction · 0.65

Implementers 2

RedisCachethirdparty/gotty/cache/token/redis.go
MemCachethirdparty/gotty/cache/token/mem.go

Calls

no outgoing calls

Tested by 2

TestWriteFromPTYFunction · 0.52
TestWriteFromConnFunction · 0.52