output

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 NewPrinter

func NewPrinter(useColor bool) *Printer

NewPrinter creates a new output printer

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.

func (*Printer) PrintYAML

func (p *Printer) PrintYAML(results []aws.InstanceTypeResult) error

PrintYAML outputs results as YAML

Jump to

Keyboard shortcuts

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