MCPcopy Create free account

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

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

↓ 3 callersFunctionestimatePowerFromModel
estimatePowerFromModel maps a few well-known GPU model names to their typical board power so power-aware matching and billing degrade gracefully when
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:545
↓ 3 callersMethodfindProviderGPUType
findProviderGPUType extracts the GPU model name from a provider
services/scheduler-orchestrator-service/internal/scheduler/consumer.go:474
↓ 3 callersFunctiongetToken
()
clients/console/src/lib/api.ts:30
↓ 3 callersFunctiongetenvIntDefault
(key string, defaultValue int)
cmd/rental/main.go:448
↓ 3 callersFunctionisCommandAvailable
isCommandAvailable checks if a command exists in PATH
cmd/provider/main.go:1893
↓ 3 callersFunctionisValidEmail
Utility functions
services/auth-service/internal/handlers/registration.go:529
↓ 3 callersMethodlogAuditEvent
(ctx context.Context, userID, action, email string, r *http.Request)
services/auth-service/internal/handlers/password_reset.go:422
↓ 3 callersMethodlogAuditEvent
(ctx context.Context, userID, action, email string, r *http.Request)
services/auth-service/internal/handlers/two_factor.go:517
↓ 3 callersFunctionpad
(n: number)
clients/console/src/lib/format.ts:57
↓ 3 callersMethodrecordLoginAttempt
recordLoginAttempt records a login attempt
services/auth-service/internal/handlers/login_helpers.go:42
↓ 3 callersMethodstartSubscription
()
clients/provider-daemon/internal/nats/client.go:95
↓ 3 callersFunctionunwrapList
(raw: unknown, ...keys: string[])
clients/console/src/lib/api.ts:156
↓ 3 callersFunctionvram
(mb: number | undefined | null)
clients/console/src/lib/format.ts:32
↓ 3 callersMethodwriteErrorResponse
writeErrorResponse writes error response
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:411
↓ 2 callersMethodCalculateCurrentCost
CalculateCurrentCost calculates the current cost of the session
services/billing-payment-service/internal/models/billing.go:77
↓ 2 callersMethodCanSpend
CanSpend checks if the wallet has sufficient available balance
services/billing-payment-service/internal/models/wallet.go:45
↓ 2 callersMethodConfirmTransaction
ConfirmTransaction waits for transaction confirmation
services/billing-payment-service/internal/solana/client.go:257
↓ 2 callersMethodCreateRentalSession
Rental Session operations CreateRentalSession creates a new rental session
services/billing-payment-service/internal/store/postgres.go:285
↓ 2 callersMethodCreateUsageRecord
Usage Record operations CreateUsageRecord creates a new usage record
services/billing-payment-service/internal/store/postgres.go:451
↓ 2 callersMethodDeductFunds
DeductFunds deducts the specified amount from the wallet
services/billing-payment-service/internal/models/wallet.go:69
↓ 2 callersMethodDetectGPUs
DetectGPUs detects all available GPUs on the system
clients/provider-daemon/internal/gpu/detector.go:70
↓ 2 callersMethodDisputeSession
DisputeSession opens a Covenant dispute on a session's escrow, posting the platform bond. The metering receipt already submitted is the evidence the b
services/billing-payment-service/internal/service/billing.go:193
↓ 2 callersMethodEndRentalSession
Helper methods EndRentalSession ends a rental session and processes final billing
services/billing-payment-service/internal/service/billing.go:434
↓ 2 callersMethodExists
Exists checks if a session exists
services/auth-service/internal/session/redis_store.go:178
↓ 2 callersMethodGet
(ctx context.Context, sessionID string)
services/auth-service/internal/handlers/login_test.go:300
↓ 2 callersMethodGetBillingHistory
GetBillingHistory retrieves billing history with pagination
services/billing-payment-service/internal/store/postgres.go:533
↓ 2 callersFunctionGetCorrelationID
GetCorrelationID retrieves the correlation ID from the context
services/provider-registry-service/internal/logging/context.go:44
↓ 2 callersMethodGetCurrentUsage
GetCurrentUsage gets current usage and cost for an active session
services/billing-payment-service/internal/service/billing.go:541
↓ 2 callersMethodGetPricingRates
GetPricingRates gets current pricing rates for all supported GPU models
services/billing-payment-service/internal/service/billing.go:780
↓ 2 callersMethodGetTransactionHistory
GetTransactionHistory retrieves transaction history for a wallet
services/billing-payment-service/internal/service/billing.go:727
↓ 2 callersMethodGetUserBalance
GetUserBalance resolves a user's primary wallet then returns its balance, reconciling against Solana the same way GetWalletBalance does.
services/billing-payment-service/internal/service/billing.go:151
↓ 2 callersMethodHasRole
HasRole checks if the token has a specific role
services/auth-service/pkg/jwt/jwt.go:241
↓ 2 callersMethodInitialize
Initialize creates the necessary database tables
services/billing-payment-service/internal/store/postgres.go:34
↓ 2 callersMethodListAvailableProviders
ListAvailableProviders retrieves available GPU providers
cmd/rental/main.go:849
↓ 2 callersMethodListObjects
ListObjects lists objects in the specified bucket, optionally filtered by a prefix.
services/storage-service/internal/storage/interface.go:32
↓ 2 callersFunctionNewClient
NewClient creates a Covenant HTTP client.
services/billing-payment-service/internal/covenant/client.go:49
↓ 2 callersFunctionNewLoginHandler
NewLoginHandler creates a new login handler
services/auth-service/internal/handlers/login.go:75
↓ 2 callersFunctionNewRegistrationHandler
NewRegistrationHandler creates a new registration handler
services/auth-service/internal/handlers/registration.go:80
↓ 2 callersMethodPlatformWallet
PlatformWallet returns the platform public key (the custodial poster).
services/billing-payment-service/internal/covenant/onchain.go:88
↓ 2 callersMethodProcessUsageUpdate
ProcessUsageUpdate processes real-time usage data from provider daemon
services/billing-payment-service/internal/service/billing.go:365
↓ 2 callersMethodSendPasswordChangedEmail
(ctx context.Context, email, firstName string)
services/auth-service/internal/handlers/registration.go:74
↓ 2 callersMethodSendVerificationEmail
(ctx context.Context, email, token, firstName string)
services/auth-service/internal/handlers/registration.go:71
↓ 2 callersMethodSendWelcomeEmail
(ctx context.Context, email, firstName string)
services/auth-service/internal/handlers/registration.go:72
↓ 2 callersFunctionSetupLogger
SetupLogger creates a structured logger with consistent configuration
common/utils.go:9
↓ 2 callersMethodStartRentalSession
(ctx context.Context, req *models.SessionStartRequest)
services/billing-payment-service/internal/service/billing.go:214
↓ 2 callersMethodSubmitWork
SubmitWork records the provider's delivery (POST /api/jobs/{id}/submit) after the on-chain submit_work instruction is signed.
services/billing-payment-service/internal/covenant/client.go:196
↓ 2 callersMethodValidate
Validate validates the configuration
services/billing-payment-service/internal/config/config.go:132
↓ 2 callersMethodValidateAccessToken
(token string)
services/auth-service/internal/handlers/login_test.go:282
↓ 2 callersMethodcacheSession
cacheSession caches session information in Redis
services/ory-kratos-integration/main.go:259
↓ 2 callersMethodcalculateNodePriority
calculateNodePriority calculates priority score for a node
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:354
↓ 2 callersMethodcleanup
cleanup removes the socket file
services/dantegpu-device-plugin/main.go:331
↓ 2 callersMethodcleanupTestData
()
tests/integration/auth_flow_test.go:66
↓ 2 callersMethodconfigPDA
----- PDA derivations -----
services/billing-payment-service/internal/covenant/onchain.go:139
↓ 2 callersFunctioncopy
()
clients/console/src/pages/ProviderOnboarding.tsx:111
↓ 2 callersMethodendBillingSession
endBillingSession ends the billing session
cmd/provider/main.go:1414
↓ 2 callersMethodescrowTokenPDA
(job solana.PublicKey)
services/billing-payment-service/internal/covenant/onchain.go:149
↓ 2 callersMethodextractEmail
extractEmail extracts email from user traits
services/ory-kratos-integration/main.go:309
↓ 2 callersFunctionextractIORegNumber
extractIORegNumber reads the numeric value that follows a marker in ioreg output (for example `"Device Utilization %"=12`). Returns -1 if absent.
clients/provider-daemon/internal/gpu/detector.go:708
↓ 2 callersMethodextractRole
extractRole extracts role from user traits
services/ory-kratos-integration/main.go:317
↓ 2 callersMethodgenerateMockProcesses
generateMockProcesses creates mock GPU processes
services/gpu-monitoring-service/main.go:269
↓ 2 callersFunctiongenerateNumericCode
(length int)
services/auth-service/internal/handlers/two_factor.go:524
↓ 2 callersMethodgenerateToken
(userID string)
services/auth-service/main-sqlite.go:87
↓ 2 callersMethodgenerateToken
(userID string)
services/auth-service/main.go:55
↓ 2 callersMethodgenerateVerificationToken
()
services/auth-service/internal/handlers/registration.go:496
↓ 2 callersMethodgetAvailableGPUCount
getAvailableGPUCount returns the number of available GPUs on a node
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:313
↓ 2 callersFunctiongetenvBoolDefault
(key string, defaultValue bool)
cmd/rental/main.go:467
↓ 2 callersFunctionhashCode
(code string)
services/auth-service/internal/handlers/two_factor.go:540
↓ 2 callersMethodhashToken
(token string)
services/auth-service/internal/handlers/password_reset.go:398
↓ 2 callersMethodhashToken
(token string)
services/auth-service/internal/handlers/registration.go:506
↓ 2 callersMethodinitializeWorkerPool
initializeWorkerPool creates worker goroutines for task execution
cmd/provider/main.go:933
↓ 2 callersMethodinvalidateCachedAddress
invalidateCachedAddress clears the last known address, forcing a new Consul lookup on next call.
services/scheduler-orchestrator-service/internal/clients/provider_registry.go:167
↓ 2 callersFunctionisTerminal
(state: JobState | undefined)
clients/console/src/hooks/useJob.ts:22
↓ 2 callersMethodlogAuditEvent
(ctx context.Context, userID, action, resourceID string, r *http.Request)
services/auth-service/internal/handlers/api_keys.go:289
↓ 2 callersMethodlogAuditEvent
(ctx context.Context, userID, action, email string, r *http.Request)
services/auth-service/internal/handlers/registration.go:519
↓ 2 callersFunctionmapToCustomError
mapToCustomError maps database errors to our custom error types
services/provider-registry-service/internal/store/db_errors.go:124
↓ 2 callersFunctionnormalizeBalance
(raw: unknown)
clients/console/src/lib/api.ts:119
↓ 2 callersMethodprintProviders
printProviders displays provider information
cmd/rental/main.go:1013
↓ 2 callersMethodrunRocmSMI
runRocmSMI runs rocm-smi in JSON mode and returns the per-card field maps.
clients/provider-daemon/internal/gpu/detector.go:280
↓ 2 callersMethodscanJobRows
scanJobRows is a helper function to scan multiple rows into a slice of JobRecord.
services/scheduler-orchestrator-service/internal/store/postgres_jobstore.go:229
↓ 2 callersFunctionscheduleRetry
()
clients/console/src/hooks/useLogSocket.ts:93
↓ 2 callersFunctionsetupLogger
(levelString string)
clients/provider-daemon/cmd/daemon/main.go:561
↓ 2 callersFunctionshort
(id string)
services/billing-payment-service/cmd/rental-proof/main.go:353
↓ 2 callersFunctionsolanaCluster
()
clients/console/src/lib/solana.ts:23
↓ 2 callersMethodsupportsFractionalGPU
supportsFractionalGPU checks if a node supports fractional GPU allocation
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:345
↓ 2 callersFunctiontimestamp
(iso: string | undefined | null)
clients/console/src/lib/format.ts:62
↓ 2 callersFunctiontoAtomic
(amount decimal.Decimal)
services/billing-payment-service/internal/covenant/onchain.go:185
↓ 2 callersFunctiontoUser
(res: AuthResponse, fallbackUsername: string)
clients/console/src/providers/AuthProvider.tsx:17
↓ 2 callersFunctionuseJob
(jobId: string | undefined)
clients/console/src/hooks/useJob.ts:9
↓ 2 callersFunctionuseMarketplace
()
clients/console/src/hooks/useMarketplace.ts:7
↓ 2 callersFunctionuseRentals
()
clients/console/src/hooks/useRentals.ts:6
↓ 2 callersFunctionuseTheme
()
clients/console/src/providers/ThemeProvider.tsx:47
↓ 2 callersMethodvalidatePasswordStrength
(password string)
services/auth-service/internal/handlers/password_reset.go:403
↓ 2 callersMethodvalidateSession
validateSession validates the session using Ory Kratos
services/ory-kratos-integration/main.go:184
↓ 2 callersMethodvalidateToken
validateToken validates a token with the given secret
services/auth-service/pkg/jwt/jwt.go:130
↓ 2 callersFunctionwrite
(next: LocalRental[])
clients/console/src/lib/rentalsStore.ts:34
↓ 1 callersMethodAddFunds
AddFunds adds the specified amount to the wallet
services/billing-payment-service/internal/models/wallet.go:79
↓ 1 callersMethodAddProvider
(ctx context.Context, provider *models.Provider)
services/provider-registry-service/internal/handlers/provider.go:21
↓ 1 callersMethodBroadcastToAll
BroadcastToAll sends message to all connected clients
services/api-gateway/internal/websocket/hub.go:107
↓ 1 callersFunctionBuildDatabaseURL
BuildDatabaseURL constructs a database URL from individual components This allows us to store credentials separately from the connection string
services/provider-registry-service/internal/config/secrets.go:123
↓ 1 callersFunctionBuildSpec
BuildSpec assembles the canonical rental spec.
services/billing-payment-service/internal/covenant/onchain.go:123
← previousnext →101–200 of 1,089, ranked by callers