Documentation
¶
Index ¶
- type AboutModal
- type Autofocused
- type Breadcrumbs
- type CopyableInput
- type DataShell
- type EmptyState
- type ExpandableSection
- type FileExplorer
- type FileGrid
- type FormGroup
- type Home
- type Modal
- type Navbar
- type Notification
- type NotificationDrawer
- type PathPickerToolbar
- type SetupForm
- type SetupShell
- type Status
- type Switch
- type TextEditor
- type TextEditorWrapper
- type UpdateNotification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 Autofocused ¶
func (*Autofocused) OnUpdate ¶
func (c *Autofocused) OnUpdate(ctx app.Context)
func (*Autofocused) Render ¶
func (c *Autofocused) Render() app.UI
type Breadcrumbs ¶
type Breadcrumbs struct { app.Compo PathComponents []string CurrentPath string SetCurrentPath func(string) SelectedPath string SetSelectedPath func(string) }
func (*Breadcrumbs) Render ¶
func (c *Breadcrumbs) Render() app.UI
type CopyableInput ¶
func (*CopyableInput) Render ¶
func (c *CopyableInput) Render() app.UI
type DataShell ¶
type DataShell struct { app.Compo // Config file editor ConfigFile string SetConfigFile func(string) FormatConfigFile func() RefreshConfigFile func() SaveConfigFile func() ConfigFileError error IgnoreConfigFileError func() // File explorer CurrentPath string SetCurrentPath func(string) Index []os.FileInfo RefreshIndex func() WriteToPath func(string, []byte) CreatePath func(string) CreateEmptyFile func(string) DeletePath func(string) MovePath func(string, string) CopyPath func(string, string) EditPathContents string SetEditPathContents func(string) EditPath func(string) WebDAVAddress url.URL WebDAVUsername string WebDAVPassword string OperationIndex []os.FileInfo OperationCurrentPath string OperationSetCurrentPath func(string) FileExplorerError error RecoverFileExplorerError func(app.Context) IgnoreFileExplorerError func() Events []providers.Event EventsError error RecoverEventsError func(app.Context) IgnoreEventsError func() // Identity UserInfo oidc.UserInfo Logout func(app.Context) // Metadata UseAdvertisedIP bool SetUseAdvertisedIP func(bool) UseAdvertisedIPForWebDAV bool SetUseAdvertisedIPForWebDAV func(bool) SetUseHTTPS func(bool) SetUseDavs func(bool) // contains filtered or unexported fields }
type EmptyState ¶
func (*EmptyState) Render ¶
func (c *EmptyState) Render() app.UI
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 FileExplorer ¶
type FileExplorer struct { app.Compo CurrentPath string SetCurrentPath func(string) Index []os.FileInfo RefreshIndex func() WriteToPath func(string, []byte) CreatePath func(string) CreateEmptyFile func(string) DeletePath func(string) MovePath func(string, string) CopyPath func(string, string) EditPathContents string SetEditPathContents func(string) EditPath func(string) WebDAVAddress url.URL WebDAVUsername string WebDAVPassword string OperationIndex []os.FileInfo OperationCurrentPath string OperationSetCurrentPath func(string) UseAdvertisedIP bool SetUseAdvertisedIP func(bool) UseAdvertisedIPForWebDAV bool SetUseAdvertisedIPForWebDAV func(bool) SetUseHTTPS func(bool) SetUseDavs func(bool) Nested bool GetContentType func(os.FileInfo) string // contains filtered or unexported fields }
func (*FileExplorer) Render ¶
func (c *FileExplorer) Render() app.UI
type FileGrid ¶
type Modal ¶
type Notification ¶
type NotificationDrawer ¶
type NotificationDrawer struct { app.Compo Notifications []Notification EmptyState app.UI }
func (*NotificationDrawer) Render ¶
func (c *NotificationDrawer) Render() app.UI
type PathPickerToolbar ¶
type PathPickerToolbar struct { app.Compo Index []os.FileInfo RefreshIndex func() PathComponents []string CurrentPath string SetCurrentPath func(string) SelectedPath string SetSelectedPath func(string) OpenCreateDirectoryModal func() }
func (*PathPickerToolbar) Render ¶
func (c *PathPickerToolbar) Render() app.UI
type SetupForm ¶
type SetupForm struct { app.Compo Error error ErrorMessage string BackendURL string SetBackendURL func(string, app.Context) OIDCIssuer string SetOIDCIssuer func(string, app.Context) OIDCClientID string SetOIDCClientID func(string, app.Context) OIDCRedirectURL string SetOIDCRedirectURL func(string, app.Context) Submit func(app.Context) }
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, app.Context) ApplyConfig func(app.Context) Error error }
func (*SetupShell) Render ¶
func (c *SetupShell) Render() app.UI
type Status ¶
type Switch ¶
type TextEditor ¶
type TextEditor struct { app.Compo Content string SetContent func(string) Format func() Refresh func() Save func() Language string VariableHeight bool }
func (*TextEditor) Render ¶
func (c *TextEditor) Render() app.UI
type TextEditorWrapper ¶
type TextEditorWrapper struct { app.Compo Title string HelpLink string Children app.UI Error error ErrorDescription string Ignore func() }
func (*TextEditorWrapper) Render ¶
func (c *TextEditorWrapper) Render() app.UI
type UpdateNotification ¶
type UpdateNotification struct { app.Compo UpdateTitle string UpdateDescription string StartUpdateText string IgnoreUpdateText string // contains filtered or unexported fields }
func (*UpdateNotification) OnMount ¶
func (c *UpdateNotification) OnMount(ctx app.Context)
func (*UpdateNotification) Render ¶
func (c *UpdateNotification) Render() app.UI
Source Files
¶
- about_modal.go
- autofocused.go
- breadcrumbs.go
- copyable_input.go
- data_shell.go
- empty_state.go
- expandable_section.go
- file_explorer.go
- file_grid.go
- form_group.go
- home.go
- modal.go
- navbar.go
- notification_drawer.go
- path_picker_toolbar.go
- setup_form.go
- setup_shell.go
- status.go
- switch.go
- text_editor.go
- text_editor_wrapper.go
- update_notification.go
Click to show internal directories.
Click to hide internal directories.