Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ cacheKey
Function
cacheKey
plugin/pkg/client/auth/exec/exec.go:79–81 ·
view source on GitHub ↗
(c *api.ExecConfig)
Source
from the content-addressed store, hash-verified
77
var
spewConfig = &spew.ConfigState{DisableMethods: true, Indent:
" "
}
78
79
func
cacheKey(c *api.ExecConfig) string {
80
return
spewConfig.Sprint(c)
81
}
82
83
type
cache
struct
{
84
mu sync.Mutex
Callers
2
TestCacheKey
Function · 0.70
newAuthenticator
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestCacheKey
Function · 0.56