Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dante-gpu/dantegpu-core
/ functions
Functions
1,089 in github.com/dante-gpu/dantegpu-core
⨍
Functions
1,089
◇
Types & classes
368
↓ 1 callers
Function
persistSession
persistSession drives a REAL metered rental through the live Postgres store: it initializes the schema, creates a renter wallet, opens a rental sessio
services/billing-payment-service/cmd/rental-proof/main.go:131
↓ 1 callers
Method
prepareGPUDevice
prepareGPUDevice prepares a GPU device for container use
services/dantegpu-device-plugin/main.go:201
↓ 1 callers
Method
prepareWorkspace
(jobID string)
clients/provider-daemon/internal/tasks/handler.go:228
↓ 1 callers
Function
printFinalReport
(results []TestResult)
cmd/real-gpu-test/main.go:509
↓ 1 callers
Function
printReceipt
(r map[string]any, gpu daemonGPU, req *pricing.PricingRequest, p *pricing.PricingResponse)
services/billing-payment-service/cmd/rental-proof/main.go:308
↓ 1 callers
Method
pullDockerImage
pullDockerImage pulls a Docker image
cmd/provider/main.go:1761
↓ 1 callers
Function
readInitial
()
clients/console/src/providers/ThemeProvider.tsx:14
↓ 1 callers
Method
recordRequest
(ctx context.Context, ipAddress, path string)
services/auth-service/internal/middleware/auth.go:289
↓ 1 callers
Function
redactDatabaseURL
redactDatabaseURL hides sensitive information from database URLs for logging
services/provider-registry-service/cmd/main.go:274
↓ 1 callers
Method
refreshTokenIfNeeded
refreshTokenIfNeeded refreshes the auth token if it's about to expire
cmd/rental/main.go:590
↓ 1 callers
Method
register
(w http.ResponseWriter, r *http.Request)
services/auth-service/main.go:112
↓ 1 callers
Function
registerServiceWithConsul
registerServiceWithConsul attempts to register the service with Consul.
services/storage-service/cmd/main.go:212
↓ 1 callers
Function
relativeTime
(iso: string | undefined | null)
clients/console/src/lib/format.ts:75
↓ 1 callers
Method
reputationPDA
(taker solana.PublicKey)
services/billing-payment-service/internal/covenant/onchain.go:154
↓ 1 callers
Method
revokeAllSessions
revokeAllSessions revokes all sessions for a user
services/auth-service/internal/handlers/login_helpers.go:205
↓ 1 callers
Method
revokeSession
revokeSession revokes a specific session
services/auth-service/internal/handlers/login_helpers.go:194
↓ 1 callers
Function
rpcEndpoint
()
clients/console/src/lib/solana.ts:16
↓ 1 callers
Method
run
run is the main worker loop
cmd/provider/main.go:957
↓ 1 callers
Method
runInteractiveMode
runInteractiveMode runs the interactive command interface
cmd/rental/main.go:1034
↓ 1 callers
Method
runTask
(task *models.Task)
clients/provider-daemon/internal/tasks/handler.go:101
↓ 1 callers
Function
safeJson
(text: string)
clients/console/src/lib/api.ts:90
↓ 1 callers
Method
scheduleJob
scheduleJob attempts to find a suitable provider and dispatch the job. Returns true if scheduled, false if no suitable provider is found currently.
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:249
↓ 1 callers
Function
selectBillingGPU
selectBillingGPU returns the GPU the job should be billed and metered against: the largest-VRAM GPU that satisfies the job's VRAM and power floors. Th
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:487
↓ 1 callers
Method
sendEmailTLS
sendEmailTLS sends email with TLS
services/auth-service/internal/email/smtp_service.go:179
↓ 1 callers
Method
sendHeartbeat
sendHeartbeat sends a heartbeat to the provider registry
cmd/provider/main.go:2153
↓ 1 callers
Method
sendLoginAlert
sendLoginAlert sends a login alert email
services/auth-service/internal/handlers/login_helpers.go:216
↓ 1 callers
Method
sendUsageUpdate
sendUsageUpdate sends usage update to billing service
cmd/provider/main.go:1701
↓ 1 callers
Function
setupDatabase
setupDatabase initializes the database connection
services/billing-payment-service/cmd/main.go:156
↓ 1 callers
Method
setupEmail
(ctx context.Context, userID string)
services/auth-service/internal/handlers/two_factor.go:439
↓ 1 callers
Function
setupGracefulShutdown
setupGracefulShutdown configures graceful shutdown handling
services/billing-payment-service/cmd/main.go:282
↓ 1 callers
Function
setupHTTPServer
setupHTTPServer configures and returns the HTTP server
services/billing-payment-service/cmd/main.go:197
↓ 1 callers
Function
setupLogger
setupLogger configures Zap based on the log level string.
services/api-gateway/cmd/main.go:219
↓ 1 callers
Function
setupLogger
setupLogger configures Zap based on the log level string. (Identical to the one in api-gateway, maybe move to a shared lib later?)
services/provider-registry-service/cmd/main.go:204
↓ 1 callers
Function
setupLogger
setupLogger configures Zap based on the log level string.
services/scheduler-orchestrator-service/cmd/main.go:255
↓ 1 callers
Function
setupLogger
setupLogger initializes the logger
services/billing-payment-service/cmd/main.go:132
↓ 1 callers
Method
setupSMS
(ctx context.Context, userID, phone string)
services/auth-service/internal/handlers/two_factor.go:407
↓ 1 callers
Function
setupSolanaClient
setupSolanaClient initializes the Solana client
services/billing-payment-service/cmd/main.go:186
↓ 1 callers
Method
setupTOTP
Helper functions
services/auth-service/internal/handlers/two_factor.go:374
↓ 1 callers
Method
setupTestGPU
()
tests/integration/job_execution_test.go:105
↓ 1 callers
Method
setupTestGPU
()
tests/integration/rental_flow_test.go:113
↓ 1 callers
Method
setupTestUser
()
tests/integration/job_execution_test.go:59
↓ 1 callers
Method
setupTestUser
()
tests/integration/rental_flow_test.go:64
↓ 1 callers
Method
setupWallet
setupWallet creates or retrieves user wallet
cmd/rental/main.go:739
↓ 1 callers
Function
startAPIGateway
()
test-mock-services/main.go:67
↓ 1 callers
Function
startBillingService
()
test-mock-services/main.go:179
↓ 1 callers
Method
startBillingSession
startBillingSession starts a billing session for the task
cmd/provider/main.go:1343
↓ 1 callers
Method
startHealthChecks
startHealthChecks starts periodic health checks
cmd/provider/main.go:2232
↓ 1 callers
Method
startHeartbeat
startHeartbeat sends periodic heartbeats to the registry
cmd/provider/main.go:2133
↓ 1 callers
Method
startMetricsCollection
startMetricsCollection starts periodic metrics collection
cmd/provider/main.go:2196
↓ 1 callers
Function
startProviderRegistry
()
test-mock-services/main.go:133
↓ 1 callers
Function
startStorageService
()
test-mock-services/main.go:209
↓ 1 callers
Method
submitAITrainingJob
submitAITrainingJob handles AI training job submission
cmd/rental/main.go:1133
↓ 1 callers
Method
submitCustomScriptJob
submitCustomScriptJob handles custom script job submission
cmd/rental/main.go:1192
↓ 1 callers
Method
testConnection
testConnection tests the connection to Solana RPC
services/billing-payment-service/internal/solana/client.go:125
↓ 1 callers
Method
testConnection
testConnection tests the Solana RPC connection
cmd/rental/main.go:525
↓ 1 callers
Method
testConnection
testConnection tests the Solana RPC connection
cmd/provider/main.go:848
↓ 1 callers
Function
testRealDockerIntegration
()
cmd/real-gpu-test/main.go:146
↓ 1 callers
Function
testRealFileTransfer
()
cmd/real-gpu-test/main.go:299
↓ 1 callers
Function
testRealGPUCompute
()
cmd/real-gpu-test/main.go:188
↓ 1 callers
Function
testRealGPUDetection
()
cmd/real-gpu-test/main.go:96
↓ 1 callers
Function
testRealMultiTaskExecution
()
cmd/real-gpu-test/main.go:437
↓ 1 callers
Function
testRealProviderExecution
()
cmd/real-gpu-test/main.go:364
↓ 1 callers
Function
testRealResourceMonitoring
()
cmd/real-gpu-test/main.go:252
↓ 1 callers
Function
textSummary
(data, options)
tests/load/k6-load-test.js:178
↓ 1 callers
Function
titleCase
(s: string | undefined | null)
clients/console/src/lib/format.ts:97
↓ 1 callers
Function
toUsdcAtoms
(amount: number)
clients/console/src/lib/solana.ts:28
↓ 1 callers
Function
tsFrom
(ns: string)
clients/console/src/hooks/useLogSocket.ts:19
↓ 1 callers
Method
updateGPUData
updateGPUData updates GPU information using nvidia-smi
services/gpu-monitoring-service/main.go:150
↓ 1 callers
Method
updateGPUProcesses
updateGPUProcesses updates running processes on GPU
services/gpu-monitoring-service/main.go:327
↓ 1 callers
Method
updateLastUsed
(ctx context.Context, prefix string)
services/auth-service/internal/handlers/api_keys.go:281
↓ 1 callers
Method
updateMockGPUData
updateMockGPUData creates mock GPU data for development
services/gpu-monitoring-service/main.go:223
↓ 1 callers
Method
updatePodGPUAllocation
updatePodGPUAllocation updates pod with GPU allocation information
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:386
↓ 1 callers
Method
updateSession
updateSession updates a session with new refresh token
services/auth-service/internal/handlers/login_helpers.go:183
↓ 1 callers
Method
updateSessionActivity
(ctx context.Context, userID, token string)
services/auth-service/internal/middleware/auth.go:243
↓ 1 callers
Method
uploadFile
uploadFile uploads a single file
cmd/provider/main.go:1547
↓ 1 callers
Method
uploadObjectHandler
uploadObjectHandler handles object uploads.
services/storage-service/internal/api/handlers.go:114
↓ 1 callers
Method
uploadOutputFiles
uploadOutputFiles uploads output files
cmd/provider/main.go:1516
↓ 1 callers
Method
uploadReceipt
Session Management StartRentalSession starts a new GPU rental session uploadReceipt stores the metering receipt in storage-service and returns a retri
services/billing-payment-service/internal/service/billing.go:165
↓ 1 callers
Method
url
(path string)
services/billing-payment-service/internal/covenant/client.go:111
↓ 1 callers
Function
useDeposit
()
clients/console/src/hooks/useDeposit.ts:20
↓ 1 callers
Function
useEstimate
(gpu: GpuListing | null, hours: number)
clients/console/src/hooks/useEstimate.ts:10
↓ 1 callers
Function
useLogSocket
(enabled: boolean, maxLines = 300)
clients/console/src/hooks/useLogSocket.ts:29
↓ 1 callers
Function
useOnchainUsdc
()
clients/console/src/hooks/useOnchainUsdc.ts:10
↓ 1 callers
Function
useProviderEarnings
(providerId: string | undefined)
clients/console/src/hooks/useProviderEarnings.ts:8
↓ 1 callers
Method
userExists
(ctx context.Context, email string)
services/auth-service/internal/handlers/registration.go:480
↓ 1 callers
Method
userHasPermission
(ctx context.Context, userID, permission string)
services/auth-service/internal/middleware/auth.go:234
↓ 1 callers
Function
validateEnv
()
scripts/validate-env.js:117
↓ 1 callers
Function
validatePasswordStrength
Helper function to validate password strength
services/auth-service/internal/handlers/registration_test.go:308
↓ 1 callers
Method
validatePasswordStrength
(password string)
services/auth-service/internal/handlers/registration.go:448
↓ 1 callers
Method
validateRegistrationRequest
Helper functions
services/auth-service/internal/handlers/registration.go:424
↓ 1 callers
Method
verifyBackupCode
(ctx context.Context, userID, code string)
services/auth-service/internal/handlers/two_factor.go:490
↓ 1 callers
Function
watts
(w: number | undefined | null)
clients/console/src/lib/format.ts:42
Method
AcceptJob
AcceptJob accepts an open job as the taker (provider side).
services/billing-payment-service/internal/covenant/onchain.go:297
Function
Activity
()
clients/console/src/pages/Activity.tsx:10
Method
AddProvider
AddProvider stores a new provider in the system
services/provider-registry-service/internal/store/providerstore.go:17
Method
AddProvider
AddProvider adds a new provider to the PostgreSQL database.
services/provider-registry-service/internal/store/postgres_providerstore.go:110
Method
AddProvider
AddProvider adds a new provider to the store.
services/provider-registry-service/internal/store/memory.go:41
Method
Allocate
Allocate allocates devices to containers
services/dantegpu-device-plugin/main.go:130
Method
Allow
Allow checks if a request is allowed based on rate limit
services/auth-service/internal/session/redis_store.go:261
Function
App
()
clients/console/src/App.tsx:20
← previous
next →
501–600 of 1,089, ranked by callers