ExecutionPlane.Contracts.ExecutionRoute.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Spine-owned durable route choice carried to and from the Execution Plane.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.ExecutionRoute.V1{
  contract_version: String.t(),
  family: String.t(),
  lineage: ExecutionPlane.Contracts.lineage_t(),
  placement_family: String.t(),
  protocol: String.t(),
  resolved_budget: map(),
  resolved_target: map(),
  route_id: String.t(),
  transport_family: String.t()
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(route)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()