Documentation
¶
Index ¶
- Constants
- func ModalNetStateJSONPage(ns *net.NetState, pages *tview.Pages) (*tview.Modal, error)
- type Controller
- type UI
- func (u *UI) GetApp() *tview.Application
- func (u *UI) GetPages() *tview.Pages
- func (u *UI) HideAdditionalChecks()
- func (u *UI) HideSplashScreen()
- func (u *UI) IsDirty() bool
- func (u *UI) IsNMTuiActive() bool
- func (u *UI) IsSplashScreenActive() bool
- func (u *UI) IsTimeoutDialogActive() bool
- func (u *UI) ModalTreeView(netState net.NetState) (tview.Primitive, error)
- func (u *UI) SetDNSCheck(cr checks.CheckResult)
- func (u *UI) SetHttpGetCheck(cr checks.CheckResult)
- func (u *UI) SetPingCheck(cr checks.CheckResult)
- func (u *UI) SetPullCheck(cr checks.CheckResult)
- func (u *UI) ShowAdditionalChecks()
- func (u *UI) ShowNMTUI() error
- func (u *UI) ShowSplashScreen()
- func (u *UI) ShowTimeoutDialog()
- func (u *UI) TreeView(netState net.NetState) (*tview.TreeView, error)
Constants ¶
View Source
const ( CONFIGURE_NETWORK_LABEL string = "Configure Networking" RELEASE_IMAGE_LABEL string = "Release Image" CONFIGURE_BUTTON string = "<Configure network>" QUIT_BUTTON string = "<Quit>" PAGE_CHECKSCREEN string = "checkScreen" )
View Source
const ( YES_BUTTON string = "<Yes>" NO_BUTTON string = "<No>" PAGE_TIMEOUTSCREEN string = "timeout" )
View Source
const (
PAGE_SPLASHSCREEN string = "splashscreen"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller
func NewController ¶
func NewController(ui *UI) *Controller
func (*Controller) GetChan ¶
func (c *Controller) GetChan() chan checks.CheckResult
func (*Controller) Init ¶
func (c *Controller) Init(numChecks int)
type UI ¶
type UI struct {
// contains filtered or unexported fields
}
func (*UI) GetApp ¶
func (u *UI) GetApp() *tview.Application
func (*UI) HideAdditionalChecks ¶
func (u *UI) HideAdditionalChecks()
func (*UI) HideSplashScreen ¶
func (u *UI) HideSplashScreen()
func (*UI) IsNMTuiActive ¶
func (*UI) IsSplashScreenActive ¶
func (*UI) IsTimeoutDialogActive ¶
func (*UI) ModalTreeView ¶
func (*UI) SetDNSCheck ¶
func (u *UI) SetDNSCheck(cr checks.CheckResult)
func (*UI) SetHttpGetCheck ¶
func (u *UI) SetHttpGetCheck(cr checks.CheckResult)
func (*UI) SetPingCheck ¶
func (u *UI) SetPingCheck(cr checks.CheckResult)
func (*UI) SetPullCheck ¶
func (u *UI) SetPullCheck(cr checks.CheckResult)
func (*UI) ShowAdditionalChecks ¶
func (u *UI) ShowAdditionalChecks()
func (*UI) ShowSplashScreen ¶
func (u *UI) ShowSplashScreen()
func (*UI) ShowTimeoutDialog ¶
func (u *UI) ShowTimeoutDialog()
Click to show internal directories.
Click to hide internal directories.