Documentation
¶
Overview ¶
Package dashboard presents pool activity without tying monitoring to a single CLI invocation or task owner. Refreshes request snapshots, not event streams.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InvitationStatus ¶
type InvitationStatus func(context.Context, string) (enrollment.Invitation, error)
type Invite ¶
type Invite func(context.Context, string, string, string, model.GatewayProxy) (enrollment.Link, error)
Invite creates an invitation for a name, OS, and startup context. A non-empty proxy selects a worker by stable ID and one of its advertised endpoints.
type Options ¶
type Options struct {
Interval time.Duration
Timeout time.Duration
Output io.Writer
GatewayURL string
Invite Invite
ForceInvite Invite
InvitationStatus InvitationStatus
// ProxyWorkers enables the Direct / Through worker connection step.
ProxyWorkers ProxyWorkers
Copy Copy
Manage ManageMachine
Rename RenameMachine
ForceRename RenameMachine
Refresh Fetch // Optional uncached fetch for the user's refresh key.
}
type ProxyWorkers ¶ added in v0.9.1
type ProxyWorkers func(context.Context) ([]model.ProxyWorker, error)
ProxyWorkers lists workers advertising gateway proxy endpoints.
Click to show internal directories.
Click to hide internal directories.