Documentation
¶
Index ¶
- func GetPortID(port providers.Port) string
- type AboutModal
- type Controlled
- type DataShell
- type ExpandableSection
- type FormGroup
- type Home
- type Inspector
- type MobileMetadata
- type Modal
- type Navbar
- type NodeTable
- type Notification
- type NotificationDrawer
- type PortList
- type PortSelectionList
- type ProgressButton
- type Property
- type SettingsForm
- type SetupForm
- type SetupShell
- type Status
- type Toolbar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AboutModal ¶
type AboutModal struct {
app.Compo
Open bool
Close func()
ID string
LogoSrc string
LogoAlt string
Title string
Body app.UI
}
func (*AboutModal) OnMount ¶
func (c *AboutModal) OnMount(ctx app.Context)
func (*AboutModal) Render ¶
func (c *AboutModal) Render() app.UI
type Controlled ¶
func (*Controlled) Render ¶
func (c *Controlled) Render() app.UI
type DataShell ¶
type DataShell struct {
app.Compo
Network providers.Network
UserInfo oidc.UserInfo
TriggerNetworkScan func(nodeScanTimeout int64, portScanTimeout int64, macAddress string)
StartNodeWake func(nodeWakeTimeout int64, macAddress string)
Logout func()
Error error
Recover func()
Ignore func()
// contains filtered or unexported fields
}
type ExpandableSection ¶
type ExpandableSection struct {
app.Compo
Open bool
OnToggle func()
Title string
ClosedTitle string
OpenTitle string
Body []app.UI
}
func (*ExpandableSection) Render ¶
func (c *ExpandableSection) Render() app.UI
type Inspector ¶
type MobileMetadata ¶
func (*MobileMetadata) Render ¶
func (c *MobileMetadata) Render() app.UI
type Modal ¶
type NodeTable ¶
type Notification ¶
type NotificationDrawer ¶
type NotificationDrawer struct {
app.Compo
Notifications []Notification
}
func (*NotificationDrawer) Render ¶
func (c *NotificationDrawer) Render() app.UI
type PortSelectionList ¶
type PortSelectionList struct {
app.Compo
Ports []providers.Port
SelectedPort string
SetSelectedPort func(string)
}
func (*PortSelectionList) Render ¶
func (c *PortSelectionList) Render() app.UI
type ProgressButton ¶
type ProgressButton struct {
app.Compo
Loading bool
Icon string
Text string
Secondary bool
Classes string
OnClick func(ctx app.Context, e app.Event)
}
func (*ProgressButton) Render ¶
func (c *ProgressButton) Render() app.UI
type SettingsForm ¶
type SettingsForm struct {
app.Compo
NodeScanTimeout int64
SetNodeScanTimeout func(int64)
PortScanTimeout int64
SetPortScanTimeout func(int64)
NodeWakeTimeout int64
SetNodeWakeTimeout func(int64)
Submit func()
}
func (*SettingsForm) Render ¶
func (c *SettingsForm) Render() app.UI
type SetupForm ¶
type SetupShell ¶
type SetupShell struct {
app.Compo
LogoSrc string
Title string
ShortDescription string
LongDescription string
HelpLink string
Links map[string]string
BackendURL string
OIDCIssuer string
OIDCClientID string
OIDCRedirectURL string
SetBackendURL,
SetOIDCIssuer,
SetOIDCClientID,
SetOIDCRedirectURL func(string)
ApplyConfig func()
Error error
}
func (*SetupShell) Render ¶
func (c *SetupShell) Render() app.UI
Source Files
¶
Click to show internal directories.
Click to hide internal directories.