Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cloudfoundry/cli
/ NewK8sAuthActor
Function
NewK8sAuthActor
actor/sharedaction/auth.go:21–25 ·
view source on GitHub ↗
(config Config)
Source
from the content-addressed store, hash-verified
19
}
20
21
func
NewK8sAuthActor(config Config) K8sAuthActor {
22
return
K8sAuthActor{
23
config: config,
24
}
25
}
26
27
func
(a K8sAuthActor) IsLoggedIn() bool {
28
name, err := a.config.CurrentUserName()
Callers
1
NewActor
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected