billing

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBillingCmd

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

func NewStatusCmd

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

func NewUsageCmd

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

Types

type SubscriptionResponse

type SubscriptionResponse struct {
	Subscription struct {
		Plan   string `json:"plan"`
		Status string `json:"status"`
	} `json:"subscription"`
	Usage struct {
		Executions int `json:"executions"`
		Limit      int `json:"limit"`
	} `json:"usage"`
	OverageCharges float64                `json:"overageCharges"`
	Limits         map[string]interface{} `json:"limits"`
}

SubscriptionResponse is the API response shape for GET /api/billing/subscription.

Jump to

Keyboard shortcuts

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