Documentation
¶
Index ¶
- type TablesBuilder
- func (b *TablesBuilder) BuildEventTables() (tables map[string]prtable.Writer, nonEmpty bool)
- func (b *TablesBuilder) BuildLogTables() (tables map[string]prtable.Writer, nonEmpty bool)
- func (b *TablesBuilder) BuildProgressTable() (table prtable.Writer, notEmpty bool)
- func (b *TablesBuilder) SetMaxTableWidth(maxTableWidth int)
- type TablesBuilderOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TablesBuilder ¶
type TablesBuilder struct {
// contains filtered or unexported fields
}
TablesBuilder renders progress, events, and logs tables using kubedog's state stores. It is inspired by werf/nelm internal tracker printer, but suppresses healthy pod logs by default.
func NewTablesBuilder ¶
func NewTablesBuilder(taskStore *statestore.TaskStore, logStore *kdutil.Concurrent[*logstore.LogStore], opts TablesBuilderOptions) *TablesBuilder
func (*TablesBuilder) BuildEventTables ¶
func (b *TablesBuilder) BuildEventTables() (tables map[string]prtable.Writer, nonEmpty bool)
BuildEventTables returns per-resource event tables.
func (*TablesBuilder) BuildLogTables ¶
func (b *TablesBuilder) BuildLogTables() (tables map[string]prtable.Writer, nonEmpty bool)
BuildLogTables returns per-resource log tables, optionally suppressing healthy pod logs.
func (*TablesBuilder) BuildProgressTable ¶
func (b *TablesBuilder) BuildProgressTable() (table prtable.Writer, notEmpty bool)
BuildProgressTable returns a progress table with readiness/presence/absence information.
func (*TablesBuilder) SetMaxTableWidth ¶
func (b *TablesBuilder) SetMaxTableWidth(maxTableWidth int)
type TablesBuilderOptions ¶
Click to show internal directories.
Click to hide internal directories.