widgets

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoReconnectDevices added in v1.0.2

func AutoReconnectDevices(sshManager *pssh.SSHManager, parentWindow fyne.Window)

AutoReconnectDevices attempts to reconnect devices that were previously connected

func CreateDevicesTable

func CreateDevicesTable() *fyne.Container

CreateDevicesTable creates a table widget to display discovered devices

func CreateDevicesTableWithWindow

func CreateDevicesTableWithWindow(parentWindow fyne.Window, app fyne.App) *fyne.Container

CreateDevicesTableWithWindow creates a table widget with SSH functionality

func CreateSettingsTab

func CreateSettingsTab(parentWindow fyne.Window) *container.Scroll

CreateSettingsTab creates the settings tab content

func TriggerAutoReconnect added in v1.0.2

func TriggerAutoReconnect(sshManager *pssh.SSHManager, parentWindow fyne.Window)

TriggerAutoReconnect triggers auto-reconnection for devices loaded from database

Types

type Script added in v1.0.2

type Script struct {
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	Content     string `yaml:"content"`
	Category    string `yaml:"category"`
}

Script represents a script template from the YAML file

type ScriptCollection added in v1.0.2

type ScriptCollection struct {
	Scripts []Script `yaml:"scripts"`
}

ScriptCollection represents the collection of scripts from the YAML file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL