Documentation
¶
Overview ¶
Package refreshcmd orchestrates `keryx auth refresh` (spec 0010): it builds the configured write-back + notifier backends, fans out across the enabled platforms' refreshers, fires alerts, and reports per-platform status. keryx- specific glue around the pkg/refresh seam (mirrors internal/postcmd).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
Store *config.Store
// Accounts is the credentials store (~/.keryx/accounts.yaml). The unattended
// refresh path rotates tokens, so it must name where they go rather than let
// config routing pick the highest-precedence writable layer (spec 0042 §3.4).
Accounts *config.Store
WB oauth.WriteBack
Notifier notify.Notifier
}
Runner refreshes platform tokens with a chosen write-back + notifier.
Click to show internal directories.
Click to hide internal directories.