Documentation
¶
Index ¶
- type Printer
- func (p *Printer) PrintBlockOfferingsCSV(results []aws.CapacityBlockOfferingResult) error
- func (p *Printer) PrintBlockOfferingsJSON(results []aws.CapacityBlockOfferingResult) error
- func (p *Printer) PrintBlockOfferingsTable(results []aws.CapacityBlockOfferingResult) error
- func (p *Printer) PrintBlockOfferingsYAML(results []aws.CapacityBlockOfferingResult) error
- func (p *Printer) PrintBlocksCSV(results []aws.CapacityBlockResult) error
- func (p *Printer) PrintBlocksJSON(results []aws.CapacityBlockResult) error
- func (p *Printer) PrintBlocksTable(results []aws.CapacityBlockResult) error
- func (p *Printer) PrintBlocksYAML(results []aws.CapacityBlockResult) error
- func (p *Printer) PrintCSV(results []aws.InstanceTypeResult) error
- func (p *Printer) PrintCapacityCSV(results []aws.CapacityReservationResult) error
- func (p *Printer) PrintCapacityJSON(results []aws.CapacityReservationResult) error
- func (p *Printer) PrintCapacityTable(results []aws.CapacityReservationResult) error
- func (p *Printer) PrintCapacityYAML(results []aws.CapacityReservationResult) error
- func (p *Printer) PrintJSON(results []aws.InstanceTypeResult) error
- func (p *Printer) PrintSpotCSV(results []aws.SpotPriceResult) error
- func (p *Printer) PrintSpotJSON(results []aws.SpotPriceResult) error
- func (p *Printer) PrintSpotTable(results []aws.SpotPriceResult) error
- func (p *Printer) PrintSpotYAML(results []aws.SpotPriceResult) error
- func (p *Printer) PrintTable(results []aws.InstanceTypeResult, includeAZs bool, showPrice bool) error
- func (p *Printer) PrintTableWithQuota(results []aws.InstanceTypeResult, includeAZs bool, showPrice bool) error
- func (p *Printer) PrintYAML(results []aws.InstanceTypeResult) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
Printer handles output formatting
func (*Printer) PrintBlockOfferingsCSV ¶ added in v0.40.0
func (p *Printer) PrintBlockOfferingsCSV(results []aws.CapacityBlockOfferingResult) error
PrintBlockOfferingsCSV renders offerings as CSV.
func (*Printer) PrintBlockOfferingsJSON ¶ added in v0.40.0
func (p *Printer) PrintBlockOfferingsJSON(results []aws.CapacityBlockOfferingResult) error
PrintBlockOfferingsJSON renders offerings as JSON.
func (*Printer) PrintBlockOfferingsTable ¶ added in v0.40.0
func (p *Printer) PrintBlockOfferingsTable(results []aws.CapacityBlockOfferingResult) error
PrintBlockOfferingsTable renders purchasable Capacity Block offerings.
func (*Printer) PrintBlockOfferingsYAML ¶ added in v0.40.0
func (p *Printer) PrintBlockOfferingsYAML(results []aws.CapacityBlockOfferingResult) error
PrintBlockOfferingsYAML renders offerings as YAML.
func (*Printer) PrintBlocksCSV ¶ added in v0.40.0
func (p *Printer) PrintBlocksCSV(results []aws.CapacityBlockResult) error
PrintBlocksCSV renders owned Capacity Blocks as CSV.
func (*Printer) PrintBlocksJSON ¶ added in v0.40.0
func (p *Printer) PrintBlocksJSON(results []aws.CapacityBlockResult) error
PrintBlocksJSON renders owned Capacity Blocks as JSON.
func (*Printer) PrintBlocksTable ¶ added in v0.40.0
func (p *Printer) PrintBlocksTable(results []aws.CapacityBlockResult) error
PrintBlocksTable renders owned/scheduled Capacity Block reservations.
func (*Printer) PrintBlocksYAML ¶ added in v0.40.0
func (p *Printer) PrintBlocksYAML(results []aws.CapacityBlockResult) error
PrintBlocksYAML renders owned Capacity Blocks as YAML.
func (*Printer) PrintCSV ¶
func (p *Printer) PrintCSV(results []aws.InstanceTypeResult) error
PrintCSV outputs results as CSV
func (*Printer) PrintCapacityCSV ¶
func (p *Printer) PrintCapacityCSV(results []aws.CapacityReservationResult) error
PrintCapacityCSV outputs capacity reservation results as CSV
func (*Printer) PrintCapacityJSON ¶
func (p *Printer) PrintCapacityJSON(results []aws.CapacityReservationResult) error
PrintCapacityJSON outputs capacity reservation results as JSON
func (*Printer) PrintCapacityTable ¶
func (p *Printer) PrintCapacityTable(results []aws.CapacityReservationResult) error
PrintCapacityTable outputs capacity reservation results as a formatted table
func (*Printer) PrintCapacityYAML ¶
func (p *Printer) PrintCapacityYAML(results []aws.CapacityReservationResult) error
PrintCapacityYAML outputs capacity reservation results as YAML
func (*Printer) PrintJSON ¶
func (p *Printer) PrintJSON(results []aws.InstanceTypeResult) error
PrintJSON outputs results as JSON
func (*Printer) PrintSpotCSV ¶
func (p *Printer) PrintSpotCSV(results []aws.SpotPriceResult) error
PrintSpotCSV outputs Spot pricing results as CSV
func (*Printer) PrintSpotJSON ¶
func (p *Printer) PrintSpotJSON(results []aws.SpotPriceResult) error
PrintSpotJSON outputs Spot pricing results as JSON
func (*Printer) PrintSpotTable ¶
func (p *Printer) PrintSpotTable(results []aws.SpotPriceResult) error
PrintSpotTable outputs Spot pricing results as a formatted table
func (*Printer) PrintSpotYAML ¶
func (p *Printer) PrintSpotYAML(results []aws.SpotPriceResult) error
PrintSpotYAML outputs Spot pricing results as YAML
func (*Printer) PrintTable ¶
func (p *Printer) PrintTable(results []aws.InstanceTypeResult, includeAZs bool, showPrice bool) error
PrintTable outputs results as a formatted table
func (*Printer) PrintTableWithQuota ¶ added in v0.42.0
func (p *Printer) PrintTableWithQuota(results []aws.InstanceTypeResult, includeAZs bool, showPrice bool) error
PrintTableWithQuota is like Printer.PrintTable but also renders the SageMaker per-type training-job quota column. Used by the --show-quota path.