output

package
v0.36.8 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 11 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) 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) 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