MCPcopy Create free account

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

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

MethodGetDatabaseConfig
GetDatabaseConfig returns database configuration for pgxpool
services/billing-payment-service/internal/config/config.go:181
MethodGetDevicePluginOptions
GetDevicePluginOptions returns device plugin options
services/dantegpu-device-plugin/main.go:48
MethodGetGPUAvailability
GetGPUAvailability retrieves cached GPU availability data
services/redis-cache-service/main.go:183
MethodGetGPUMarketplace
GetGPUMarketplace gets available GPUs with pricing
services/api-gateway/internal/handlers/billing.go:189
FunctionGetJSON
GetJSON performs a GET against url, forwarding the Authorization header, and streams the upstream status and body back to w. Returns false if the upst
services/api-gateway/internal/upstream/upstream.go:58
MethodGetJob
GetJob fetches a job by id (GET /api/jobs/{id}). Pure read.
services/billing-payment-service/internal/covenant/client.go:147
MethodGetJobStatus
GetJobStatus returns the scheduler's current state for a job by querying the scheduler-orchestrator-service (which owns the job state machine).
services/api-gateway/internal/handlers/job.go:134
MethodGetJobStatus
GetJobStatus retrieves cached job status
services/redis-cache-service/main.go:301
MethodGetJobsByState
GetJobsByState retrieves a list of jobs matching a specific state. This could be useful for re-processing pending jobs on startup or for monitoring.
services/scheduler-orchestrator-service/internal/store/jobstore.go:24
MethodGetJobsByState
GetJobsByState retrieves a list of jobs matching a specific state.
services/scheduler-orchestrator-service/internal/store/postgres_jobstore.go:282
MethodGetObjectInfo
GetObjectInfo retrieves metadata for a specific object. If bucketName is empty, the default bucket is used.
services/storage-service/internal/storage/minio.go:234
MethodGetPreferredAllocation
GetPreferredAllocation returns preferred allocation for devices
services/dantegpu-device-plugin/main.go:86
MethodGetPresignedURL
GetPresignedURL generates a presigned URL for an object. If bucketName is empty, the default bucket is used. For GET operations (method="GET"), expiry
services/storage-service/internal/storage/minio.go:270
MethodGetPricing
GetPricing retrieves cached pricing
services/redis-cache-service/main.go:258
MethodGetPricingConfig
GetPricingConfig returns pricing engine configuration
services/billing-payment-service/internal/config/config.go:201
FunctionGetPricingRates
GetPricingRates handles pricing rates requests
services/billing-payment-service/internal/handlers/billing.go:236
MethodGetPricingRates
GetPricingRates handles pricing rates requests
services/api-gateway/internal/handlers/billing.go:132
MethodGetPricingRates
GetPricingRates gets current GPU rental pricing rates
services/api-gateway/internal/billing/client.go:255
MethodGetProvider
GetProvider retrieves a provider by ID
services/provider-registry-service/internal/store/providerstore.go:20
MethodGetProvider
GetProvider retrieves a provider by its ID.
services/provider-registry-service/internal/store/postgres_providerstore.go:210
MethodGetProvider
GetProvider retrieves a provider by its ID.
services/provider-registry-service/internal/store/memory.go:54
MethodGetProvider
GetProvider retrieves a specific provider by its ID.
services/provider-registry-service/internal/handlers/provider.go:171
FunctionGetProviderEarnings
GetProviderEarnings handles provider earnings requests
services/billing-payment-service/internal/handlers/billing.go:250
MethodGetProviderEarnings
GetProviderEarnings proxies to the billing service for a provider's accrued earnings, pending payout and lifetime totals (provider dashboard).
services/api-gateway/internal/handlers/billing.go:305
MethodGetProviderEarnings
GetProviderEarnings retrieves earnings information for a provider
services/billing-payment-service/internal/service/billing.go:586
FunctionGetProviderRates
GetProviderRates handles provider rates requests
services/billing-payment-service/internal/handlers/billing.go:331
MethodGetRemaining
GetRemaining gets the remaining requests allowed
services/auth-service/internal/session/redis_store.go:279
MethodGetRetryableJobs
GetPendingJobs retrieves jobs that are in a pending, searching, or previously failed state (for retry purposes). This is a more specific query that mi
services/scheduler-orchestrator-service/internal/store/jobstore.go:28
MethodGetRetryableJobs
GetRetryableJobs retrieves jobs that are in a pending or searching state, or failed with few attempts. This is a simplified example; more complex retr
services/scheduler-orchestrator-service/internal/store/postgres_jobstore.go:303
MethodGetSessionStatus
GetSessionStatus gets the current status of a session
services/scheduler-orchestrator-service/internal/billing/integration.go:187
MethodGetSolanaConfig
GetSolanaConfig returns Solana client configuration
services/billing-payment-service/internal/config/config.go:196
MethodGetSystemStats
GetSystemStats retrieves cached system statistics
services/redis-cache-service/main.go:359
MethodGetTokenRemainingTime
GetTokenRemainingTime returns the remaining time until token expiration
services/auth-service/pkg/jwt/jwt.go:226
MethodGetTransaction
GetTransaction retrieves a transaction by ID
services/billing-payment-service/internal/store/postgres.go:245
FunctionGetTransactionHistory
GetTransactionHistory handles transaction history requests
services/billing-payment-service/internal/handlers/wallet.go:151
MethodGetTransactionHistory
GetTransactionHistory gets transaction history for a wallet
services/api-gateway/internal/handlers/billing.go:256
MethodGetUsageRecordsBySession
GetUsageRecordsBySession retrieves usage records for a session
services/billing-payment-service/internal/store/postgres.go:472
FunctionGetUserBalance
GetUserBalance returns a user's primary wallet balance by user id.
services/billing-payment-service/internal/handlers/wallet.go:217
MethodGetUserBalance
GetUserBalance gets a user's USDC balance
services/api-gateway/internal/handlers/billing.go:177
MethodGetUserClientCount
GetUserClientCount returns number of clients for a user
services/api-gateway/internal/websocket/hub.go:119
MethodGetUserInfo
GetUserInfo returns user information from session
services/ory-kratos-integration/main.go:334
MethodGetUserSession
GetUserSession retrieves cached user session
services/redis-cache-service/main.go:227
MethodGetUserSessions
GetUserSessions gets all sessions for a user
services/auth-service/internal/session/redis_store.go:155
FunctionGetUserWallet
GetUserWallet returns a user's primary (USDC) wallet by user id.
services/billing-payment-service/internal/handlers/wallet.go:193
MethodGetUserWallet
GetUserWallet gets a user's wallet by user ID
services/api-gateway/internal/handlers/billing.go:165
FunctionGetWalletBalance
GetWalletBalance handles wallet balance requests
services/billing-payment-service/internal/handlers/wallet.go:42
MethodGetWalletBalance
GetWalletBalance handles wallet balance requests
services/api-gateway/internal/handlers/billing.go:55
MethodGetWalletBalance
GetWalletBalance gets the current balance of a wallet
services/api-gateway/internal/billing/client.go:145
FunctionGetWithHeaders
GetWithHeaders performs a GET with custom headers and streams the upstream status and body back to w.
services/api-gateway/internal/upstream/upstream.go:87
FunctionGpuCard
({ gpu, onRent }: { gpu: GpuListing; onRent: (gpu: GpuListing) => void })
clients/console/src/components/GpuCard.tsx:12
MethodHandleTask
HandleTask is called when a new task is received.
clients/provider-daemon/internal/tasks/handler.go:78
MethodHasAllRoles
HasAllRoles checks if the token has all of the specified roles
services/auth-service/pkg/jwt/jwt.go:261
MethodHasAnyRole
HasAnyRole checks if the token has any of the specified roles
services/auth-service/pkg/jwt/jwt.go:251
MethodHealthCheck
Health check endpoint
services/ory-kratos-integration/main.go:447
MethodHealthy
Healthy reports whether the provider's GPUs are currently healthy.
clients/provider-daemon/internal/gpu/health.go:90
MethodInitialize
Initialize sets up any necessary structures or connections
services/provider-registry-service/internal/store/providerstore.go:14
MethodInitialize
Initialize sets up the in-memory store. For this implementation, there's no need for real initialization since the map is created in the constructor.
services/provider-registry-service/internal/store/memory.go:28
MethodInitialize
(ctx context.Context)
services/provider-registry-service/internal/handlers/provider.go:28
MethodInitialize
Initialize is called to set up the store, e.g., create tables if they don't exist.
services/scheduler-orchestrator-service/internal/store/jobstore.go:35
MethodInvalidateGPUCache
InvalidateGPUCache invalidates cache entries for a GPU
services/redis-cache-service/main.go:391
MethodInvalidateUserCache
Utility Methods InvalidateUserCache invalidates all cache entries for a user
services/redis-cache-service/main.go:376
MethodIs
Is implements the errors.Is interface
services/provider-registry-service/internal/errors/errors.go:95
FunctionIsAlreadyExists
IsAlreadyExists returns true if the error or its cause is an already exists error
services/provider-registry-service/internal/errors/errors.go:117
MethodIsBlacklisted
IsBlacklisted checks if a token is blacklisted
services/auth-service/internal/session/redis_store.go:341
FunctionIsDatabase
IsDatabase returns true if the error or its cause is a database error
services/provider-registry-service/internal/errors/errors.go:127
MethodIsDevelopment
IsDevelopment returns true if running in development mode
services/billing-payment-service/internal/config/config.go:211
FunctionIsInternal
IsInternal returns true if the error or its cause is an internal error
services/provider-registry-service/internal/errors/errors.go:147
FunctionIsInvalidInput
IsInvalidInput returns true if the error or its cause is an invalid input error
services/provider-registry-service/internal/errors/errors.go:122
FunctionIsNotFound
IsNotFound returns true if the error or its cause is a not found error
services/provider-registry-service/internal/errors/errors.go:112
FunctionIsPermissionDenied
IsPermissionDenied returns true if the error or its cause is a permission denied error
services/provider-registry-service/internal/errors/errors.go:137
MethodIsProduction
IsProduction returns true if running in production mode
services/billing-payment-service/internal/config/config.go:216
FunctionIsTimeout
IsTimeout returns true if the error or its cause is a timeout error
services/provider-registry-service/internal/errors/errors.go:132
MethodIsTokenRevoked
IsTokenRevoked checks if a token has been revoked
services/auth-service/pkg/jwt/jwt.go:196
FunctionIsTransient
IsTransient returns true if the error is a transient error that can be retried
services/provider-registry-service/internal/errors/errors.go:152
FunctionIsUnavailable
IsUnavailable returns true if the error or its cause is a service unavailable error
services/provider-registry-service/internal/errors/errors.go:142
MethodListAPIKeys
ListAPIKeys lists all API keys for the user
services/auth-service/internal/handlers/api_keys.go:118
MethodListAndWatch
ListAndWatch returns a stream of List of Devices
services/dantegpu-device-plugin/main.go:56
MethodListObjects
ListObjects lists objects in the specified bucket, optionally filtered by prefix. If bucketName is empty, the default bucket is used.
services/storage-service/internal/storage/minio.go:196
MethodListProviders
ListProviders retrieves all providers, with optional filtering TODO: Add filtering parameters
services/provider-registry-service/internal/store/providerstore.go:24
MethodListProviders
ListProviders returns a list of all providers, with optional filtering.
services/provider-registry-service/internal/store/postgres_providerstore.go:350
MethodListProviders
ListProviders returns a list of all providers with optional filtering. For now, it returns all providers.
services/provider-registry-service/internal/store/memory.go:67
MethodListProviders
ListProviders retrieves a list of registered providers.
services/provider-registry-service/internal/handlers/provider.go:124
FunctionLoadConfig
LoadConfig reads configuration from the given YAML file path. It creates a default config file if it doesn't exist.
services/api-gateway/internal/config/config.go:38
FunctionLoadConfig
LoadConfig reads configuration from the given YAML file path. It creates a default config file if it doesn't exist and applies defaults for missing fi
services/storage-service/internal/config/config.go:63
FunctionLoadConfig
LoadConfig reads configuration from the given YAML file path. It creates a default config file if it doesn't exist.
services/provider-registry-service/internal/config/config.go:32
FunctionLoadConfig
LoadConfig reads configuration from the given YAML file path. It creates a default config file if it doesn't exist.
services/scheduler-orchestrator-service/internal/config/config.go:54
FunctionLoadConfig
LoadConfig reads configuration from the given YAML file path. It creates a default config file if it doesn't exist.
clients/provider-daemon/internal/config/config.go:86
FunctionLoadFromEnv
LoadFromEnv loads SMTP configuration from environment variables
services/auth-service/internal/email/smtp_service.go:457
MethodLoadSecret
LoadSecret loads a secret from an environment variable
services/provider-registry-service/internal/config/secrets.go:21
MethodLoadSecret
LoadSecret loads a secret from the secrets file
services/provider-registry-service/internal/config/secrets.go:46
MethodLoadSecret
LoadSecret tries each loader in sequence until it finds the secret
services/provider-registry-service/internal/config/secrets.go:91
FunctionLogStream
({ lines, title = "Session logs", heightClass = "h-72", action, }: { lines: LogLine[]; title?: str
clients/console/src/components/LogStream.tsx:21
FunctionLogin
()
clients/console/src/pages/Login.tsx:10
MethodLogin
Login proxies authentication to the auth-service.
services/api-gateway/internal/handlers/auth.go:26
FunctionLogo
({ className, showWord = true }: { className?: string; showWord?: boolean })
clients/console/src/components/Logo.tsx:5
MethodLogout
Logout handles user logout
services/auth-service/internal/handlers/login.go:336
FunctionMarketplace
()
clients/console/src/pages/Marketplace.tsx:16
FunctionMobileNav
()
clients/console/src/components/layout/MobileNav.tsx:14
FunctionModal
({ open, onClose, title, description, children, footer, size = "md", }: { open: boolean; onC
clients/console/src/components/ui/Modal.tsx:5
FunctionMyRentals
()
clients/console/src/pages/MyRentals.tsx:9
← previousnext →701–800 of 1,089, ranked by callers