billing

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package billing is the spec-046 metering read surface (cli#215): provider rate rows and an org's credit balance and ledger.

Every money field is a base-10 integer string of micro-cents (1e-8 USD) on the wire, and this package never parses one: a ledger amount is signed and unbounded, so a float64 loses digits past 2^53 and an int64 can overflow. The strings go into the DTOs and out to --json and the table byte for byte.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdBilling

func NewCmdBilling(f *cmdutil.Factory) *cobra.Command

NewCmdBilling builds the `billing` command group.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL