MCPcopy Index your code
hub / github.com/cloudfoundry/cli / IsLoggedIn

Method IsLoggedIn

actor/sharedaction/auth.go:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (a K8sAuthActor) IsLoggedIn() bool {
28 name, err := a.config.CurrentUserName()
29
30 return err == nil && name != ""
31}

Callers

nothing calls this directly

Calls 1

CurrentUserNameMethod · 0.65

Tested by

no test coverage detected