store

package
v0.0.0-...-90561fa Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DailyUsageAggregate

type DailyUsageAggregate struct {
	Date       time.Time
	Resource   string
	TotalUsage float64
	TotalCost  float64
	Unit       string
	Currency   string
}

type MonthlyUsageAggregate

type MonthlyUsageAggregate struct {
	Year       int
	Month      time.Month
	Resource   string
	TotalUsage float64
	TotalCost  float64
	Unit       string
	Currency   string
}

type UsageRecord

type UsageRecord struct {
	ID           string
	ResourceID   string
	ResourceType string
	Metadata     map[string]string
	Quantity     float64
	Unit         string
	SKU          string
	Rate         float64
	Currency     string
	StartTime    time.Time
	EndTime      time.Time
}

type UsageStats

type UsageStats struct {
	RecordsCount    int64
	FirstRecordTime *time.Time
}

type Warehouse

type Warehouse struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Size  string `json:"size"`
	State string `json:"state"`
}

type WarehousesResponse

type WarehousesResponse struct {
	Warehouses []Warehouse `json:"warehouses"`
}

type Workflow

type Workflow struct {
	Account         string
	Workspace       string
	CreatedAt       time.Time
	LastProcessedAt *time.Time
	Error           *string
}

type WorkflowIdentity

type WorkflowIdentity struct {
	Workspace string
}

type Workspace

type Workspace struct {
	WorkspaceName string `json:"workspace_name"`
	WorkspaceID   int    `json:"workspace_id"`
}

Jump to

Keyboard shortcuts

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