Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jetkvm/kvm
/ functions
Functions
2,643 in github.com/jetkvm/kvm
⨍
Functions
2,643
◇
Types & classes
493
↓ 1 callers
Method
Start
()
internal/native/native.go:125
↓ 1 callers
Function
StartGRPCServer
StartGRPCServer starts the gRPC server on a Unix domain socket
internal/native/grpc_server.go:147
↓ 1 callers
Method
String
()
internal/hidrpc/message.go:23
↓ 1 callers
Method
SwitchToScreenIf
SwitchToScreenIf switches to the screen if the screen name is different from the current screen and the screen name is in the shouldSwitch list
internal/native/display.go:132
↓ 1 callers
Function
TimetoRtcTime
(t time.Time)
internal/timesync/rtc_linux.go:13
↓ 1 callers
Method
ToFixtures
(t *testing.T)
internal/ota/ota_test.go:51
↓ 1 callers
Method
ToIPv4Static
ToIPv4Static applies static IPv4 configuration
pkg/nmlite/static.go:35
↓ 1 callers
Method
ToIPv6Static
ToIPv6Static applies static IPv6 configuration
pkg/nmlite/static.go:78
↓ 1 callers
Method
ToJSON
ToJSON returns the lease as a JSON string.
pkg/nmlite/udhcpc/parser.go:33
↓ 1 callers
Method
ToNetworkConfig
()
network.go:33
↓ 1 callers
Method
ToUpdateParams
()
internal/ota/ota_test.go:72
↓ 1 callers
Method
TryLock
TryLock tries to lock the mutex
internal/sync/release.go:25
↓ 1 callers
Method
UIObjSetLabelText
UIObjSetLabelText sets the text of the object
internal/native/display.go:86
↓ 1 callers
Method
UnbindUDC
UnbindUDC unbinds the gadget from the UDC.
internal/usbgadget/udc.go:118
↓ 1 callers
Method
Unlock
Unlock unlocks the mutex
internal/sync/release.go:20
↓ 1 callers
Function
Unmarshal
Unmarshal unmarshals the HID RPC message from the data.
internal/hidrpc/hidrpc.go:49
↓ 1 callers
Method
UpdateLabelIfChanged
UpdateLabelIfChanged updates the label if the text has changed
internal/native/display.go:101
↓ 1 callers
Method
Validate
()
config.go:68
↓ 1 callers
Function
ValidateIPAddress
ValidateIPAddress validates an IP address
pkg/nmlite/link/utils.go:76
↓ 1 callers
Method
VerifySignature
VerifySignature verifies a detached GPG signature against the provided data. The signature should be in binary format (not armored).
internal/ota/gpg.go:223
↓ 1 callers
Method
VerifySignatureFromFile
VerifySignatureFromFile verifies a detached GPG signature against a file. This is more memory-efficient for large files.
internal/ota/gpg.go:239
↓ 1 callers
Method
WaitReady
WaitReady waits for the gRPC connection to be ready
internal/native/grpc_client.go:189
↓ 1 callers
Method
WithTransaction
(fn func() error)
internal/usbgadget/config_tx.go:54
↓ 1 callers
Method
WriteGadgetConfig
()
internal/usbgadget/config_tx.go:143
↓ 1 callers
Method
WriteUDC
()
internal/usbgadget/config_tx.go:319
↓ 1 callers
Method
addReorderSymlinkChange
(path string, target string, deps []string)
internal/usbgadget/config_tx.go:298
↓ 1 callers
Function
alsaCaptureDevice
alsaCaptureDevice returns the ALSA device for the UAC1 gadget card.
audio.go:167
↓ 1 callers
Method
apply
()
pkg/nmlite/jetdhcpc/client.go:373
↓ 1 callers
Method
applyChange
(change *FileChange)
internal/usbgadget/changeset.go:400
↓ 1 callers
Method
applyChanges
()
internal/usbgadget/changeset_resolver.go:116
↓ 1 callers
Function
applyComponentStatusToRPCState
applyComponentStatusToRPCState uses reflection to map componentUpdateStatus fields to RPCState
internal/ota/rpc.go:52
↓ 1 callers
Method
applyDHCPLease
applyDHCPLease applies DHCP lease configuration using ReconcileLinkAddrs
pkg/nmlite/interface.go:807
↓ 1 callers
Method
applyIPv4
()
pkg/nmlite/jetdhcpc/lease.go:177
↓ 1 callers
Method
applyIPv4Config
applyIPv4Config applies IPv4 configuration
pkg/nmlite/interface.go:425
↓ 1 callers
Method
applyIPv4DHCP
applyIPv4DHCP applies DHCP IPv4 configuration
pkg/nmlite/interface.go:497
↓ 1 callers
Method
applyIPv4Static
applyIPv4Static applies static IPv4 configuration
pkg/nmlite/interface.go:465
↓ 1 callers
Method
applyIPv6
()
pkg/nmlite/jetdhcpc/lease.go:181
↓ 1 callers
Method
applyIPv6Config
applyIPv6Config applies IPv6 configuration
pkg/nmlite/interface.go:442
↓ 1 callers
Method
applyIPv6DHCP
applyIPv6DHCP applies DHCPv6 configuration
pkg/nmlite/interface.go:548
↓ 1 callers
Method
applyIPv6LinkLocal
applyIPv6LinkLocal applies link-local only IPv6 configuration
pkg/nmlite/interface.go:604
↓ 1 callers
Method
applyIPv6SLAAC
applyIPv6SLAAC applies SLAAC configuration
pkg/nmlite/interface.go:559
↓ 1 callers
Method
applyIPv6SLAACAndDHCP
applyIPv6SLAACAndDHCP applies SLAAC + DHCPv6 configuration
pkg/nmlite/interface.go:591
↓ 1 callers
Method
applyIPv6Static
applyIPv6Static applies static IPv6 configuration
pkg/nmlite/interface.go:519
↓ 1 callers
Method
attachAudioTrack
attachAudioTrack adds an outgoing audio track when audio is enabled, the USB gadget allows audio, and the browser advertised a codec we support. No-op
webrtc.go:153
↓ 1 callers
Function
attemptUSBRecovery
(state string)
usb.go:172
↓ 1 callers
Function
authenticateSession
(ctx context.Context, c *websocket.Conn, req WebRTCSessionRequest)
cloud.go:399
↓ 1 callers
Function
basicAuthProtectedMiddleware
(requireDeveloperMode bool)
web.go:593
↓ 1 callers
Function
boolPtr
(b bool)
mqtt_discovery.go:99
↓ 1 callers
Function
calculateJitterDuration
(delta time.Duration)
jiggler.go:163
↓ 1 callers
Function
calculateJobDelta
(s gocron.Scheduler)
jiggler.go:154
↓ 1 callers
Function
calculateOTAProgress
calculateOTAProgress computes an overall update percentage (0-100) from the OTA state.
mqtt_publish.go:474
↓ 1 callers
Function
callRPCHandler
call the handler but recover from a panic to ensure our RPC thread doesn't collapse on malformed calls
jsonrpc.go:526
↓ 1 callers
Method
cancelAutoRelease
(key byte)
internal/usbgadget/hid_keyboard.go:207
↓ 1 callers
Function
captureRegion
(videoEl: HTMLVideoElement, rect: Rect)
ui/src/components/OcrOverlay.tsx:105
↓ 1 callers
Function
certToFile
(cert *tls.Certificate, filename string)
internal/websecure/utils.go:74
↓ 1 callers
Method
checkAPI
checkAPI uses the API endpoint to get the public IP address
pkg/myip/check.go:89
↓ 1 callers
Function
checkCloudAuth
()
ui/src/main.tsx:70
↓ 1 callers
Method
checkCloudflare
checkCloudflare uses cdn-cgi/trace to get the public IP address
pkg/myip/check.go:45
↓ 1 callers
Function
checkDeviceAuth
()
ui/src/main.tsx:84
↓ 1 callers
Function
checkFailsafeReason
this function has side effects and can be only executed once
failsafe.go:31
↓ 1 callers
Function
checkHealth
()
ui/src/components/VideoOverlay.tsx:490
↓ 1 callers
Method
checkIPForFamily
(ctx context.Context, family int)
pkg/myip/check.go:144
↓ 1 callers
Method
checkIfDirIsMountPoint
()
internal/usbgadget/changeset.go:173
↓ 1 callers
Method
checkIfFieldNeedsUpdate
()
internal/confparser/confparser.go:227
↓ 1 callers
Function
checkIfSliceContains
(slice []string, one_of []string)
internal/confparser/confparser.go:304
↓ 1 callers
Function
checkIfSymlinksInOrder
(fc *FileChange, logger *zerolog.Logger)
internal/usbgadget/changeset_symlink.go:26
↓ 1 callers
Method
checkIsReady
(ctx context.Context)
internal/native/grpc_client.go:172
↓ 1 callers
Function
checkUSBState
()
usb.go:253
↓ 1 callers
Function
cidrValidation
(value: string)
ui/src/components/StaticIpv6Card.tsx:24
↓ 1 callers
Method
cleanup
cleanup removes entries that have expired
ratelimit.go:61
↓ 1 callers
Method
cleanupAllTopics
cleanupAllTopics removes all discovery entries and clears all state topics.
mqtt_discovery.go:705
↓ 1 callers
Method
cleanupLoop
cleanupLoop periodically removes stale entries to prevent memory growth
ratelimit.go:46
↓ 1 callers
Method
clearAllEvents
()
ui/e2e/remote-agent/remote-agent.ts:303
↓ 1 callers
Method
clearLastError
()
mqtt.go:174
↓ 1 callers
Function
clearPasswordViaSSH
()
ui/e2e/helpers.ts:949
↓ 1 callers
Function
cloudLoader
(params: Params<string>)
ui/src/routes/devices.$id.tsx:87
↓ 1 callers
Function
compareFileContent
(oldContent []byte, newContent []byte, looserMatch bool)
internal/usbgadget/utils.go:75
↓ 1 callers
Function
compareSymlinks
(expected []symlink, actual []symlink)
internal/usbgadget/changeset_symlink.go:18
↓ 1 callers
Function
compareURLs
(a *url.URL, b *url.URL)
internal/ota/ota_test.go:101
↓ 1 callers
Function
computeFileHash
(filePath: string)
ui/e2e/helpers.ts:1227
↓ 1 callers
Function
computeReferenceValue
(points: ChartPoint[])
ui/src/components/Metric.tsx:61
↓ 1 callers
Function
configureDisplayOnNativeRestart
configureDisplayOnNativeRestart is called when the native process restarts it ensures the display is configured correctly after the restart
display.go:243
↓ 1 callers
Function
configure_c_intellisense
()
scripts/configure_vscode.py:23
↓ 1 callers
Method
confirmCurrentSystem
()
internal/ota/sys.go:103
↓ 1 callers
Method
convertDHCPLeaseToIPv4Config
convertDHCPLeaseToIPv4Config converts a DHCP lease to IPv4Config
pkg/nmlite/interface.go:830
↓ 1 callers
Function
crash
DO NOT USE THIS FUNCTION IN PRODUCTION This is only for testing purposes
internal/native/cgo_linux.go:434
↓ 1 callers
Function
createErrorDump
(logFile *os.File)
cmd/main.go:240
↓ 1 callers
Function
createMagicPacket
createMagicPacket creates a Wake-on-LAN magic packet
wol.go:73
↓ 1 callers
Function
decimalToOctal
(decimal int64)
internal/usbgadget/utils.go:57
↓ 1 callers
Function
decodeModifiers
(modifier: number)
ui/src/keyboardMappings.ts:281
↓ 1 callers
Function
decrActiveSessions
()
webrtc.go:64
↓ 1 callers
Function
deleteCookie
(name: string, domain?: string, path = "/")
ui/src/utils.ts:318
↓ 1 callers
Function
deregisterDevice
()
ui/src/routes/devices.$id.settings.access._index.tsx:92
↓ 1 callers
Function
deviceLoader
()
ui/src/routes/devices.$id.tsx:82
↓ 1 callers
Method
disableIPv4
disableIPv4 disables IPv4
pkg/nmlite/interface.go:508
↓ 1 callers
Method
disableIPv6
disableIPv6 disables IPv6
pkg/nmlite/interface.go:615
↓ 1 callers
Function
doCloudBlink
(ctx context.Context)
display.go:119
↓ 1 callers
Method
doResolveChanges
(initial bool)
internal/usbgadget/changeset_resolver.go:46
↓ 1 callers
Function
doRpcHidHandshake
( rpcHidChannel: RTCDataChannel, setRpcHidProtocolVersion: (version: number | null) => void, )
ui/src/hooks/useHidRpc.ts:33
↓ 1 callers
Function
doSupervise
()
cmd/main.go:268
← previous
next →
801–900 of 2,643, ranked by callers