MCPcopy Create free account

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

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

MethodSend2FACodeEmail
(ctx context.Context, email, code, firstName string)
services/auth-service/internal/handlers/registration_test.go:299
MethodSendBillingUpdate
SendBillingUpdate sends billing update
services/api-gateway/internal/websocket/hub.go:277
MethodSendGPUMetrics
SendGPUMetrics sends GPU metrics
services/api-gateway/internal/websocket/hub.go:257
MethodSendJobLogs
SendJobLogs sends job logs
services/api-gateway/internal/websocket/hub.go:244
MethodSendJobStatus
SendJobStatus sends job status update
services/api-gateway/internal/websocket/hub.go:230
MethodSendLoginAlertEmail
SendLoginAlertEmail sends an alert for new login
services/auth-service/internal/email/smtp_service.go:138
MethodSendLoginAlertEmail
(ctx context.Context, email, firstName, ipAddress, location string)
services/auth-service/internal/handlers/registration_test.go:303
MethodSendNotification
SendNotification sends notification
services/api-gateway/internal/websocket/hub.go:267
MethodSendPasswordChangedEmail
SendPasswordChangedEmail sends a notification when password is changed
services/auth-service/internal/email/smtp_service.go:103
MethodSendPasswordChangedEmail
(ctx context.Context, email, firstName string)
services/auth-service/internal/handlers/registration_test.go:295
MethodSendPasswordResetEmail
SendPasswordResetEmail sends a password reset link
services/auth-service/internal/email/smtp_service.go:83
MethodSendPasswordResetEmail
(ctx context.Context, email, token, firstName string)
services/auth-service/internal/handlers/registration_test.go:291
MethodSendProviderStatus
SendProviderStatus sends provider status update
services/api-gateway/internal/websocket/hub.go:287
MethodSendVerificationEmail
SendVerificationEmail sends an email verification link
services/auth-service/internal/email/smtp_service.go:47
MethodSendVerificationEmail
(ctx context.Context, email, token, firstName string)
services/auth-service/internal/handlers/registration_test.go:283
MethodSendWelcomeEmail
SendWelcomeEmail sends a welcome email after successful verification
services/auth-service/internal/email/smtp_service.go:66
MethodSendWelcomeEmail
(ctx context.Context, email, firstName string)
services/auth-service/internal/handlers/registration_test.go:287
MethodSetJobStatus
Job Status Cache Methods SetJobStatus caches job status
services/redis-cache-service/main.go:277
MethodSetPricing
Pricing Cache Methods SetPricing caches pricing information
services/redis-cache-service/main.go:246
FunctionSetProviderRates
SetProviderRates handles provider rates update requests
services/billing-payment-service/internal/handlers/billing.go:353
MethodSetSystemStats
System Statistics Cache Methods SetSystemStats caches system statistics
services/redis-cache-service/main.go:349
MethodSetUserSession
User Session Cache Methods SetUserSession caches user session data
services/redis-cache-service/main.go:215
FunctionSettings
()
clients/console/src/pages/Settings.tsx:13
MethodSetupSuite
()
tests/integration/job_execution_test.go:31
MethodSetupSuite
()
tests/integration/auth_flow_test.go:40
MethodSetupSuite
()
tests/integration/rental_flow_test.go:34
FunctionSidebar
()
clients/console/src/components/layout/Sidebar.tsx:16
FunctionSkeleton
({ className }: { className?: string })
clients/console/src/components/ui/Skeleton.tsx:3
FunctionSkeletonCard
()
clients/console/src/components/ui/Skeleton.tsx:7
FunctionSpec
({ icon, label, value }: { icon: React.ReactNode; label: string; value: string })
clients/console/src/components/GpuCard.tsx:64
FunctionSpinner
({ className }: { className?: string })
clients/console/src/components/ui/Spinner.tsx:4
FunctionStartRentalSession
StartRentalSession handles rental session start requests
services/billing-payment-service/internal/handlers/billing.go:39
FunctionStat
({ label, value, sub, icon, tone = "default", className, }: { label: string; value: ReactNode;
clients/console/src/components/ui/Stat.tsx:4
FunctionStatusBadge
({ status }: { status: string })
clients/console/src/components/ui/Badge.tsx:41
MethodStreamLogs
StreamLogs handles the WebSocket connection for streaming logs from Loki. NOTE: the Loki tail is still cluster-wide (container=~`.+`); restricting the
services/api-gateway/internal/handlers/logs.go:52
MethodSubmitJob
SubmitJob handles requests to submit a new job. It publishes the job request to a NATS subject.
services/api-gateway/internal/handlers/job.go:59
MethodSubmitWork
SubmitWork submits the provider's delivery (work hash + receipt uri) for a job. The signer here is the taker (provider). When DanteGPU submits on the
services/billing-payment-service/internal/covenant/onchain.go:275
MethodTearDownSuite
()
tests/integration/job_execution_test.go:52
MethodTearDownSuite
()
tests/integration/auth_flow_test.go:61
MethodTearDownSuite
()
tests/integration/rental_flow_test.go:57
FunctionTestAuthFlowTestSuite
Run the test suite
tests/integration/auth_flow_test.go:319
FunctionTestJobExecutionTestSuite
Run the test suite
tests/integration/job_execution_test.go:349
FunctionTestLoginHandler_Login
(t *testing.T)
services/auth-service/internal/handlers/login_test.go:19
FunctionTestLoginHandler_RefreshToken
(t *testing.T)
services/auth-service/internal/handlers/login_test.go:197
FunctionTestPasswordStrength
(t *testing.T)
services/auth-service/internal/handlers/registration_test.go:253
FunctionTestRegistrationHandler_Register
(t *testing.T)
services/auth-service/internal/handlers/registration_test.go:18
FunctionTestRegistrationHandler_VerifyEmail
(t *testing.T)
services/auth-service/internal/handlers/registration_test.go:149
FunctionTestRentalFlowTestSuite
Run the test suite
tests/integration/rental_flow_test.go:386
MethodTestStep1_CreateWallet
Test 1: Create Wallet
tests/integration/rental_flow_test.go:148
MethodTestStep1_SubmitJob
Test 1: Submit Job
tests/integration/job_execution_test.go:135
MethodTestStep1_UserRegistration
Test 1: User Registration
tests/integration/auth_flow_test.go:77
MethodTestStep2_EmailVerification
Test 2: Email Verification
tests/integration/auth_flow_test.go:127
MethodTestStep2_GetWalletBalance
Test 2: Get Wallet Balance
tests/integration/rental_flow_test.go:178
MethodTestStep2_JobScheduling
Test 2: Job Scheduling
tests/integration/job_execution_test.go:178
MethodTestStep3_BrowseGPUs
Test 3: Browse GPUs
tests/integration/rental_flow_test.go:206
MethodTestStep3_JobExecution
Test 3: Job Execution (simulated)
tests/integration/job_execution_test.go:205
MethodTestStep3_Login
Test 3: Login
tests/integration/auth_flow_test.go:166
MethodTestStep4_AccessProtectedEndpoint
Test 4: Access Protected Endpoint
tests/integration/auth_flow_test.go:218
MethodTestStep4_GetJobLogs
Test 4: Get Job Logs
tests/integration/job_execution_test.go:231
MethodTestStep4_StartRental
Test 4: Start Rental (with simulated deposit)
tests/integration/rental_flow_test.go:244
MethodTestStep5_BillingProcessing
Test 5: Billing Processing (simulate minute-based billing)
tests/integration/rental_flow_test.go:305
MethodTestStep5_JobCompletion
Test 5: Job Completion
tests/integration/job_execution_test.go:265
MethodTestStep5_TokenRefresh
Test 5: Token Refresh
tests/integration/auth_flow_test.go:244
MethodTestStep6_EndRental
Test 6: End Rental and Payout
tests/integration/rental_flow_test.go:331
MethodTestStep6_JobCancellation
Test 6: Job Cancellation
tests/integration/job_execution_test.go:302
MethodTestStep6_Logout
Test 6: Logout
tests/integration/auth_flow_test.go:286
FunctionThemeProvider
({ children }: { children: ReactNode })
clients/console/src/providers/ThemeProvider.tsx:31
FunctionThemeToggle
({ className }: { className?: string })
clients/console/src/components/ThemeToggle.tsx:6
FunctionToastProvider
({ children }: { children: ReactNode })
clients/console/src/components/ui/Toast.tsx:28
FunctionTopbar
()
clients/console/src/components/layout/Topbar.tsx:11
MethodUnwrap
Unwrap implements the errors.Unwrap interface
services/provider-registry-service/internal/errors/errors.go:52
MethodUnwrap
Unwrap implements the errors.Unwrap interface
services/provider-registry-service/internal/errors/errors.go:90
MethodUnwrap
Unwrap returns the underlying error
services/billing-payment-service/internal/models/errors.go:104
MethodUpdateActivity
UpdateActivity updates the last activity time of a session
services/auth-service/internal/session/redis_store.go:190
MethodUpdateJobState
UpdateJobState updates specific fields of a job in the database.
services/scheduler-orchestrator-service/internal/store/postgres_jobstore.go:197
MethodUpdateProvider
UpdateProvider updates an existing provider
services/provider-registry-service/internal/store/providerstore.go:27
MethodUpdateProvider
UpdateProvider updates an existing provider in the database.
services/provider-registry-service/internal/store/postgres_providerstore.go:519
MethodUpdateProvider
UpdateProvider updates an existing provider in the store.
services/provider-registry-service/internal/store/memory.go:151
MethodUpdateProvider
UpdateProvider handles full updates to a provider's details.
services/provider-registry-service/internal/handlers/provider.go:196
MethodUpdateProviderHeartbeat
UpdateProviderHeartbeat updates the last_seen_at timestamp for a provider and updates GPU utilization metrics if provided
services/provider-registry-service/internal/store/providerstore.go:37
MethodUpdateProviderHeartbeat
UpdateProviderHeartbeat updates the timestamp for the last heartbeat and also updates GPU utilization metrics if provided
services/provider-registry-service/internal/store/postgres_providerstore.go:654
MethodUpdateProviderHeartbeat
UpdateProviderHeartbeat updates the LastSeenAt timestamp for a provider and updates GPU metrics if provided.
services/provider-registry-service/internal/store/memory.go:193
MethodUpdateProviderStatus
UpdateProviderStatus updates only the status of a provider
services/provider-registry-service/internal/store/providerstore.go:33
MethodUpdateProviderStatus
UpdateProviderStatus updates the status of a specific provider.
services/provider-registry-service/internal/store/postgres_providerstore.go:632
MethodUpdateProviderStatus
UpdateProviderStatus updates the status of a specific provider.
services/provider-registry-service/internal/store/memory.go:178
MethodUpdateProviderStatus
UpdateProviderStatus handles partial updates to a provider's status.
services/provider-registry-service/internal/handlers/provider.go:233
MethodUpload
Upload uploads an object to the specified bucket. If bucketName is empty, the default bucket is used.
services/storage-service/internal/storage/minio.go:97
MethodValidateAPIKey
ValidateAPIKey validates an API key (used by middleware)
services/auth-service/internal/handlers/api_keys.go:211
MethodValidateAccessToken
ValidateAccessToken validates an access token and returns the claims
services/auth-service/pkg/jwt/jwt.go:120
FunctionValidateJWT
ValidateJWT validates the given JWT token string. It returns the claims if the token is valid, otherwise returns an error.
services/api-gateway/internal/auth/jwt.go:58
FunctionVendorMark
({ vendor }: { vendor: GpuVendor })
clients/console/src/components/VendorMark.tsx:14
MethodVerify2FALogin
Verify2FALogin verifies 2FA code during login
services/auth-service/internal/handlers/two_factor.go:223
MethodVerify2FASetup
Verify2FASetup verifies and completes 2FA setup
services/auth-service/internal/handlers/two_factor.go:131
MethodWaitForJobCompletion
WaitForJobCompletion waits for a job to complete
cmd/rental/main.go:992
FunctionWallet
()
clients/console/src/pages/Wallet.tsx:24
FunctionWalletButton
({ size = "md" }: { size?: "sm" | "md" })
clients/console/src/components/WalletButton.tsx:9
FunctionWalletProvider
({ children }: { children: ReactNode })
clients/console/src/providers/WalletProvider.tsx:13
MethodWithDetails
WithDetails adds details to the error response
services/auth-service/internal/handlers/errors.go:143
FunctionWithRequestID
WithRequestID returns a new context with the request ID set
services/provider-registry-service/internal/logging/context.go:29
FunctionWithRetry
WithRetry executes a database operation with configurable retry policy
services/provider-registry-service/internal/retryer/retryer.go:80
← previousnext →901–1,000 of 1,089, ranked by callers