config

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: 3 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 config command

func NewUI

func NewUI() *UI

NewUI creates a new config UI

func (*UI) RenderConnectionFailure

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

RenderConnectionFailure renders a message indicating that the connection test failed

func (*UI) RenderConnectionSuccess

func (ui *UI) RenderConnectionSuccess() string

RenderConnectionSuccess renders a message indicating that the connection test was successful

func (*UI) RenderEnvVarSection

func (ui *UI) RenderEnvVarSection() string

RenderEnvVarSection renders the environment variable section

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

func (*UI) RenderInfo

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

RenderInfo renders an informational message

func (*UI) RenderSuccess

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

RenderSuccess renders a success message

func (*UI) RenderTestingConnection

func (ui *UI) RenderTestingConnection() string

RenderTestingConnection renders a message indicating that the connection is being tested

Jump to

Keyboard shortcuts

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