MCPcopy Create free account

hub / github.com/dante-gpu/dantegpu-core / functions

Functions1,089 in github.com/dante-gpu/dantegpu-core

↓ 1 callersMethodexecuteTask
executeTask executes a task with comprehensive monitoring
cmd/provider/main.go:976
↓ 1 callersFunctionexplorerUrl
(kind: "tx" | "address", value: string)
clients/console/src/lib/solana.ts:38
↓ 1 callersMethodextractGPURequirements
extractGPURequirements extracts GPU requirements from pod spec
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:229
↓ 1 callersFunctionextractMessage
(parsed: unknown, text: string, status: number)
clients/console/src/lib/api.ts:100
↓ 1 callersMethodextractSessionID
extractSessionID extracts session ID from session token (simplified implementation)
services/ory-kratos-integration/main.go:298
↓ 1 callersMethodfetchLoop
()
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:109
↓ 1 callersMethodfilterNodesByGPU
filterNodesByGPU filters nodes based on GPU availability
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:259
↓ 1 callersFunctionfromUsdcAtoms
(atoms: bigint | number)
clients/console/src/lib/solana.ts:33
↓ 1 callersFunctiongatewayWsUrl
(path: string)
clients/console/src/lib/api.ts:25
↓ 1 callersMethodgenerateAPIKey
Helper functions
services/auth-service/internal/handlers/api_keys.go:260
↓ 1 callersFunctiongenerateAlphanumericCode
(length int)
services/auth-service/internal/handlers/two_factor.go:534
↓ 1 callersMethodgenerateBackupCodes
(ctx context.Context, userID string, count int)
services/auth-service/internal/handlers/two_factor.go:473
↓ 1 callersMethodgenerateMockAllocations
generateMockAllocations creates mock GPU allocations
services/gpu-monitoring-service/main.go:295
↓ 1 callersMethodgeneratePresignedURLHandler
generatePresignedURLHandler handles requests to generate presigned URLs.
services/storage-service/internal/api/handlers.go:249
↓ 1 callersMethodgenerateResetToken
()
services/auth-service/internal/handlers/password_reset.go:388
↓ 1 callersFunctiongenerateSecureToken
generateSecureToken generates a secure random token
services/auth-service/internal/handlers/login_helpers.go:334
↓ 1 callersFunctiongenerateSecureValues
()
scripts/validate-env.js:206
↓ 1 callersFunctiongenerateTokenID
generateTokenID generates a unique token ID
services/auth-service/pkg/jwt/jwt.go:203
↓ 1 callersMethodgenerateUsername
(email string)
services/auth-service/internal/handlers/registration.go:488
↓ 1 callersMethodgetAMDMetrics
getAMDMetrics gets real-time metrics for AMD GPUs
clients/provider-daemon/internal/gpu/detector.go:657
↓ 1 callersMethodgetAppleMetrics
getAppleMetrics gets real-time metrics for Apple GPUs
clients/provider-daemon/internal/gpu/detector.go:684
↓ 1 callersMethodgetBaseRate
getBaseRate gets the base hourly rate for a GPU model
services/billing-payment-service/internal/pricing/engine.go:185
↓ 1 callersMethodgetCUDAVersion
getCUDAVersion gets the CUDA version
clients/provider-daemon/internal/gpu/detector.go:528
↓ 1 callersMethodgetCachedSession
getCachedSession retrieves cached session information
services/ory-kratos-integration/main.go:274
↓ 1 callersFunctiongetCheckAddress
getCheckAddress determines the address to use for the Consul health check URL. If the provided service address is empty or unspecified (0.0.0.0), use
services/provider-registry-service/internal/consul/registration.go:85
↓ 1 callersFunctiongetCheckAddress
getCheckAddress determines the address to use for the Consul health check URL. If the provided service address is empty or unspecified (0.0.0.0 or ::)
services/scheduler-orchestrator-service/internal/consul/registration.go:87
↓ 1 callersMethodgetComputeCapability
getComputeCapability gets the compute capability for an NVIDIA GPU
clients/provider-daemon/internal/gpu/detector.go:538
↓ 1 callersFunctiongetDefaultConfig
()
services/storage-service/internal/config/config.go:137
↓ 1 callersFunctiongetDefaultProviderConfig
getDefaultProviderConfig returns comprehensive default configuration
cmd/provider/main.go:542
↓ 1 callersFunctiongetDefaultRentalConfig
getDefaultRentalConfig returns comprehensive default configuration
cmd/rental/main.go:418
↓ 1 callersMethodgetDynamicPricingFactors
getDynamicPricingFactors calculates demand and supply factors for dynamic pricing
services/billing-payment-service/internal/pricing/engine.go:283
↓ 1 callersMethodgetGPUFamilyRate
getGPUFamilyRate attempts to match GPU families for pricing
services/billing-payment-service/internal/pricing/engine.go:215
↓ 1 callersMethodgetGPUMemory
getGPUMemory returns the GPU memory for a specific model
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:322
↓ 1 callersMethodgetGPUMetrics
getGPUMetrics gets current GPU metrics from the wired detector. If no metrics provider is set, it returns an error rather than fabricating usage.
clients/provider-daemon/internal/billing/client.go:209
↓ 1 callersFunctiongetHealthCheckHost
getHealthCheckHost determines the host for Consul health check URL. If server host is "" or "0.0.0.0", use "127.0.0.1" for health check.
services/storage-service/cmd/main.go:252
↓ 1 callersFunctiongetIPAddress
Utility functions
services/auth-service/internal/middleware/auth.go:298
↓ 1 callersFunctiongetLocationFromEnvironment
()
cmd/provider/main.go:598
↓ 1 callersMethodgetNVIDIAMetrics
getNVIDIAMetrics gets real-time metrics for NVIDIA GPUs
clients/provider-daemon/internal/gpu/detector.go:545
↓ 1 callersMethodgetObjectInfoHandler
getObjectInfoHandler handles requests for object metadata (HEAD requests).
services/storage-service/internal/api/handlers.go:207
↓ 1 callersMethodgetRegistrationMessage
(verificationSent bool)
services/auth-service/internal/handlers/registration.go:512
↓ 1 callersMethodgetServiceAddress
getServiceAddress discovers the Provider Registry service using Consul and returns a base URL. It implements a simple cache for the last known address
services/scheduler-orchestrator-service/internal/clients/provider_registry.go:82
↓ 1 callersMethodgetTokenBalance
getTokenBalance gets the dGPU token balance
cmd/rental/main.go:556
↓ 1 callersMethodgetUserRoles
getUserRoles gets all roles for a user
services/auth-service/internal/handlers/login_helpers.go:74
↓ 1 callersMethodgetUserWallet
getUserWallet retrieves user's existing wallet
cmd/rental/main.go:758
↓ 1 callersFunctiongetenvBoolDefault
(key string, defaultValue bool)
cmd/provider/main.go:589
↓ 1 callersFunctiongetenvDecimalDefault
(key, defaultValue string)
cmd/rental/main.go:457
↓ 1 callersFunctiongetenvDecimalDefault
(key, defaultValue string)
cmd/provider/main.go:579
↓ 1 callersFunctiongetenvIntDefault
(key string, defaultValue int)
cmd/provider/main.go:570
↓ 1 callersFunctionhandleGetFinancialSummaryJSON
(cfg *config.Config, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:445
↓ 1 callersFunctionhandleGetGpusJSON
(cfg *config.Config, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:199
↓ 1 callersFunctionhandleGetLocalJobsJSON
(cfg *config.Config, logger *zap.Logger /* taskHandler *tasks.Handler */)
clients/provider-daemon/cmd/daemon/main.go:388
↓ 1 callersFunctionhandleGetNetworkStatusJSON
(cfg *config.Config, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:413
↓ 1 callersFunctionhandleGetSettingsJSON
(cfg *config.Config, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:254
↓ 1 callersFunctionhandleGetSystemOverviewJSON
(cfg *config.Config, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:489
↓ 1 callersMethodhandleMessage
handleMessage handles incoming messages from client
services/api-gateway/internal/websocket/hub.go:213
↓ 1 callersMethodhandleMessage
handleMessage processes a single NATS message containing a job.
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:143
↓ 1 callersMethodhandleMessage
(msg *nats.Msg)
clients/provider-daemon/internal/nats/client.go:195
↓ 1 callersFunctionhandleSetGpuRentalConfig
(cfg *config.Config, configFilePath string, logger *zap.Logger, gpuID string, newRate float64, newAvailability
clients/provider-daemon/cmd/daemon/main.go:296
↓ 1 callersFunctionhandleUpdateSettingsJSON
(cfg *config.Config, configFilePath string, logger *zap.Logger, settingsJSON string)
clients/provider-daemon/cmd/daemon/main.go:265
↓ 1 callersMethodhas2FAEnabled
has2FAEnabled checks if user has 2FA enabled
services/auth-service/internal/handlers/login_helpers.go:102
↓ 1 callersMethodhasAvailableGPU
hasAvailableGPU checks if there's an available GPU
cmd/provider/main.go:1777
↓ 1 callersMethodhashPassword
(password string)
services/auth-service/main-sqlite.go:97
↓ 1 callersMethodhashPassword
(password string)
services/auth-service/main.go:64
↓ 1 callersMethodhashPassword
(password string)
services/auth-service/internal/handlers/registration.go:472
↓ 1 callersMethodhealthCheck
healthCheck monitors device health
services/dantegpu-device-plugin/main.go:339
↓ 1 callersMethodinitDB
()
services/api-gateway/main-simple.go:70
↓ 1 callersMethodinitDB
()
services/auth-service/main-sqlite.go:66
↓ 1 callersFunctioninitLogger
initLogger initializes a Zap logger based on the configured log level.
services/storage-service/cmd/main.go:149
↓ 1 callersMethodinitializeDevices
initializeDevices initializes the list of available GPU devices
services/dantegpu-device-plugin/main.go:310
↓ 1 callersFunctioninitializeExecutionEnvironment
initializeExecutionEnvironment sets up the Docker and execution environment
cmd/provider/main.go:872
↓ 1 callersFunctioninitializeSolanaWallet
initializeSolanaWallet initializes the Solana wallet manager
cmd/provider/main.go:790
↓ 1 callersMethodinitializeSolanaWallet
initializeSolanaWallet initializes the Solana wallet for the client
cmd/rental/main.go:477
↓ 1 callersMethodisAccountLocked
isAccountLocked checks if an account is locked due to failed login attempts
services/auth-service/internal/handlers/login_helpers.go:16
↓ 1 callersMethodisDeviceHealthy
isDeviceHealthy checks if a device is healthy
services/dantegpu-device-plugin/main.go:371
↓ 1 callersFunctionisNumeric
Helper function to check if a string is purely numeric
clients/provider-daemon/internal/executor/executor.go:526
↓ 1 callersMethodisSessionValid
isSessionValid checks if a session is valid
services/auth-service/internal/handlers/login_helpers.go:152
↓ 1 callersMethodisTokenRevoked
Helper functions
services/auth-service/internal/middleware/auth.go:212
↓ 1 callersMethodisUserActive
(ctx context.Context, userID string)
services/auth-service/internal/middleware/auth.go:225
↓ 1 callersMethodisValidSolanaAddress
isValidSolanaAddress validates a Solana address format
services/billing-payment-service/internal/service/billing.go:796
↓ 1 callersMethodjobPDA
(poster solana.PublicKey, specHash [32]byte)
services/billing-payment-service/internal/covenant/onchain.go:144
↓ 1 callersFunctionlevelFor
(line: string)
clients/console/src/hooks/useLogSocket.ts:12
↓ 1 callersMethodlistObjectsHandler
listObjectsHandler handles requests to list objects in a bucket.
services/storage-service/internal/api/handlers.go:231
↓ 1 callersFunctionloadConfig
loadConfig loads configuration from file
services/billing-payment-service/cmd/main.go:117
↓ 1 callersFunctionloadEmailTemplates
loadEmailTemplates loads all email templates
services/auth-service/internal/email/smtp_service.go:267
↓ 1 callersFunctionloadEnvFile
()
scripts/validate-env.js:90
↓ 1 callersFunctionloadPrivateKey
loadPrivateKey loads a private key from file or environment
services/billing-payment-service/internal/solana/client.go:389
↓ 1 callersMethodloadSecretsFile
loadSecretsFile reads and parses the secrets file
services/provider-registry-service/internal/config/secrets.go:64
↓ 1 callersMethodlogin
(w http.ResponseWriter, r *http.Request)
services/auth-service/main.go:74
↓ 1 callersMethodmakeAuthenticatedRequest
makeAuthenticatedRequest makes an HTTP request with authentication
cmd/rental/main.go:634
↓ 1 callersFunctionmapToSlice
mapToSlice converts a map to a slice of key=value strings
cmd/provider/main.go:1847
↓ 1 callersMethodmessageFetchLoop
()
clients/provider-daemon/internal/nats/client.go:152
↓ 1 callersFunctionmustOpen
(filePath string)
clients/provider-daemon/cmd/daemon/main.go:640
↓ 1 callersFunctionnewCompactEncoder
newCompactEncoder returns a JSON encoder that does not HTML-escape, matching JavaScript JSON.stringify (used for the spec hash).
services/billing-payment-service/internal/covenant/onchain.go:19
↓ 1 callersFunctionnewStructuredLogger
newStructuredLogger creates a chi middleware for logging requests using Zap.
services/storage-service/cmd/main.go:188
↓ 1 callersMethodnodeHasAvailableGPU
nodeHasAvailableGPU checks if a node has available GPU resources
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:283
↓ 1 callersFunctionnormalizeModel
normalizeModel maps a detected GPU name to the pricing table key convention (lowercase, hyphenated). Unknown models fall back to the engine's "default
services/billing-payment-service/cmd/rental-proof/main.go:234
↓ 1 callersFunctionoverrideFromEnv
overrideFromEnv checks for environment variables and overrides config fields.
services/api-gateway/internal/config/config.go:104
↓ 1 callersFunctionparseEstimatedCost
(raw: unknown)
clients/console/src/lib/format.ts:121
↓ 1 callersFunctionpassesFilters
passesFilters checks if a provider passes all the provided filters.
services/provider-registry-service/internal/store/memory.go:84
↓ 1 callersMethodperformHealthChecks
performHealthChecks performs various health checks
cmd/provider/main.go:2250
← previousnext →401–500 of 1,089, ranked by callers