Documentation
¶
Index ¶
- type UI
- func (ui *UI) RenderConnectionFailure(err error) string
- func (ui *UI) RenderConnectionSuccess() string
- func (ui *UI) RenderEnvVarSection() string
- func (ui *UI) RenderError(err error) string
- func (ui *UI) RenderHeader() string
- func (ui *UI) RenderInfo(message string) string
- func (ui *UI) RenderSuccess(message string) string
- func (ui *UI) RenderTestingConnection() string
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 (*UI) RenderConnectionFailure ¶
RenderConnectionFailure renders a message indicating that the connection test failed
func (*UI) RenderConnectionSuccess ¶
RenderConnectionSuccess renders a message indicating that the connection test was successful
func (*UI) RenderEnvVarSection ¶
RenderEnvVarSection renders the environment variable section
func (*UI) RenderError ¶
RenderError renders an error message
func (*UI) RenderHeader ¶
RenderHeader renders the header for the config command
func (*UI) RenderInfo ¶
RenderInfo renders an informational message
func (*UI) RenderSuccess ¶
RenderSuccess renders a success message
func (*UI) RenderTestingConnection ¶
RenderTestingConnection renders a message indicating that the connection is being tested
Click to show internal directories.
Click to hide internal directories.