[−][src]Crate latticeclient
Lattice Client
This library provides a client that communicates with a waSCC lattice using the lattice protocol over the NATS message broker. All waSCC hosts compiled in lattice mode have the ability to automatically form self-healing, self-managing infrastructure-agnostic clusters called lattices
Structs
Binding | Represents a single configuration binding from an actor to a capability ID and binding name, with the specified configuration values. |
Client | A client for interacting with the lattice |
CloudEvent | An envelope for an event that corresponds to the CloudEvents 1.0 Spec with the intent to be serialized in the JSON format. |
HostProfile | An overview of host information |
HostedCapability | Represents an instance of a capability, which is a binding name and the capability descriptor |
Enums
BusEvent | Represents an event that may occur on a bus of connected hosts. Timestamps, identifiers, and other metadata will be provided by a CloudEvent envelope. |
InventoryResponse | A response to a lattice probe for inventory. Note that these responses are returned through regular (non-queue) subscriptions via a scatter-gather like pattern, so the client is responsible for aggregating many of these replies. |
Constants
BUS_EVENT_SUBJECT | |
INVENTORY_ACTORS | |
INVENTORY_BINDINGS | |
INVENTORY_CAPABILITIES | |
INVENTORY_HOSTS |