tableprinters

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 16 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() *TablePrinter

func (*TablePrinter) AssetTable

func (t *TablePrinter) AssetTable(data []*apiv1.Asset, _ bool) ([]string, [][]string, error)

func (*TablePrinter) ClusterMachineTable

func (t *TablePrinter) ClusterMachineTable(data []*adminv1.ClusterServiceGetResponse, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ClusterStatusConditionsTable

func (t *TablePrinter) ClusterStatusConditionsTable(data []*apiv1.ClusterStatusCondition, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ClusterStatusLastErrorTable

func (t *TablePrinter) ClusterStatusLastErrorTable(data []*apiv1.ClusterStatusLastError, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ClusterTable

func (t *TablePrinter) ClusterTable(clusters []*apiv1.Cluster, machines map[string][]*adminv1.Machine, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ContextTable

func (t *TablePrinter) ContextTable(data *config.Contexts, wide bool) ([]string, [][]string, error)

func (*TablePrinter) CouponTable

func (t *TablePrinter) CouponTable(data []*apiv1.Coupon, wide bool) ([]string, [][]string, error)

func (*TablePrinter) HealthTable added in v0.2.3

func (t *TablePrinter) HealthTable(data []*apiv1.Health, wide bool) ([]string, [][]string, error)

func (*TablePrinter) IPTable

func (t *TablePrinter) IPTable(data []*apiv1.IP, wide bool) ([]string, [][]string, error)

func (*TablePrinter) PaymentPricesTable added in v0.2.4

func (t *TablePrinter) PaymentPricesTable(data []*apiv1.Price, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ProjectInviteTable added in v0.2.4

func (t *TablePrinter) ProjectInviteTable(data []*apiv1.ProjectInvite, _ bool) ([]string, [][]string, error)

func (*TablePrinter) ProjectMemberTable added in v0.3.0

func (t *TablePrinter) ProjectMemberTable(data []*apiv1.ProjectMember, _ bool) ([]string, [][]string, error)

func (*TablePrinter) ProjectTable

func (t *TablePrinter) ProjectTable(data []*apiv1.Project, _ bool) ([]string, [][]string, error)

func (*TablePrinter) SetPrinter

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

func (*TablePrinter) SnapshotTable

func (t *TablePrinter) SnapshotTable(data []*apiv1.Snapshot, _ bool) ([]string, [][]string, error)

func (*TablePrinter) StorageClusterInfoTable

func (t *TablePrinter) StorageClusterInfoTable(data []*adminv1.StorageClusterInfo, _ bool) ([]string, [][]string, error)

func (*TablePrinter) TenantInviteTable added in v0.3.0

func (t *TablePrinter) TenantInviteTable(data []*apiv1.TenantInvite, _ bool) ([]string, [][]string, error)

func (*TablePrinter) TenantMemberTable added in v0.3.0

func (t *TablePrinter) TenantMemberTable(data []*apiv1.TenantMember, _ bool) ([]string, [][]string, error)

func (*TablePrinter) TenantTable

func (t *TablePrinter) TenantTable(data []*apiv1.Tenant, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ToHeaderAndRows

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

func (*TablePrinter) TokenTable

func (t *TablePrinter) TokenTable(data []*apiv1.Token, _ bool) ([]string, [][]string, error)

func (*TablePrinter) VolumeTable

func (t *TablePrinter) VolumeTable(data []*apiv1.Volume, wide bool) ([]string, [][]string, error)

Jump to

Keyboard shortcuts

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