Documentation
¶
Overview ¶
Package plane holds pure dual-plane usage projection helpers used by runtime metering and settlement without importing the executor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomerPlaneUsageEvent ¶
CustomerPlaneUsageEvent projects client-visible usage and strips all provider billable scopes and provider money (design D1/D2, req 1.6). The result is a fresh UsageDelta built from retained scopes: lipapi.Event has no correlation/trace/model identity fields, and provider envelope fields such as RawUsageJSON must not leak onto the customer plane.
func MoneyFromUsageEvent ¶
func MoneyFromUsageEvent(ev lipapi.Event) *metering.MoneyObservation
MoneyFromUsageEvent returns money only when CostPresent is set (req 2.9).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.