Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *ClientOptions) *Client
func (*Client) PrintUsageSummary ¶
func (client *Client) PrintUsageSummary(out io.Writer, options *PrintUsageSummaryOptions) error
type ClientOptions ¶
type PrintUsageSummaryOptions ¶
type PrintUsageSummaryOptions struct { IncludeOrgDetails bool `short:"x" help:"Include usage summaries for each sub-org.."` Output string `short:"o" enum:"table,tsv,json,csv" default:"table" help:"Formatting style for output (table, tsv, json, csv)."` StartMonth string `short:"s" help:"Usage beginning this month."` EndMonth string `short:"e" help:"Usage ending this month."` Humanize bool `short:"H" help:"Convert usage numbers to to human-friendly strings."` }
type UsageBreakdown ¶
type UsageBreakdown map[string]UsageByProduct
org_name/product_name/month/cost
Click to show internal directories.
Click to hide internal directories.