MCPcopy
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
21func NewK8sAuthActor(config Config) K8sAuthActor {
22 return K8sAuthActor{
23 config: config,
24 }
25}
26
27func (a K8sAuthActor) IsLoggedIn() bool {
28 name, err := a.config.CurrentUserName()

Callers 1

NewActorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected