ui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MirrorStatusRow

type MirrorStatusRow struct {
	// contains filtered or unexported fields
}

func MirrorStatus

func MirrorStatus(topic, config string, oldPartitionCount, newPartitionCount int32, isCreate, isDryRun bool, err error) MirrorStatusRow

func (MirrorStatusRow) FieldValues

func (m MirrorStatusRow) FieldValues() []string

func (MirrorStatusRow) Headers

func (m MirrorStatusRow) Headers() []string

type Row

type Row interface {
	Headers() []string
	FieldValues() []string
}

type TableWriter

type TableWriter struct {
	// contains filtered or unexported fields
}

func (*TableWriter) AddRow

func (w *TableWriter) AddRow(row Row)

func (*TableWriter) Render

func (w *TableWriter) Render()

type UserInput

type UserInput struct{}

func (UserInput) AskForConfirmation

func (u UserInput) AskForConfirmation(question string) bool

Jump to

Keyboard shortcuts

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