Documentation ¶
Index ¶
- Constants
- type AppComponent
- type DataProviderChildrenProps
- type DataProviderComponent
- type DefinitionComponent
- type DrawerComponent
- type ExpandableSectionComponent
- type ExpandableSectionComponentContent
- type FatalErrorPageComponent
- type LabelCollectionComponent
- type LoadingPageComponent
- type NavbarComponent
- type NodeInspectorComponent
- type OIDCLoginProviderChildrenProps
- type OIDCLoginProviderComponent
- type OnOffSwitchCheckboxComponent
- type OnOffSwitchComponent
- type SearchLinkComponent
- type ServiceInspectorComponent
- type TableComponent
- type ToolbarComponent
- type TooltipComponent
Constants ¶
View Source
const (
AUTHORIZATION_METADATA_KEY = "X-Liwasc-Authorization"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppComponent ¶
type AppComponent struct { app.Compo UserAvatar string UserName string Logout func() Subnets []string Device string NodeSearchValue string Nodes []*models.Node InspectorSearchValue string Connected bool Scanning bool TriggerNetworkScan func() // contains filtered or unexported fields }
func (*AppComponent) Render ¶
func (c *AppComponent) Render() app.UI
type DataProviderComponent ¶
type DataProviderComponent struct { app.Compo IDToken string NetworkAndNodeScanServiceClient proto.NetworkAndNodeScanServiceClient NodeWakeServiceClient proto.NodeWakeServiceClient MetadataServiceClient proto.MetadataServiceClient Children func(DataProviderChildrenProps) app.UI // contains filtered or unexported fields }
func (*DataProviderComponent) OnMount ¶
func (c *DataProviderComponent) OnMount(ctx app.Context)
func (*DataProviderComponent) Render ¶
func (c *DataProviderComponent) Render() app.UI
type DefinitionComponent ¶
func (*DefinitionComponent) Render ¶
func (c *DefinitionComponent) Render() app.UI
type DrawerComponent ¶
type DrawerComponent struct { app.Compo Open bool Title app.UI Main app.UI Details app.UI Actions []app.UI }
func (*DrawerComponent) Render ¶
func (c *DrawerComponent) Render() app.UI
type ExpandableSectionComponent ¶
type ExpandableSectionComponent struct { app.Compo Open bool Title string Content app.UI OnToggleClick func(ctx app.Context, e app.Event) }
func (*ExpandableSectionComponent) Render ¶
func (c *ExpandableSectionComponent) Render() app.UI
type ExpandableSectionComponentContent ¶
func (*ExpandableSectionComponentContent) Render ¶
func (c *ExpandableSectionComponentContent) Render() app.UI
type FatalErrorPageComponent ¶
type FatalErrorPageComponent struct { app.Compo Header string Description string StackTraceLanguage string StackTraceContent string Actions []app.UI }
func (*FatalErrorPageComponent) Render ¶
func (c *FatalErrorPageComponent) Render() app.UI
type LabelCollectionComponent ¶
func (*LabelCollectionComponent) Render ¶
func (c *LabelCollectionComponent) Render() app.UI
type LoadingPageComponent ¶
func (*LoadingPageComponent) Render ¶
func (c *LoadingPageComponent) Render() app.UI
type NavbarComponent ¶
type NavbarComponent struct {}
func (*NavbarComponent) Render ¶
func (c *NavbarComponent) Render() app.UI
type NodeInspectorComponent ¶
type NodeInspectorComponent struct { app.Compo Node *models.Node ServicesAndPortsOpen bool DetailsOpen bool SearchValue string OnServicesAndPortsToggle func(ctx app.Context, e app.Event) OnDetailsToggle func(ctx app.Context, e app.Event) OnSearchChange func(string) OnReScanClick func(ctx app.Context, e app.Event) OnServiceClick func(int) }
func (*NodeInspectorComponent) Render ¶
func (c *NodeInspectorComponent) Render() app.UI
type OIDCLoginProviderComponent ¶
type OIDCLoginProviderComponent struct { app.Compo Issuer string ClientID string RedirectURL string HomePath string Scopes []string LocalStoragePrefix string Children func(OIDCLoginProviderChildrenProps) app.UI // contains filtered or unexported fields }
func (*OIDCLoginProviderComponent) Render ¶
func (c *OIDCLoginProviderComponent) Render() app.UI
type OnOffSwitchCheckboxComponent ¶
type OnOffSwitchCheckboxComponent struct { app.Compo On bool OnToggle func(ctx app.Context, e app.Event) }
func (*OnOffSwitchCheckboxComponent) Render ¶
func (c *OnOffSwitchCheckboxComponent) Render() app.UI
type OnOffSwitchComponent ¶
type OnOffSwitchComponent struct { app.Compo On bool OnToggleClick func(ctx app.Context, e app.Event) }
func (*OnOffSwitchComponent) Render ¶
func (c *OnOffSwitchComponent) Render() app.UI
type SearchLinkComponent ¶
func (*SearchLinkComponent) Render ¶
func (c *SearchLinkComponent) Render() app.UI
type ServiceInspectorComponent ¶
func (*ServiceInspectorComponent) Render ¶
func (c *ServiceInspectorComponent) Render() app.UI
type TableComponent ¶
type TableComponent struct { app.Compo Nodes []*models.Node SelectedNode int OnRowClick func(int) OnPowerToggle func(int) }
func (*TableComponent) Render ¶
func (c *TableComponent) Render() app.UI
Click to show internal directories.
Click to hide internal directories.