MCPcopy
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
17export function getCurrentClusterUser(clusterName) {
18 return get(`${authUrl}/${clusterName}`)
19}
20
21export function isLogin() {
22 return get(`${authUrl}/status`)

Callers 1

getCurrentUserFunction · 0.90

Calls 1

getFunction · 0.90

Tested by

no test coverage detected