MCPcopy Create free account

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

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

↓ 665 callersMethodError
Error implements the error interface
services/billing-payment-service/internal/models/errors.go:96
↓ 610 callersMethodString
String returns the string representation of JobStatus
cmd/provider/main.go:537
↓ 168 callersMethodString
String returns a human-readable string representation of the TaskStatusUpdate.
clients/provider-daemon/internal/models/status.go:52
↓ 126 callersMethodClose
Close is called to release any resources held by the store, like DB connections.
services/scheduler-orchestrator-service/internal/store/jobstore.go:38
↓ 125 callersFunctionrespondError
(w http.ResponseWriter, status int, message string)
services/auth-service/internal/handlers/registration.go:554
↓ 119 callersFunctionappend
(batch: LogLine[])
clients/console/src/hooks/useLogSocket.ts:41
↓ 102 callersMethodGet
Get retrieves a session by ID
services/auth-service/internal/session/redis_store.go:72
↓ 94 callersMethodScan
Scan implements the sql.Scanner interface for JobDetailsDB. This tells the SQL driver how to read the JobDetailsDB struct from the database.
services/scheduler-orchestrator-service/internal/models/job_record.go:22
↓ 60 callersMethodError
Error implements the error interface
services/provider-registry-service/internal/errors/errors.go:44
↓ 55 callersMethodAdd
Add adds a token to the blacklist
services/auth-service/internal/session/redis_store.go:324
↓ 45 callersFunctionwriteErrorResponse
writeErrorResponse writes an error response
services/billing-payment-service/internal/handlers/wallet.go:255
↓ 37 callersFunctionmeta
(pub solana.PublicKey, writable, signer bool)
services/billing-payment-service/internal/covenant/onchain.go:190
↓ 29 callersFunctioncn
(...inputs: ClassValue[])
clients/console/src/lib/cn.ts:5
↓ 26 callersMethodServeHTTP
ServeHTTP handles incoming requests and proxies them to the appropriate backend service.
services/api-gateway/internal/handlers/proxy.go:37
↓ 24 callersMethodDuration
Duration returns the duration of the session
services/billing-payment-service/internal/models/billing.go:62
↓ 24 callersFunctionrespondJSON
(w http.ResponseWriter, status int, data interface{})
services/auth-service/internal/handlers/registration.go:548
↓ 23 callersFunctionRespondWithError
RespondWithError is a helper to send JSON error responses.
services/provider-registry-service/internal/handlers/provider.go:330
↓ 22 callersFunctionusdc
(amount: number | undefined | null, opts?: { precise?: boolean; symbol?: boolean })
clients/console/src/lib/format.ts:16
↓ 20 callersMethodValue
Use the existing Job model Value implements the driver.Valuer interface for JobDetailsDB. This tells the SQL driver how to store the JobDetailsDB stru
services/scheduler-orchestrator-service/internal/models/job_record.go:16
↓ 20 callersMethodsendError
(w http.ResponseWriter, statusCode int, message string)
services/api-gateway/main-simple.go:141
↓ 19 callersMethodIs
Is implements the errors.Is interface
services/provider-registry-service/internal/errors/errors.go:57
↓ 19 callersMethodNext
Next takes a list of available service entries and returns the URL of the next one to use.
services/api-gateway/internal/loadbalancer/balancer.go:15
↓ 19 callersMethodsendError
(w http.ResponseWriter, statusCode int, message string)
services/auth-service/main-sqlite.go:113
↓ 19 callersFunctionwriteJSONResponse
Helper functions writeJSONResponse writes a JSON response
services/billing-payment-service/internal/handlers/wallet.go:243
↓ 17 callersMethodrespondWithError
respondWithError sends a JSON error response.
services/storage-service/internal/api/handlers.go:64
↓ 16 callersFunctionrespondError
(w http.ResponseWriter, status int, message string)
services/auth-service/internal/middleware/auth.go:309
↓ 14 callersMethodRun
Run starts the hub
services/api-gateway/internal/websocket/hub.go:60
↓ 13 callersMethodStatus
Status returns the current health, the last detected GPU count, and the last check time.
clients/provider-daemon/internal/gpu/health.go:98
↓ 13 callersFunctiongetIPAddress
(r *http.Request)
services/auth-service/internal/handlers/registration.go:534
↓ 12 callersMethodAvailableBalance
AvailableBalance returns the balance available for spending
services/billing-payment-service/internal/models/wallet.go:35
↓ 12 callersFunctionamdField
amdField returns the first field value whose key contains any of the given substrings (case-insensitive). rocm-smi key names vary across versions.
clients/provider-daemon/internal/gpu/detector.go:303
↓ 12 callersFunctionrequest
(path: string, opts: RequestOptions = {})
clients/console/src/lib/api.ts:58
↓ 10 callersMethodWithDetail
WithDetail adds a detail to the error
services/billing-payment-service/internal/models/errors.go:119
↓ 10 callersFunctiongetHTTPStatusFromBillingError
getHTTPStatusFromBillingError maps billing errors to HTTP status codes
services/billing-payment-service/internal/handlers/wallet.go:274
↓ 9 callersMethodEnabled
Enabled reports whether settlement is configured.
services/billing-payment-service/internal/covenant/manager.go:37
↓ 9 callersFunctionoutputJSON
(data interface{}, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:536
↓ 9 callersMethodpublishTaskStatus
publishTaskStatus publishes task status updates via NATS
cmd/provider/main.go:1310
↓ 9 callersMethodsendJSON
(w http.ResponseWriter, statusCode int, data interface{})
services/api-gateway/main-simple.go:135
↓ 8 callersMethodExecute
(ctx context.Context, task *models.Task, workspacePath string, logger *zap.Logger)
clients/provider-daemon/internal/executor/executor.go:40
↓ 8 callersMethodFromContext
FromContext creates a logger with context fields added
services/provider-registry-service/internal/logging/context.go:95
↓ 8 callersFunctionNewBillingError
NewBillingError creates a new BillingError
services/billing-payment-service/internal/models/errors.go:109
↓ 8 callersFunctionRespondWithJSON
RespondWithJSON is a helper to send JSON responses.
services/provider-registry-service/internal/handlers/provider.go:335
↓ 8 callersMethodStop
Stop gracefully shuts down the NATS client.
clients/provider-daemon/internal/nats/client.go:328
↓ 8 callersFunctiongetenvDefault
Helper functions for environment variables
cmd/rental/main.go:441
↓ 8 callersFunctionnum
(v: unknown)
clients/console/src/lib/api.ts:110
↓ 8 callersFunctionoutputJSONError
(message string, writer *os.File, logger *zap.Logger)
clients/provider-daemon/cmd/daemon/main.go:548
↓ 8 callersFunctionuseAuth
()
clients/console/src/providers/AuthProvider.tsx:84
↓ 7 callersMethodLoadSecret
(key string)
services/provider-registry-service/internal/config/secrets.go:12
↓ 7 callersFunctiongetenvDefault
Helper functions for environment variables
cmd/provider/main.go:563
↓ 7 callersFunctionprintTestResult
(result TestResult)
cmd/real-gpu-test/main.go:490
↓ 6 callersMethodDelete
Delete removes a file from the specified bucket with the given key.
services/storage-service/internal/storage/interface.go:29
↓ 6 callersMethodStop
Stop stops the device plugin server
services/dantegpu-device-plugin/main.go:268
↓ 6 callersFunctionamdParseFloat
amdParseFloat parses a numeric string, tolerating surrounding whitespace.
clients/provider-daemon/internal/gpu/detector.go:328
↓ 6 callersMethoddoJSON
(ctx context.Context, method, path string, body any, out any)
services/billing-payment-service/internal/covenant/client.go:113
↓ 6 callersMethodgetTargetBucket
getTargetBucket determines the bucket to use, defaulting to the client's default bucket if none is provided.
services/storage-service/internal/storage/minio.go:88
↓ 6 callersMethodisCommandAvailable
Helper methods isCommandAvailable checks if a command is available in PATH
clients/provider-daemon/internal/gpu/detector.go:522
↓ 6 callersMethodrenderTemplate
renderTemplate renders an email template
services/auth-service/internal/email/smtp_service.go:258
↓ 6 callersMethodsendEmail
sendEmail sends an email via SMTP
services/auth-service/internal/email/smtp_service.go:158
↓ 6 callersFunctionshortAddress
(addr: string | undefined | null, lead = 4, tail = 4)
clients/console/src/lib/format.ts:90
↓ 6 callersMethodwriteResponse
writeResponse writes JSON response
services/scheduler-orchestrator-service/internal/k8s/scheduler_extender.go:402
↓ 5 callersMethodBroadcastToUser
BroadcastToUser sends message to specific user
services/api-gateway/internal/websocket/hub.go:92
↓ 5 callersMethodClose
()
services/provider-registry-service/internal/handlers/provider.go:29
↓ 5 callersMethodGetRentalSession
GetRentalSession retrieves a rental session by ID
services/billing-payment-service/internal/store/postgres.go:317
↓ 5 callersMethodGetWalletByUserID
GetWalletByUserID retrieves a wallet by user ID and type
services/billing-payment-service/internal/store/postgres.go:120
↓ 5 callersMethodShutdown
Shutdown gracefully shuts down the GPU provider
cmd/provider/main.go:2102
↓ 5 callersMethodUpdateWalletBalance
UpdateWalletBalance updates wallet balance and locked balance
services/billing-payment-service/internal/store/postgres.go:149
↓ 5 callersMethodWith
With returns a ContextLogger with the specified fields added
services/provider-registry-service/internal/logging/context.go:90
↓ 5 callersFunctiongetObjectKeyFromPath
getObjectKeyFromPath extracts the object key from the Chi URL parameter pattern `/*`.
services/storage-service/internal/api/handlers.go:108
↓ 5 callersMethodreportTaskStatus
(jobID string, status models.JobStatus, message string, exitCode *int, execLog string)
clients/provider-daemon/internal/tasks/handler.go:168
↓ 5 callersMethodrespondWithJSON
respondWithJSON sends a JSON success response.
services/storage-service/internal/api/handlers.go:80
↓ 5 callersMethodsendJSON
(w http.ResponseWriter, statusCode int, data interface{})
services/auth-service/main-sqlite.go:107
↓ 5 callersMethodsessionKey
Helper functions
services/auth-service/internal/session/redis_store.go:238
↓ 5 callersFunctionsetToken
(token: string | null)
clients/console/src/lib/api.ts:34
↓ 5 callersMethodsignAndSend
signAndSend assembles a transaction from one or more instructions, signs it with the platform key, and submits it. Multiple instructions land atomical
services/billing-payment-service/internal/covenant/onchain.go:396
↓ 5 callersFunctionuseToast
()
clients/console/src/components/ui/Toast.tsx:83
↓ 5 callersMethoduserSessionsKey
(userID string)
services/auth-service/internal/session/redis_store.go:242
↓ 4 callersMethodCreateTransaction
Transaction operations CreateTransaction creates a new transaction
services/billing-payment-service/internal/store/postgres.go:171
↓ 4 callersMethodRemove
Remove removes a token from the blacklist
services/auth-service/internal/session/redis_store.go:353
↓ 4 callersFunctionamdParseMB
amdParseMB parses a byte string (rocm-smi reports VRAM in bytes) into MB.
clients/provider-daemon/internal/gpu/detector.go:316
↓ 4 callersFunctionborshU64
----- Borsh arg encoding -----
services/billing-payment-service/internal/covenant/onchain.go:171
↓ 4 callersFunctiongetEnv
(key, defaultValue string)
services/ory-kratos-integration/main.go:548
↓ 4 callersMethodhandleTaskError
handleTaskError handles task execution errors
cmd/provider/main.go:1278
↓ 4 callersMethodlogAuditEvent
logAuditEvent logs an audit event
services/auth-service/internal/handlers/login_helpers.go:225
↓ 4 callersFunctionpickNumber
(obj: unknown, keys: string[])
clients/console/src/lib/format.ts:104
↓ 4 callersFunctionread
()
clients/console/src/lib/rentalsStore.ts:23
↓ 4 callersFunctionuseBalance
()
clients/console/src/hooks/useBalance.ts:8
↓ 3 callersMethodCalculatePricing
CalculatePricing calculates the pricing for a GPU rental request
services/billing-payment-service/internal/pricing/engine.go:100
↓ 3 callersMethodCreate
Create creates a new session
services/auth-service/internal/session/redis_store.go:41
↓ 3 callersMethodCreateWallet
Wallet operations CreateWallet creates a new wallet
services/billing-payment-service/internal/store/postgres.go:58
↓ 3 callersMethodGetBalance
GetBalance (hypothetical, from previous linter error context) This is a placeholder, assuming the billing service would have an endpoint for this.
clients/provider-daemon/internal/billing/client.go:305
↓ 3 callersMethodGetJobStatus
GetJobStatus retrieves the current status of a job
cmd/rental/main.go:945
↓ 3 callersMethodGetUserWallet
GetUserWallet resolves a user's primary (USDC) wallet by user id. The console keys wallet/balance lookups by user id rather than wallet id, so this is
services/billing-payment-service/internal/service/billing.go:145
↓ 3 callersMethodGetWallet
GetWallet retrieves a wallet by ID
services/billing-payment-service/internal/store/postgres.go:91
↓ 3 callersMethodGetWalletBalance
GetWalletBalance gets the current balance of a wallet
services/billing-payment-service/internal/service/billing.go:108
↓ 3 callersMethodGetWalletBalance
GetWalletBalance retrieves current wallet balance
cmd/rental/main.go:823
↓ 3 callersMethodSubmitJob
SubmitJob submits a new job for execution
cmd/rental/main.go:913
↓ 3 callersMethodUpdate
Update updates a session
services/auth-service/internal/session/redis_store.go:92
↓ 3 callersMethodUpdateRentalSession
UpdateRentalSession updates a rental session
services/billing-payment-service/internal/store/postgres.go:363
↓ 3 callersMethodUpdateTransactionStatus
UpdateTransactionStatus updates transaction status and signature
services/billing-payment-service/internal/store/postgres.go:219
↓ 3 callersMethodcheck
(ctx context.Context)
clients/provider-daemon/internal/gpu/health.go:62
next →1–100 of 1,089, ranked by callers