list

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	Styles tui.StyleConfig
}

UI represents the UI for the list command

func NewUI

func NewUI() *UI

NewUI creates a new list UI

func (*UI) RenderEmpty

func (ui *UI) RenderEmpty() string

RenderEmpty renders a message when no overrides are found

func (*UI) RenderError

func (ui *UI) RenderError(err error) string

RenderError renders an error message

func (*UI) RenderHeader

func (ui *UI) RenderHeader() string

RenderHeader renders the header for the list command

func (*UI) RenderTable

func (ui *UI) RenderTable(overrides []api.DNSOverride) string

RenderTable renders the DNS overrides as a table

Jump to

Keyboard shortcuts

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