MCPcopy Create free account

hub / github.com/QQ3221197721/cloudai-fusion / functions

Functions4,559 in github.com/QQ3221197721/cloudai-fusion

↓ 8 callersFunctionNewSplitBrainDetector
NewSplitBrainDetector creates a new split-brain detector.
pkg/election/election.go:523
↓ 8 callersFunctionNotFound
NotFound creates a 404 error for a specific resource type and identifier.
pkg/errors/errors.go:196
↓ 8 callersFunctionReadyCondition
============================================================================ Utility — condition builders ============================================
pkg/controller/types.go:337
↓ 8 callersMethodReportPeer
ReportPeer updates the status of a peer node.
pkg/election/election.go:600
↓ 8 callersFunctionScoreTopology
ScoreTopology calculates a topology score (0-100) for placing a workload on specific GPUs Higher score = better GPU interconnection for the given work
pkg/scheduler/gpu_topology.go:372
↓ 8 callersMethodUpdateDrillStep
UpdateDrillStep updates the status of a specific drill step.
pkg/disaster/disaster.go:686
↓ 8 callersMethodUpdateUsage
UpdateUsage updates the current resource usage for a tenant
pkg/tenant/manager.go:347
↓ 8 callersMethodanalyze_gpu_metrics
Analyze GPU metrics using statistical + deep learning ensemble.
ai/anomaly/detector.py:179
↓ 8 callersMethodchat_json
Chat completion with JSON output parsing. Parsing strategy (ordered by priority): 1. Try raw text as JSON directly. 2. Ex
ai/agents/llm_client.py:176
↓ 8 callersFunctioncontains
(s, substr string)
pkg/edge/model_optimization.go:306
↓ 8 callersFunctiondetermineUrgency
(current, threshold float64)
pkg/aiops/capacity.go:636
↓ 8 callersMethoddoROARequest
doROARequest performs a signed ROA-style API request via the official SDK
pkg/cloud/aliyun_sdk.go:44
↓ 8 callersMethodgenerate_scaling_recommendation
Generate predictive scaling recommendations.
ai/agents/operations_agent.py:175
↓ 8 callersFunctionmakeNode
(name string, gpus int, ready bool)
pkg/k8s/client_test.go:27
↓ 8 callersFunctionnewTestEnv
()
tests/integration/integration_test.go:38
↓ 8 callersFunctionreadLEB128
readLEB128 reads a LEB128 unsigned integer from a byte slice
pkg/wasm/runtime.go:121
↓ 8 callersMethodscoreNode
============================================================================ Node Scoring ============================================================
pkg/scheduler/engine.go:534
↓ 8 callersFunctionseverityRank
severityRank returns a numeric rank for alert severity (higher = more severe).
pkg/metrics/errorbudget.go:716
↓ 8 callersMethodto_dict
(self)
ai/agents/operations_agent.py:61
↓ 7 callersMethodAdd
Add adds a key to the bloom filter.
pkg/cache/optimizer.go:69
↓ 7 callersMethodAddErrorf
AddErrorf appends a formatted field validation error.
pkg/validation/validator.go:37
↓ 7 callersMethodApplyDecision
ApplyDecision applies a scaling decision and records the event.
pkg/aiops/autoscale.go:339
↓ 7 callersFunctionCheckPassword
CheckPassword compares a plaintext password with a bcrypt hash
pkg/auth/auth.go:210
↓ 7 callersMethodCreateIncident
============================================================================ Incident Retrospective ==================================================
pkg/observability/manager.go:623
↓ 7 callersMethodCreateTicket
============================================================================ Support Ticket System ===================================================
pkg/enterprise/manager.go:374
↓ 7 callersMethodDoRawRequestWithBody
(ctx context.Context, method, path string, body []byte)
pkg/k8s/interfaces.go:27
↓ 7 callersFunctionErrorCondition
ErrorCondition creates an Error=True condition.
pkg/controller/types.go:370
↓ 7 callersMethodEvaluate
Evaluate makes a local scheduling decision based on policies and resources.
pkg/edge/offline_runtime.go:421
↓ 7 callersMethodGet
Get returns the circuit breaker for a service, creating one if needed.
pkg/resilience/circuit.go:249
↓ 7 callersMethodIdentity
Identity returns this instance's unique identity.
pkg/election/election.go:43
↓ 7 callersMethodIncrementCounter
IncrementCounter increments a distributed counter
pkg/edge/offline_enhanced.go:596
↓ 7 callersMethodIngestSnapshot
IngestSnapshot adds a resource snapshot for analysis.
pkg/aiops/capacity.go:185
↓ 7 callersMethodIs
Is implements sentinel error comparison. Two AppErrors are equal if their Code matches.
pkg/errors/errors.go:165
↓ 7 callersMethodIsLeader
IsLeader returns true if this instance currently holds the lease.
pkg/election/election.go:37
↓ 7 callersMethodListFlags
ListFlags returns all registered feature flags sorted by category then key.
pkg/feature/flags.go:296
↓ 7 callersFunctionNewClusterReconciler
NewClusterReconciler creates a new ClusterReconciler.
pkg/controller/cluster_reconciler.go:45
↓ 7 callersFunctionNewCostAnalysisEngine
NewCostAnalysisEngine creates a new cost analysis engine.
pkg/finops/report.go:167
↓ 7 callersFunctionNewHub
NewHub creates a new WebSocket hub and starts the event loop.
pkg/websocket/hub.go:65
↓ 7 callersFunctionNewManager
NewManager creates a new cloud provider manager
pkg/cloud/manager.go:184
↓ 7 callersFunctionNewManager
NewManager creates a new cluster manager
pkg/cluster/manager.go:153
↓ 7 callersFunctionNewMultiLevelCache
NewMultiLevelCache creates a two-tier cache (L1=memory, L2=Redis).
pkg/cache/cache.go:404
↓ 7 callersFunctionNewNodeWatchCache
NewNodeWatchCache creates a new node watch cache.
pkg/scheduler/engine.go:816
↓ 7 callersFunctionNewResult
NewResult creates a new result.
pkg/plugin/types.go:190
↓ 7 callersFunctionNewService
NewService creates a new monitoring service
pkg/monitor/service.go:281
↓ 7 callersFunctionNewWorkloadReconciler
NewWorkloadReconciler creates a new WorkloadReconciler.
pkg/controller/workload_reconciler.go:47
↓ 7 callersMethodPredict
Predict generates interruption prediction for a specific instance type.
pkg/finops/spot.go:148
↓ 7 callersMethodRecordError
RecordError increments the error count for a source.
pkg/logging/centralized.go:457
↓ 7 callersMethodRecordRequest
RecordRequest records a request for budget tracking.
pkg/metrics/errorbudget.go:228
↓ 7 callersMethodRegisterCluster
RegisterCluster registers a cluster for capacity planning.
pkg/aiops/capacity.go:178
↓ 7 callersMethodRemediate
Remediate executes automatic remediation for an incident.
pkg/aiops/selfheal.go:379
↓ 7 callersMethodReset
Reset forces the circuit breaker back to Closed state.
pkg/resilience/circuit.go:131
↓ 7 callersMethodScan
(ctx context.Context, target ScanTarget)
pkg/plugin/security_ext.go:48
↓ 7 callersMethodShutdown
Shutdown flushes remaining spans and shuts down the provider.
pkg/tracing/tracing.go:169
↓ 7 callersMethodStartBackup
StartBackup transitions a backup to running state (simulates execution).
pkg/disaster/disaster.go:282
↓ 7 callersMethodStatus
Status returns the current status of the Raft node.
pkg/cluster/raft.go:750
↓ 7 callersMethodString
String returns a human-readable health status.
pkg/resilience/health.go:34
↓ 7 callersMethodVerifyImage
============================================================================ Image Verification Operations (cosign) ==================================
pkg/security/hardening.go:368
↓ 7 callersMethodWithCause
WithCause wraps an underlying error.
pkg/errors/errors.go:101
↓ 7 callersMethodafterRequest
afterRequest records the result and potentially transitions state.
pkg/resilience/circuit.go:170
↓ 7 callersFunctionema
(values []float64, alpha float64)
pkg/aiops/capacity.go:598
↓ 7 callersMethodlastLogIndex
()
pkg/cluster/raft.go:413
↓ 7 callersFunctionlinearTrend
============================================================================ Statistical Helpers =====================================================
pkg/aiops/capacity.go:577
↓ 7 callersFunctionnewE2EEnv
()
tests/e2e/e2e_test.go:46
↓ 7 callersFunctionnewTestTracker
============================================================================ SLOTracker — RecordRequest + Status =====================================
pkg/metrics/metrics_test.go:198
↓ 7 callersMethodrunCheckSet
(ctx context.Context, checks map[string]HealthChecker)
pkg/resilience/health.go:370
↓ 7 callersMethodschedulingCycle
============================================================================ Core Scheduling Logic ===================================================
pkg/scheduler/engine.go:253
↓ 7 callersMethodtransitionEndpoint
(ep *Endpoint, newState EndpointState, reason string)
pkg/resilience/failover.go:421
↓ 6 callersMethodCheck
Check performs split-brain detection. Returns true if split-brain is detected.
pkg/election/election.go:545
↓ 6 callersMethodCreateArchivalPolicy
============================================================================ Archival Policy Management ==============================================
pkg/logging/centralized.go:280
↓ 6 callersMethodCreateSLAContract
============================================================================ SLA Management ==========================================================
pkg/enterprise/manager.go:282
↓ 6 callersFunctionDefaultAlertConvergenceConfig
DefaultAlertConvergenceConfig returns production convergence settings.
pkg/metrics/errorbudget.go:444
↓ 6 callersFunctionDefaultCRDTConfig
DefaultCRDTConfig returns production-ready CRDT defaults
pkg/edge/offline_enhanced.go:365
↓ 6 callersMethodDeletePattern
DeletePattern removes all keys matching a glob pattern.
pkg/cache/cache.go:64
↓ 6 callersMethodExecute
Execute runs a distributed transaction across all involved participants. This is the main entry point for application code.
pkg/store/twopc.go:249
↓ 6 callersMethodGet
Get blocks until an item is available, then returns it. The caller MUST call Done() when processing is complete. Returns (Request{}, true) if the queu
pkg/controller/queue.go:175
↓ 6 callersMethodGetBudget
GetBudget returns the budget state for a service.
pkg/metrics/errorbudget.go:320
↓ 6 callersMethodGetCachedNodes
GetCachedNodes returns the cached node list (thread-safe).
pkg/scheduler/engine.go:831
↓ 6 callersMethodGetEventCount
GetEventCount returns the total number of stored events.
pkg/audit/audit.go:212
↓ 6 callersMethodGetFlag
GetFlag returns a specific flag's state.
pkg/feature/flags.go:283
↓ 6 callersMethodGetNodeAutonomyState
GetNodeAutonomyState returns autonomy status for a node
pkg/edge/edge_cloud_collab.go:373
↓ 6 callersMethodGetNodeResources
(ctx context.Context)
pkg/k8s/interfaces.go:17
↓ 6 callersMethodHandleEvent
HandleEvent processes an event and transitions state accordingly.
pkg/edge/offline_runtime.go:149
↓ 6 callersMethodIngestMetrics
IngestMetrics adds metric samples for analysis.
pkg/aiops/autoscale.go:195
↓ 6 callersMethodIngestPriceData
IngestPriceData adds historical spot price data for analysis.
pkg/finops/spot.go:126
↓ 6 callersMethodIngestUsageData
IngestUsageData adds historical usage data for analysis.
pkg/finops/recommendation.go:136
↓ 6 callersMethodIsTokenRevoked
IsTokenRevoked checks if a token has been revoked by its JTI.
pkg/security/oidc.go:811
↓ 6 callersMethodJITProvision
JITProvision automatically provisions a local account for a federated identity. If the user already exists (matched by external sub), it updates the l
pkg/security/oidc.go:637
↓ 6 callersMethodList
List returns workloads with pagination and filtering.
pkg/workload/interfaces.go:17
↓ 6 callersFunctionNew
New creates a new gRPC server with the given configuration.
pkg/rpcserver/server.go:57
↓ 6 callersFunctionNewCRDTSyncEngine
NewCRDTSyncEngine creates a new CRDT sync engine
pkg/edge/offline_enhanced.go:581
↓ 6 callersFunctionNewManager
NewManager creates a new audit manager.
pkg/audit/audit.go:133
↓ 6 callersFunctionNewOptimizationEngine
NewOptimizationEngine creates a new optimization engine
pkg/edge/model_optimization.go:163
↓ 6 callersMethodNumRequeues
NumRequeues returns the number of times a request has been requeued.
pkg/controller/queue.go:227
↓ 6 callersMethodPublish
Publish sends a message to the specified queue.
pkg/messaging/queue.go:112
↓ 6 callersMethodReconcile
Reconcile performs a single reconciliation pass for a Workload object. The reconciliation loop drives workloads through their lifecycle: pending → q
pkg/controller/workload_reconciler.go:74
↓ 6 callersMethodRecordUsage
============================================================================ Billing & Metering ======================================================
pkg/tenant/manager.go:490
↓ 6 callersFunctionRetry
============================================================================ Retry Executor ==========================================================
pkg/resilience/retry.go:54
↓ 6 callersMethodRevokeToken
============================================================================ Token Revocation & Logout ===============================================
pkg/security/oidc.go:797
↓ 6 callersMethodRun
============================================================================ Lifecycle ===============================================================
pkg/scheduler/engine.go:185
↓ 6 callersMethodSetFlag
SetFlag updates or creates a feature flag.
pkg/feature/flags.go:252
← previousnext →201–300 of 4,559, ranked by callers