tableprinters

package
v0.0.0-...-dfef4a5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 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) ContextTable

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

func (*TablePrinter) HealthTable

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

func (*TablePrinter) IPTable

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

func (*TablePrinter) ImageTable

func (t *TablePrinter) ImageTable(data []*apiv2.Image, wide bool) ([]string, [][]string, error)

func (*TablePrinter) ProjectInviteTable

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

func (*TablePrinter) ProjectMemberTable

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

func (*TablePrinter) ProjectTable

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

func (*TablePrinter) SetPrinter

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

func (*TablePrinter) TenantInviteTable

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

func (*TablePrinter) TenantMemberTable

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

func (*TablePrinter) TenantTable

func (t *TablePrinter) TenantTable(data []*apiv2.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 []*apiv2.Token, _ bool) ([]string, [][]string, error)

Jump to

Keyboard shortcuts

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