Documentation ¶
Index ¶
- type SwitchDetail
- type TablePrinter
- func (t *TablePrinter) ContextTable(data *api.Contexts, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) FSLTable(data []*models.V1FilesystemLayoutResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) FirewallTable(data []*models.V1FirewallResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) FirmwareTable(data *models.V1FirmwaresResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) IPTable(data []*models.V1IPResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ImageTable(data []*models.V1ImageResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) MachineIPMITable(data []*models.V1MachineIPMIResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) MachineIssuesTable(data api.MachineIssues, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) MachineLogsTable(data []*models.V1MachineProvisioningEvent, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) MachineTable(data []*models.V1MachineResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) NetworkTable(data []*models.V1NetworkResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) PartitionCapacityTable(data []*models.V1PartitionCapacity, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) PartitionTable(data []*models.V1PartitionResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ProjectTable(data []*models.V1ProjectResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) SetLastEventErrorThreshold(threshold time.Duration)
- func (t *TablePrinter) SetPrinter(printer *printers.TablePrinter)
- func (t *TablePrinter) SizeImageConstraintTable(data []*models.V1SizeImageConstraintResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) SizeMatchingLogTable(data []*models.V1SizeMatchingLog, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) SizeTable(data []*models.V1SizeResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) SwitchDetailTable(data []*SwitchDetail, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) SwitchTable(data []*models.V1SwitchResponse, wide bool) ([]string, [][]string, error)
- 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 SwitchDetail ¶
type SwitchDetail struct {
*models.V1SwitchResponse
}
type TablePrinter ¶
type TablePrinter struct {
// contains filtered or unexported fields
}
func New ¶
func New() *TablePrinter
func (*TablePrinter) ContextTable ¶
func (*TablePrinter) FSLTable ¶
func (t *TablePrinter) FSLTable(data []*models.V1FilesystemLayoutResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) FirewallTable ¶
func (t *TablePrinter) FirewallTable(data []*models.V1FirewallResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) FirmwareTable ¶
func (t *TablePrinter) FirmwareTable(data *models.V1FirmwaresResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) IPTable ¶
func (t *TablePrinter) IPTable(data []*models.V1IPResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) ImageTable ¶
func (t *TablePrinter) ImageTable(data []*models.V1ImageResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) MachineIPMITable ¶
func (t *TablePrinter) MachineIPMITable(data []*models.V1MachineIPMIResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) MachineIssuesTable ¶
func (t *TablePrinter) MachineIssuesTable(data api.MachineIssues, wide bool) ([]string, [][]string, error)
func (*TablePrinter) MachineLogsTable ¶
func (t *TablePrinter) MachineLogsTable(data []*models.V1MachineProvisioningEvent, wide bool) ([]string, [][]string, error)
func (*TablePrinter) MachineTable ¶
func (t *TablePrinter) MachineTable(data []*models.V1MachineResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) NetworkTable ¶
func (t *TablePrinter) NetworkTable(data []*models.V1NetworkResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) PartitionCapacityTable ¶
func (t *TablePrinter) PartitionCapacityTable(data []*models.V1PartitionCapacity, wide bool) ([]string, [][]string, error)
func (*TablePrinter) PartitionTable ¶
func (t *TablePrinter) PartitionTable(data []*models.V1PartitionResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) ProjectTable ¶
func (t *TablePrinter) ProjectTable(data []*models.V1ProjectResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) SetLastEventErrorThreshold ¶ added in v0.12.6
func (t *TablePrinter) SetLastEventErrorThreshold(threshold time.Duration)
func (*TablePrinter) SetPrinter ¶
func (t *TablePrinter) SetPrinter(printer *printers.TablePrinter)
func (*TablePrinter) SizeImageConstraintTable ¶
func (t *TablePrinter) SizeImageConstraintTable(data []*models.V1SizeImageConstraintResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) SizeMatchingLogTable ¶
func (t *TablePrinter) SizeMatchingLogTable(data []*models.V1SizeMatchingLog, wide bool) ([]string, [][]string, error)
func (*TablePrinter) SizeTable ¶
func (t *TablePrinter) SizeTable(data []*models.V1SizeResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) SwitchDetailTable ¶
func (t *TablePrinter) SwitchDetailTable(data []*SwitchDetail, wide bool) ([]string, [][]string, error)
func (*TablePrinter) SwitchTable ¶
func (t *TablePrinter) SwitchTable(data []*models.V1SwitchResponse, wide bool) ([]string, [][]string, error)
func (*TablePrinter) ToHeaderAndRows ¶
Click to show internal directories.
Click to hide internal directories.