MCPcopy Index your code

hub / github.com/Adembc/lazyssh / functions

Functions299 in github.com/Adembc/lazyssh

↓ 1 callersFunctionpinnedIcon
(pinnedAt time.Time)
internal/adapters/ui/utils.go:76
↓ 1 callersMethodrecordSSH
(alias string)
internal/adapters/data/ssh_config_file/metadata_manager.go:152
↓ 1 callersMethodremoveHostByAlias
removeHostByAlias removes a host by its alias from the list of hosts.
internal/adapters/data/ssh_config_file/crud.go:568
↓ 1 callersMethodremoveKVNode
removeKVNode removes a key-value node from the host if it exists.
internal/adapters/data/ssh_config_file/crud.go:400
↓ 1 callersMethodrenderScrollableTabs
(currentIdx, width int)
internal/adapters/ui/server_form.go:259
↓ 1 callersFunctionrenderTagBadgesForList
renderTagBadgesForList renders up to two colored tag chips for the server list. If there are more tags, it appends a subtle gray "+N" badge. Returns a
internal/adapters/ui/utils.go:46
↓ 1 callersFunctionrenderTagChips
renderTagChips builds colored tag chips for details view.
internal/adapters/ui/server_details.go:49
↓ 1 callersFunctionresolveSSHDestination
resolveSSHDestination uses `ssh -G <alias>` to extract HostName and Port from the user's SSH config. Returns host, port, ok where ok=false if resoluti
internal/core/services/server_service.go:342
↓ 1 callersMethodserversDiffer
serversDiffer compares two servers for differences using reflection
internal/adapters/ui/server_form.go:2036
↓ 1 callersFunctionsetDetach
setDetach configures SysProcAttr to detach the process on non-Windows platforms.
internal/core/services/sysprocattr_unix.go:8
↓ 1 callersMethodsetPinned
(alias string, pinned bool)
internal/adapters/data/ssh_config_file/metadata_manager.go:134
↓ 1 callersMethodsetupKeyboardShortcuts
Note: toggleHelp and rebuildLayout were removed due to hang issues The help panel is now always visible on the right side
internal/adapters/ui/server_form.go:524
↓ 1 callersFunctionshortCommit
shortCommit returns first 7 chars of commit if it looks valid; otherwise empty string.
internal/adapters/ui/header.go:114
↓ 1 callersMethodshowDeleteConfirmModal
============================================================================= UI Display Functions (show UI elements/modals) =========================
internal/adapters/ui/handlers.go:317
↓ 1 callersMethodshowEditTagsForm
(server domain.Server)
internal/adapters/ui/handlers.go:353
↓ 1 callersMethodshowPortForwardForm
(server domain.Server)
internal/adapters/ui/handlers.go:394
↓ 1 callersMethodslicesEqual
slicesEqual compares two reflect.Value slices for equality
internal/adapters/ui/server_form.go:2109
↓ 1 callersMethodtoDomainServer
toDomainServer converts ssh_config.Config to a slice of domain.Server.
internal/adapters/data/ssh_config_file/mapper.go:27
↓ 1 callersMethodupdateHostNodes
updateHostNodes updates the nodes of an existing host with new server details.
internal/adapters/data/ssh_config_file/crud.go:262
↓ 1 callersMethodupdateOrAddKVNode
updateOrAddKVNode updates an existing key-value node or adds a new one if it doesn't exist.
internal/adapters/data/ssh_config_file/crud.go:380
↓ 1 callersFunctionvalidateAddressLabels
validateAddressLabels validates labels in a bind address
internal/adapters/ui/validation.go:698
↓ 1 callersMethodvalidateAllFields
validateAllFields validates all fields in the current form
internal/adapters/ui/server_form.go:1024
↓ 1 callersFunctionvalidateBindHostname
validateBindHostname validates a hostname for bind address (more permissive than regular hostname)
internal/adapters/ui/validation.go:648
↓ 1 callersFunctionvalidateDynamicForward
validateDynamicForward validates dynamic port forwarding specification
internal/adapters/ui/validation.go:574
↓ 1 callersFunctionvalidateFilePath
validateFilePath validates a single file path for existence and readability
internal/adapters/ui/validation.go:338
↓ 1 callersFunctionvalidateHostLabel
validateHostLabel validates a single hostname label
internal/adapters/ui/validation.go:506
↓ 1 callersFunctionvalidateHostLabels
validateHostLabels validates each label in a hostname
internal/adapters/ui/validation.go:495
↓ 1 callersFunctionvalidateHostname
validateHostname validates a hostname (not IP)
internal/adapters/ui/validation.go:471
↓ 1 callersFunctionvalidateKeyPaths
validateKeyPaths validates SSH key file paths (comma-separated)
internal/adapters/ui/validation.go:440
↓ 1 callersFunctionvalidatePortForward
validatePortForward validates port forwarding specification
internal/adapters/ui/validation.go:520
↓ 1 callersMethodwriteConfigToFile
writeConfigToFile writes the SSH config content to the specified file
internal/adapters/data/ssh_config_file/config_io.go:87
MethodAddServer
(server domain.Server)
internal/core/ports/repositories.go:22
MethodAddServer
AddServer adds a new server to the repository.
internal/core/services/server_service.go:126
MethodAddServer
AddServer adds a new server to the SSH config.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:77
MethodChmod
(path string, perms os.FileMode)
internal/adapters/data/ssh_config_file/file_system.go:64
MethodCreate
(name string)
internal/adapters/data/ssh_config_file/file_system.go:43
MethodDeleteServer
(server domain.Server)
internal/core/ports/repositories.go:23
MethodDeleteServer
DeleteServer removes a server from the repository.
internal/core/services/server_service.go:139
MethodDeleteServer
DeleteServer removes a server from the SSH config.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:138
MethodGetError
GetError gets the error for a specific field
internal/adapters/ui/validation.go:61
FunctionGetSSHFieldDefaultWithFallback
GetSSHFieldDefaultWithFallback returns the default value for a given SSH field with a fallback value if no default is defined
internal/adapters/ui/defaults.go:123
MethodIsForwarding
(alias string)
internal/core/ports/services.go:33
MethodIsForwarding
IsForwarding reports whether there is at least one active forward for alias.
internal/core/services/server_service.go:306
MethodIsNotExist
(err error)
internal/adapters/data/ssh_config_file/file_system.go:52
MethodListServers
(query string)
internal/core/ports/repositories.go:20
MethodListServers
ListServers returns a list of servers sorted with pinned on top.
internal/core/services/server_service.go:53
MethodListServers
ListServers returns all servers matching the query pattern. Empty query returns all servers.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:56
FunctionNewRepositoryWithFS
NewRepositoryWithFS creates a new SSH config repository with a custom filesystem.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:45
MethodOnSelection
(fn func(server domain.Server))
internal/adapters/ui/server_list.go:87
MethodOpen
(name string)
internal/adapters/data/ssh_config_file/file_system.go:38
MethodOpenFile
(path string, i int, perms os.FileMode)
internal/adapters/data/ssh_config_file/file_system.go:68
MethodPing
Ping checks if the server is reachable on its SSH port.
internal/core/services/server_service.go:313
MethodReadDir
(dir string)
internal/adapters/data/ssh_config_file/file_system.go:73
MethodRecordSSH
RecordSSH increments the SSH access count and updates the last seen timestamp for a server.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:164
MethodRemove
(file string)
internal/adapters/data/ssh_config_file/file_system.go:56
MethodRename
(file string, path string)
internal/adapters/data/ssh_config_file/file_system.go:60
MethodRun
()
internal/adapters/ui/tui.go:61
MethodSSH
SSH starts an interactive SSH session to the given alias using the system's ssh client.
internal/core/services/server_service.go:157
MethodSSHWithArgs
SSHWithArgs runs system ssh with provided extra args (e.g., -L/-R/-D) for the given alias.
internal/core/services/server_service.go:177
MethodSetPinned
(alias string, pinned bool)
internal/core/ports/repositories.go:24
MethodSetPinned
SetPinned sets or clears a pin timestamp for the server alias.
internal/core/services/server_service.go:148
MethodSetPinned
SetPinned sets or unsets the pinned status of a server.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:159
MethodStartForward
StartForward starts ssh port forwarding in the background and tracks the process.
internal/core/services/server_service.go:198
MethodStat
(name string)
internal/adapters/data/ssh_config_file/file_system.go:48
MethodStopForwarding
StopForwarding kills all active forward processes for the alias.
internal/core/services/server_service.go:277
FunctionTestBuildSSHCommand_CompleteCommand
(t *testing.T)
internal/adapters/ui/utils_test.go:126
FunctionTestBuildSSHCommand_PortForwarding
(t *testing.T)
internal/adapters/ui/utils_test.go:24
FunctionTestConvertCLIForwardToConfigFormat
(t *testing.T)
internal/adapters/data/ssh_config_file/crud_test.go:21
FunctionTestConvertConfigForwardToCLIFormat
(t *testing.T)
internal/adapters/data/ssh_config_file/crud_test.go:85
FunctionTestFieldValidatorPatterns
(t *testing.T)
internal/adapters/ui/validation_test.go:185
FunctionTestGetAllCategories
(t *testing.T)
internal/adapters/ui/field_help_test.go:112
FunctionTestGetFieldHelp
(t *testing.T)
internal/adapters/ui/field_help_test.go:21
FunctionTestGetFieldsByCategory
(t *testing.T)
internal/adapters/ui/field_help_test.go:88
FunctionTestHelpContent
(t *testing.T)
internal/adapters/ui/field_help_test.go:139
FunctionTestValidateBindAddress
(t *testing.T)
internal/adapters/ui/validation_test.go:105
FunctionTestValidateDynamicForward
(t *testing.T)
internal/adapters/ui/validation_test.go:80
FunctionTestValidateHost
(t *testing.T)
internal/adapters/ui/validation_test.go:23
FunctionTestValidateKeyPaths
(t *testing.T)
internal/adapters/ui/validation_test.go:138
FunctionTestValidatePortForward
(t *testing.T)
internal/adapters/ui/validation_test.go:52
FunctionTestValidationState_Clear
(t *testing.T)
internal/adapters/ui/validation_test.go:311
FunctionTestValidationState_MultipleErrors
(t *testing.T)
internal/adapters/ui/validation_test.go:270
MethodUpdateServer
(server domain.Server, newServer domain.Server)
internal/core/ports/repositories.go:21
MethodUpdateServer
UpdateServer updates an existing server with new details.
internal/core/services/server_service.go:113
MethodUpdateServer
UpdateServer updates an existing server in the SSH config.
internal/adapters/data/ssh_config_file/ssh_config_file_repo.go:98
MethodUpdateServer
(server domain.Server)
internal/adapters/ui/server_details.go:60
MethodblurSearchBar
============================================================================= UI State Management (hide UI elements) =================================
internal/adapters/ui/handlers.go:529
MethodhandleGlobalKeys
(event *tcell.EventKey)
internal/adapters/ui/handlers.go:40
MethodhandleSaveButton
handleSaveButton is a wrapper for button callback (no return value)
internal/adapters/ui/server_form.go:1872
MethodhandleSearchInput
(query string)
internal/adapters/ui/handlers.go:171
MethodhandleServerSave
(server domain.Server, original *domain.Server)
internal/adapters/ui/handlers.go:220
MethodhandleServerSelectionChange
(server domain.Server)
internal/adapters/ui/handlers.go:196
Functionmain
()
cmd/main.go:35
FunctionsetDetach
setDetach is a no-op on Windows because syscall.SysProcAttr does not have Setsid.
internal/core/services/sysprocattr_windows.go:8
FunctionvalidateConnectTimeout
validateConnectTimeout validates connection timeout
internal/adapters/ui/validation.go:246
FunctionvalidateEscapeChar
validateEscapeChar validates escape character format
internal/adapters/ui/validation.go:291
FunctionvalidateIPQoS
validateIPQoS validates IPQoS values
internal/adapters/ui/validation.go:310
FunctionvalidateKnownHostsFiles
validateKnownHostsFiles validates known_hosts file paths (space-separated)
internal/adapters/ui/validation.go:445
FunctionvalidateNonNegativeNumber
validateNonNegativeNumber validates that a value is a non-negative number
internal/adapters/ui/validation.go:261
FunctionvalidatePasswordPrompts
validatePasswordPrompts validates NumberOfPasswordPrompts
internal/adapters/ui/validation.go:276
← previous201–299 of 299, ranked by callers