tableprinters

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TablePrinter

type TablePrinter struct {
	// contains filtered or unexported fields
}

func New

func New(out io.Writer) *TablePrinter

func (*TablePrinter) MachineReservationsBillingTable

func (t *TablePrinter) MachineReservationsBillingTable(data *models.V1MachineReservationBillingUsageResponse, wide bool) ([]string, [][]string, error)

func (*TablePrinter) MachineReservationsTable

func (t *TablePrinter) MachineReservationsTable(data []*models.V1MachineReservationResponse, wide bool) ([]string, [][]string, error)

func (*TablePrinter) MachineReservationsUsageTable

func (t *TablePrinter) MachineReservationsUsageTable(data []*models.V1MachineReservationUsageResponse, wide bool) ([]string, [][]string, error)

func (*TablePrinter) SetPrinter

func (t *TablePrinter) SetPrinter(printer *printers.TablePrinter)

func (*TablePrinter) ToHeaderAndRows

func (t *TablePrinter) ToHeaderAndRows(data any, wide bool) ([]string, [][]string, error)

Jump to

Keyboard shortcuts

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