[][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

HostedCapability

Represents an instance of a capability, which is a binding name and the capability descriptor

Enums

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

INVENTORY_ACTORS
INVENTORY_BINDINGS
INVENTORY_CAPABILITIES
INVENTORY_HOSTS