Documentation ¶
Index ¶
- type TablePrinter
- func (t *TablePrinter) AssetTable(data []*apiv1.Asset, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) ClusterMachineTable(data []*adminv1.ClusterServiceGetResponse, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ClusterStatusConditionsTable(data []*apiv1.ClusterStatusCondition, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ClusterStatusLastErrorTable(data []*apiv1.ClusterStatusLastError, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ClusterTable(clusters []*apiv1.Cluster, machines map[string][]*adminv1.Machine, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ContextTable(data *config.Contexts, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) CouponTable(data []*apiv1.Coupon, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) HealthTable(data []*apiv1.Health, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) IPTable(data []*apiv1.IP, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) PaymentPricesTable(data []*apiv1.Price, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ProjectInviteTable(data []*apiv1.ProjectInvite, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) ProjectMemberTable(data []*apiv1.ProjectMember, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) ProjectTable(data []*apiv1.Project, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) SetPrinter(printer *printers.TablePrinter)
- func (t *TablePrinter) SnapshotTable(data []*apiv1.Snapshot, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) StorageClusterInfoTable(data []*adminv1.StorageClusterInfo, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) TenantInviteTable(data []*apiv1.TenantInvite, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) TenantMemberTable(data []*apiv1.TenantMember, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) TenantTable(data []*apiv1.Tenant, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) ToHeaderAndRows(data any, wide bool) ([]string, [][]string, error)
- func (t *TablePrinter) TokenTable(data []*apiv1.Token, _ bool) ([]string, [][]string, error)
- func (t *TablePrinter) VolumeTable(data []*apiv1.Volume, 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() *TablePrinter
func (*TablePrinter) AssetTable ¶
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 (*TablePrinter) ContextTable ¶
func (*TablePrinter) CouponTable ¶
func (*TablePrinter) HealthTable ¶ added in v0.2.3
func (*TablePrinter) PaymentPricesTable ¶ added in v0.2.4
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 (*TablePrinter) SetPrinter ¶
func (t *TablePrinter) SetPrinter(printer *printers.TablePrinter)
func (*TablePrinter) SnapshotTable ¶
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 (*TablePrinter) ToHeaderAndRows ¶
func (*TablePrinter) TokenTable ¶
func (*TablePrinter) VolumeTable ¶
Click to show internal directories.
Click to hide internal directories.