find

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: 5 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 find command

func NewUI

func NewUI() *UI

NewUI creates a new find UI

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 find command

func (*UI) RenderJSON

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

RenderJSON renders the list of matching DNS overrides as JSON

func (*UI) RenderMatches

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

RenderMatches renders the list of matching DNS overrides

func (*UI) RenderNoMatches

func (ui *UI) RenderNoMatches() string

RenderNoMatches renders a message indicating that no matches were found

func (*UI) RenderSearchingMessage

func (ui *UI) RenderSearchingMessage() string

RenderSearchingMessage renders a message indicating that we're searching for DNS overrides

func (*UI) RenderWarning

func (ui *UI) RenderWarning(message string) string

RenderWarning renders a warning message

Jump to

Keyboard shortcuts

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