Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WhoAmIWorkflowID = workflow.NewWorkflowIdentifier("whoami")
WhoAmIWorkflowID is the whoami workflow this check invokes. It's re-derived from the name (not imported from localworkflows) to avoid an import cycle; whoami_id_test.go pins it to the canonical constant to prevent drift.
Functions ¶
This section is empty.
Types ¶
type AuthStatus ¶
AuthStatus is the outcome of the live authentication check.
func Check ¶
func Check(invocationCtx workflow.InvocationContext) AuthStatus
Check verifies authentication via the whoami workflow: a string result is the identity; error/empty is a failure. The call is bounded by authCheckTimeout via WithContext so a hung request cancels rather than blocking doctor.
func (AuthStatus) Findings ¶
func (a AuthStatus) Findings() []diagnosis.Finding
Findings maps the auth status into the generic contract (Source = auth).
Click to show internal directories.
Click to hide internal directories.