Documentation
¶
Overview ¶
Package client is deploy's transport to one node agent.
The package owns a single hop: turning a prepared assignment into an authenticated HTTP call against one node and decoding the typed reply. Callers may rely on Reconcile proving the endpoint's node identity against the Warden-selected node before it mutates anything, on a reply being rejected unless it echoes the requested assignment and fence and carries a valid completion timestamp, and on every response body being size-bounded so a misbehaving node cannot exhaust Core. Placement, persistence, retry, and approval policy all stay with the reconciler that calls this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client routes an assignment either to one explicit prototype agent or to the standard agent port on the Warden-advertised node address.