Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Adembc/lazyssh
/ functions
Functions
299 in github.com/Adembc/lazyssh
⨍
Functions
299
◇
Types & classes
26
↓ 1 callers
Function
NewRepository
NewRepository creates a new SSH config repository.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:35
↓ 1 callers
Function
NewSearchBar
()
internal/adapters/ui/search_bar.go:28
↓ 1 callers
Function
NewServerDetails
()
internal/adapters/ui/server_details.go:30
↓ 1 callers
Function
NewServerList
()
internal/adapters/ui/server_list.go:30
↓ 1 callers
Function
NewServerService
NewServerService creates a new instance of serverService.
internal/core/services/server_service.go:45
↓ 1 callers
Function
NewStatusBar
()
internal/adapters/ui/status_bar.go:26
↓ 1 callers
Function
NewTUI
(logger *zap.SugaredLogger, ss ports.ServerService, version, commit string)
internal/adapters/ui/tui.go:51
↓ 1 callers
Method
OnEscape
(fn func())
internal/adapters/ui/search_bar.go:67
↓ 1 callers
Method
OnSearch
(fn func(string))
internal/adapters/ui/search_bar.go:62
↓ 1 callers
Method
OnSelectionChange
(fn func(server domain.Server))
internal/adapters/ui/server_list.go:92
↓ 1 callers
Method
Ping
(server domain.Server)
internal/core/ports/services.go:34
↓ 1 callers
Method
Reverse
Reverse flips the direction within the current field.
internal/adapters/ui/sort.go:66
↓ 1 callers
Method
SSH
(alias string)
internal/core/ports/services.go:29
↓ 1 callers
Method
SSHWithArgs
(alias string, extraArgs []string)
internal/core/ports/services.go:30
↓ 1 callers
Method
ShowEmpty
()
internal/adapters/ui/server_details.go:221
↓ 1 callers
Method
StartForward
(alias string, extraArgs []string)
internal/core/ports/services.go:31
↓ 1 callers
Method
StopForwarding
(alias string)
internal/core/ports/services.go:32
↓ 1 callers
Method
ToggleField
ToggleField switches between Alias and LastSeen while preserving direction.
internal/adapters/ui/sort.go:50
↓ 1 callers
Function
addAuthOptions
addAuthOptions adds authentication-related options to the SSH command
internal/adapters/ui/utils.go:274
↓ 1 callers
Function
addCommandExecutionOptions
addCommandExecutionOptions adds command execution options to the SSH command
internal/adapters/ui/utils.go:361
↓ 1 callers
Function
addConnectionOptions
addConnectionOptions adds connection reliability options to the SSH command
internal/adapters/ui/utils.go:342
↓ 1 callers
Function
addConnectionTimingOptions
addConnectionTimingOptions adds connection timing options to the SSH command
internal/adapters/ui/utils.go:232
↓ 1 callers
Function
addEnvironmentOptions
addEnvironmentOptions adds environment variable options to the SSH command
internal/adapters/ui/utils.go:374
↓ 1 callers
Function
addForwardingOptions
addForwardingOptions adds agent and X11 forwarding options to the SSH command
internal/adapters/ui/utils.go:308
↓ 1 callers
Function
addMultiplexingOptions
addMultiplexingOptions adds connection multiplexing options to the SSH command
internal/adapters/ui/utils.go:329
↓ 1 callers
Function
addPortForwardingOptions
addPortForwardingOptions adds port forwarding options to the SSH command
internal/adapters/ui/utils.go:252
↓ 1 callers
Function
addProxyOptions
addProxyOptions adds proxy-related options to the SSH command
internal/adapters/ui/utils.go:224
↓ 1 callers
Function
addSecurityOptions
addSecurityOptions adds security-related options to the SSH command
internal/adapters/ui/utils.go:384
↓ 1 callers
Function
addTTYAndLoggingOptions
addTTYAndLoggingOptions adds TTY and logging options to the SSH command
internal/adapters/ui/utils.go:424
↓ 1 callers
Method
bindEvents
()
internal/adapters/ui/tui.go:127
↓ 1 callers
Method
build
()
internal/adapters/ui/server_form.go:116
↓ 1 callers
Method
build
()
internal/adapters/ui/search_bar.go:36
↓ 1 callers
Method
build
()
internal/adapters/ui/server_list.go:38
↓ 1 callers
Method
build
()
internal/adapters/ui/header.go:43
↓ 1 callers
Method
build
()
internal/adapters/ui/server_details.go:38
↓ 1 callers
Method
buildCenterSection
(bg tcell.Color)
internal/adapters/ui/header.go:72
↓ 1 callers
Method
buildComponents
()
internal/adapters/ui/tui.go:90
↓ 1 callers
Function
buildFileValidationError
buildFileValidationError builds an error message from invalid and inaccessible file paths
internal/adapters/ui/validation.go:381
↓ 1 callers
Method
buildLayout
()
internal/adapters/ui/tui.go:108
↓ 1 callers
Method
buildLeftSection
(bg tcell.Color)
internal/adapters/ui/header.go:62
↓ 1 callers
Method
buildRightSection
(bg tcell.Color)
internal/adapters/ui/header.go:96
↓ 1 callers
Method
calculateVisibleRange
(currentIdx, visibleCount, totalTabs int)
internal/adapters/ui/server_form.go:314
↓ 1 callers
Method
calculateVisibleTabCount
(availableWidth int)
internal/adapters/ui/server_form.go:293
↓ 1 callers
Method
createAdvancedForm
createAdvancedForm creates the Advanced settings tab
internal/adapters/ui/server_form.go:1545
↓ 1 callers
Method
createAuthenticationForm
createAuthenticationForm creates the Authentication tab
internal/adapters/ui/server_form.go:1477
↓ 1 callers
Method
createBackup
createBackup creates a timestamped backup of the current config file
internal/adapters/data/ssh_config_file/backup.go:28
↓ 1 callers
Method
createBasicForm
createBasicForm creates the Basic configuration tab
internal/adapters/ui/server_form.go:1240
↓ 1 callers
Method
createConnectionForm
createConnectionForm creates the Connection & Proxy tab
internal/adapters/ui/server_form.go:1269
↓ 1 callers
Method
createForwardingForm
createForwardingForm creates the Port Forwarding tab
internal/adapters/ui/server_form.go:1363
↓ 1 callers
Method
createHostFromServer
createHostFromServer creates a new ssh_config.Host from a domain.Server.
internal/adapters/data/ssh_config_file/crud.go:95
↓ 1 callers
Method
createKnownHostsAutocomplete
createKnownHostsAutocomplete creates an autocomplete function for known_hosts file paths
internal/adapters/ui/server_form.go:780
↓ 1 callers
Method
createOriginalBackupIfNeeded
createOriginalBackupIfNeeded creates a one-time original backup of the current SSH config.
internal/adapters/data/ssh_config_file/backup.go:130
↓ 1 callers
Method
createSSHKeyAutocomplete
createSSHKeyAutocomplete creates an autocomplete function for SSH key file paths
internal/adapters/ui/server_form.go:703
↓ 1 callers
Method
createSeparator
()
internal/adapters/ui/header.go:106
↓ 1 callers
Method
createTempFile
createTempFile creates a temporary file in the specified directory
internal/adapters/data/ssh_config_file/config_io.go:111
↓ 1 callers
Method
deleteServer
(alias string)
internal/adapters/data/ssh_config_file/metadata_manager.go:123
↓ 1 callers
Method
determineDisplayMode
(width int)
internal/adapters/ui/server_form.go:229
↓ 1 callers
Method
ensureDirectory
()
internal/adapters/data/ssh_config_file/metadata_manager.go:167
↓ 1 callers
Method
filterServers
filterServers filters servers based on the query string.
internal/adapters/data/ssh_config_file/crud.go:34
↓ 1 callers
Method
findBackupFiles
findBackupFiles finds all backup files for the given config file
internal/adapters/data/ssh_config_file/backup.go:106
↓ 1 callers
Function
formatDefaultValue
formatDefaultValue formats the default value for display in help
internal/adapters/ui/field_help.go:52
↓ 1 callers
Method
formatDetailedHelp
formatDetailedHelp formats detailed help content for a field
internal/adapters/ui/server_form.go:473
↓ 1 callers
Function
formatServerLine
(s domain.Server)
internal/adapters/ui/utils.go:84
↓ 1 callers
Method
getCurrentTabIndex
()
internal/adapters/ui/server_form.go:205
↓ 1 callers
Method
getProperKeyCase
getProperKeyCase returns the proper case for known SSH config keys. Reference: https://www.ssh.com/academy/ssh/config
internal/adapters/data/ssh_config_file/crud.go:415
↓ 1 callers
Method
handleCopyCommand
()
internal/adapters/ui/handlers.go:131
↓ 1 callers
Method
handleFormCancel
()
internal/adapters/ui/handlers.go:249
↓ 1 callers
Method
handleNavigateDown
()
internal/adapters/ui/handlers.go:148
↓ 1 callers
Method
handleNavigateUp
()
internal/adapters/ui/handlers.go:160
↓ 1 callers
Method
handlePingSelected
()
internal/adapters/ui/handlers.go:253
↓ 1 callers
Method
handlePortForward
()
internal/adapters/ui/handlers.go:388
↓ 1 callers
Method
handleQuit
()
internal/adapters/ui/handlers.go:105
↓ 1 callers
Method
handleRefreshBackground
handleRefreshBackground refreshes the server list in the background without leaving the current screen. It preserves the current search query and sele
internal/adapters/ui/handlers.go:281
↓ 1 callers
Method
handleSearchFocus
()
internal/adapters/ui/handlers.go:180
↓ 1 callers
Method
handleServerAdd
()
internal/adapters/ui/handlers.go:200
↓ 1 callers
Method
handleServerConnect
()
internal/adapters/ui/handlers.go:186
↓ 1 callers
Method
handleServerDelete
()
internal/adapters/ui/handlers.go:243
↓ 1 callers
Method
handleServerEdit
()
internal/adapters/ui/handlers.go:209
↓ 1 callers
Method
handleServerPin
()
internal/adapters/ui/handlers.go:109
↓ 1 callers
Method
handleSortReverse
()
internal/adapters/ui/handlers.go:124
↓ 1 callers
Method
handleSortToggle
()
internal/adapters/ui/handlers.go:117
↓ 1 callers
Method
handleStopForwarding
Stop any active port forwarding for the selected server.
internal/adapters/ui/handlers.go:579
↓ 1 callers
Method
handleTagsEdit
()
internal/adapters/ui/handlers.go:142
↓ 1 callers
Method
hasUnsavedChanges
hasUnsavedChanges checks if current form data differs from original
internal/adapters/ui/server_form.go:2010
↓ 1 callers
Function
humanizeDuration
(t time.Time)
internal/adapters/ui/utils.go:102
↓ 1 callers
Method
initializeTheme
()
internal/adapters/ui/tui.go:78
↓ 1 callers
Function
isNumericDottedFormat
isNumericDottedFormat checks if the address looks like an IP address (contains only dots and digits)
internal/adapters/ui/validation.go:638
↓ 1 callers
Method
loadInitialData
()
internal/adapters/ui/tui.go:132
↓ 1 callers
Method
mapAuthenticationConfig
mapAuthenticationConfig maps authentication-related fields
internal/adapters/data/ssh_config_file/mapper.go:200
↓ 1 callers
Method
mapBasicConfig
mapBasicConfig maps basic SSH configuration fields
internal/adapters/data/ssh_config_file/mapper.go:94
↓ 1 callers
Method
mapConnectionConfig
mapConnectionConfig maps connection and proxy configuration fields
internal/adapters/data/ssh_config_file/mapper.go:114
↓ 1 callers
Method
mapDebugConfig
mapDebugConfig maps debugging-related fields
internal/adapters/data/ssh_config_file/mapper.go:284
↓ 1 callers
Method
mapEnvironmentConfig
mapEnvironmentConfig maps environment and command execution fields
internal/adapters/data/ssh_config_file/mapper.go:265
↓ 1 callers
Method
mapForwardingConfig
mapForwardingConfig maps port forwarding and agent forwarding fields
internal/adapters/data/ssh_config_file/mapper.go:173
↓ 1 callers
Method
mapKVToServer
mapKVToServer maps an ssh_config.KV node to the corresponding fields in domain.Server.
internal/adapters/data/ssh_config_file/mapper.go:67
↓ 1 callers
Method
mapSecurityConfig
mapSecurityConfig maps security-related fields
internal/adapters/data/ssh_config_file/mapper.go:232
↓ 1 callers
Method
matchesQuery
matchesQuery checks if any field of the server matches the query string.
internal/adapters/data/ssh_config_file/crud.go:48
↓ 1 callers
Method
mergeMetadata
mergeMetadata merges additional metadata into the servers.
internal/adapters/data/ssh_config_file/mapper.go:295
↓ 1 callers
Function
parseOptionValue
parseOptionValue extracts the actual value from an option (handles "default [gray](value)[-]" format)
internal/adapters/ui/server_form.go:634
↓ 1 callers
Method
parseSessionType
parseSessionType converts dropdown display value to actual value
internal/adapters/ui/server_form.go:1852
← previous
next →
101–200 of 299, ranked by callers