Documentation ¶
Index ¶
- type HostNameView
- func (hv *HostNameView) HandleInput(event *tcell.EventKey) *tcell.EventKey
- func (hv *HostNameView) Initialize(backButtonText string, sysConfig *configuration.SystemConfig, ...) (err error)
- func (hv *HostNameView) Name() string
- func (hv *HostNameView) OnShow()
- func (hv *HostNameView) Primitive() tview.Primitive
- func (hv *HostNameView) Reset() (err error)
- func (hv *HostNameView) Title() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostNameView ¶
type HostNameView struct {
// contains filtered or unexported fields
}
HostNameView contains the hostname UI
func (*HostNameView) HandleInput ¶
func (hv *HostNameView) HandleInput(event *tcell.EventKey) *tcell.EventKey
HandleInput handles custom input.
func (*HostNameView) Initialize ¶
func (hv *HostNameView) Initialize(backButtonText string, sysConfig *configuration.SystemConfig, cfg *configuration.Config, app *tview.Application, nextPage, previousPage, quit, refreshTitle func()) (err error)
Initialize initializes the view.
func (*HostNameView) Name ¶
func (hv *HostNameView) Name() string
Name returns the friendly name of the view.
func (*HostNameView) OnShow ¶
func (hv *HostNameView) OnShow()
OnShow gets called when the view is shown to the user
func (*HostNameView) Primitive ¶
func (hv *HostNameView) Primitive() tview.Primitive
Primitive returns the primary primitive to be rendered for the view.
func (*HostNameView) Reset ¶
func (hv *HostNameView) Reset() (err error)
Reset resets the page, undoing any user input.
func (*HostNameView) Title ¶
func (hv *HostNameView) Title() string
Title returns the title of the view.
Click to show internal directories.
Click to hide internal directories.