Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/1Panel-dev/KubePi
/ getCurrentClusterUser
Function
getCurrentClusterUser
web/dashboard/src/api/auth.js:17–19 ·
view source on GitHub ↗
(clusterName)
Source
from the content-addressed store, hash-verified
15
}
16
17
export
function
getCurrentClusterUser(clusterName) {
18
return
get(`${authUrl}/${clusterName}`)
19
}
20
21
export
function
isLogin() {
22
return
get(`${authUrl}/status`)
Callers
1
getCurrentUser
Function · 0.90
Calls
1
get
Function · 0.90
Tested by
no test coverage detected