Documentation ¶
Index ¶
- type TablePrinter
- func (t *TablePrinter) MachineReservationsBillingTable(data *models.V1MachineReservationBillingUsageResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) MachineReservationsTable(data []*models.V1MachineReservationResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) MachineReservationsUsageTable(data []*models.V1MachineReservationUsageResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) SetPrinter(printer *printers.TablePrinter)
- func (t *TablePrinter) ToHeaderAndRows(data any, wide bool) ([]string, [][]string, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.