Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QQ3221197721/cloudai-fusion
/ functions
Functions
4,559 in github.com/QQ3221197721/cloudai-fusion
⨍
Functions
4,559
◇
Types & classes
1,271
↳
Endpoints
11
↓ 8 callers
Function
NewSplitBrainDetector
NewSplitBrainDetector creates a new split-brain detector.
pkg/election/election.go:523
↓ 8 callers
Function
NotFound
NotFound creates a 404 error for a specific resource type and identifier.
pkg/errors/errors.go:196
↓ 8 callers
Function
ReadyCondition
============================================================================ Utility — condition builders ============================================
pkg/controller/types.go:337
↓ 8 callers
Method
ReportPeer
ReportPeer updates the status of a peer node.
pkg/election/election.go:600
↓ 8 callers
Function
ScoreTopology
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 callers
Method
UpdateDrillStep
UpdateDrillStep updates the status of a specific drill step.
pkg/disaster/disaster.go:686
↓ 8 callers
Method
UpdateUsage
UpdateUsage updates the current resource usage for a tenant
pkg/tenant/manager.go:347
↓ 8 callers
Method
analyze_gpu_metrics
Analyze GPU metrics using statistical + deep learning ensemble.
ai/anomaly/detector.py:179
↓ 8 callers
Method
chat_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 callers
Function
contains
(s, substr string)
pkg/edge/model_optimization.go:306
↓ 8 callers
Function
determineUrgency
(current, threshold float64)
pkg/aiops/capacity.go:636
↓ 8 callers
Method
doROARequest
doROARequest performs a signed ROA-style API request via the official SDK
pkg/cloud/aliyun_sdk.go:44
↓ 8 callers
Method
generate_scaling_recommendation
Generate predictive scaling recommendations.
ai/agents/operations_agent.py:175
↓ 8 callers
Function
makeNode
(name string, gpus int, ready bool)
pkg/k8s/client_test.go:27
↓ 8 callers
Function
newTestEnv
()
tests/integration/integration_test.go:38
↓ 8 callers
Function
readLEB128
readLEB128 reads a LEB128 unsigned integer from a byte slice
pkg/wasm/runtime.go:121
↓ 8 callers
Method
scoreNode
============================================================================ Node Scoring ============================================================
pkg/scheduler/engine.go:534
↓ 8 callers
Function
severityRank
severityRank returns a numeric rank for alert severity (higher = more severe).
pkg/metrics/errorbudget.go:716
↓ 8 callers
Method
to_dict
(self)
ai/agents/operations_agent.py:61
↓ 7 callers
Method
Add
Add adds a key to the bloom filter.
pkg/cache/optimizer.go:69
↓ 7 callers
Method
AddErrorf
AddErrorf appends a formatted field validation error.
pkg/validation/validator.go:37
↓ 7 callers
Method
ApplyDecision
ApplyDecision applies a scaling decision and records the event.
pkg/aiops/autoscale.go:339
↓ 7 callers
Function
CheckPassword
CheckPassword compares a plaintext password with a bcrypt hash
pkg/auth/auth.go:210
↓ 7 callers
Method
CreateIncident
============================================================================ Incident Retrospective ==================================================
pkg/observability/manager.go:623
↓ 7 callers
Method
CreateTicket
============================================================================ Support Ticket System ===================================================
pkg/enterprise/manager.go:374
↓ 7 callers
Method
DoRawRequestWithBody
(ctx context.Context, method, path string, body []byte)
pkg/k8s/interfaces.go:27
↓ 7 callers
Function
ErrorCondition
ErrorCondition creates an Error=True condition.
pkg/controller/types.go:370
↓ 7 callers
Method
Evaluate
Evaluate makes a local scheduling decision based on policies and resources.
pkg/edge/offline_runtime.go:421
↓ 7 callers
Method
Get
Get returns the circuit breaker for a service, creating one if needed.
pkg/resilience/circuit.go:249
↓ 7 callers
Method
Identity
Identity returns this instance's unique identity.
pkg/election/election.go:43
↓ 7 callers
Method
IncrementCounter
IncrementCounter increments a distributed counter
pkg/edge/offline_enhanced.go:596
↓ 7 callers
Method
IngestSnapshot
IngestSnapshot adds a resource snapshot for analysis.
pkg/aiops/capacity.go:185
↓ 7 callers
Method
Is
Is implements sentinel error comparison. Two AppErrors are equal if their Code matches.
pkg/errors/errors.go:165
↓ 7 callers
Method
IsLeader
IsLeader returns true if this instance currently holds the lease.
pkg/election/election.go:37
↓ 7 callers
Method
ListFlags
ListFlags returns all registered feature flags sorted by category then key.
pkg/feature/flags.go:296
↓ 7 callers
Function
NewClusterReconciler
NewClusterReconciler creates a new ClusterReconciler.
pkg/controller/cluster_reconciler.go:45
↓ 7 callers
Function
NewCostAnalysisEngine
NewCostAnalysisEngine creates a new cost analysis engine.
pkg/finops/report.go:167
↓ 7 callers
Function
NewHub
NewHub creates a new WebSocket hub and starts the event loop.
pkg/websocket/hub.go:65
↓ 7 callers
Function
NewManager
NewManager creates a new cloud provider manager
pkg/cloud/manager.go:184
↓ 7 callers
Function
NewManager
NewManager creates a new cluster manager
pkg/cluster/manager.go:153
↓ 7 callers
Function
NewMultiLevelCache
NewMultiLevelCache creates a two-tier cache (L1=memory, L2=Redis).
pkg/cache/cache.go:404
↓ 7 callers
Function
NewNodeWatchCache
NewNodeWatchCache creates a new node watch cache.
pkg/scheduler/engine.go:816
↓ 7 callers
Function
NewResult
NewResult creates a new result.
pkg/plugin/types.go:190
↓ 7 callers
Function
NewService
NewService creates a new monitoring service
pkg/monitor/service.go:281
↓ 7 callers
Function
NewWorkloadReconciler
NewWorkloadReconciler creates a new WorkloadReconciler.
pkg/controller/workload_reconciler.go:47
↓ 7 callers
Method
Predict
Predict generates interruption prediction for a specific instance type.
pkg/finops/spot.go:148
↓ 7 callers
Method
RecordError
RecordError increments the error count for a source.
pkg/logging/centralized.go:457
↓ 7 callers
Method
RecordRequest
RecordRequest records a request for budget tracking.
pkg/metrics/errorbudget.go:228
↓ 7 callers
Method
RegisterCluster
RegisterCluster registers a cluster for capacity planning.
pkg/aiops/capacity.go:178
↓ 7 callers
Method
Remediate
Remediate executes automatic remediation for an incident.
pkg/aiops/selfheal.go:379
↓ 7 callers
Method
Reset
Reset forces the circuit breaker back to Closed state.
pkg/resilience/circuit.go:131
↓ 7 callers
Method
Scan
(ctx context.Context, target ScanTarget)
pkg/plugin/security_ext.go:48
↓ 7 callers
Method
Shutdown
Shutdown flushes remaining spans and shuts down the provider.
pkg/tracing/tracing.go:169
↓ 7 callers
Method
StartBackup
StartBackup transitions a backup to running state (simulates execution).
pkg/disaster/disaster.go:282
↓ 7 callers
Method
Status
Status returns the current status of the Raft node.
pkg/cluster/raft.go:750
↓ 7 callers
Method
String
String returns a human-readable health status.
pkg/resilience/health.go:34
↓ 7 callers
Method
VerifyImage
============================================================================ Image Verification Operations (cosign) ==================================
pkg/security/hardening.go:368
↓ 7 callers
Method
WithCause
WithCause wraps an underlying error.
pkg/errors/errors.go:101
↓ 7 callers
Method
afterRequest
afterRequest records the result and potentially transitions state.
pkg/resilience/circuit.go:170
↓ 7 callers
Function
ema
(values []float64, alpha float64)
pkg/aiops/capacity.go:598
↓ 7 callers
Method
lastLogIndex
()
pkg/cluster/raft.go:413
↓ 7 callers
Function
linearTrend
============================================================================ Statistical Helpers =====================================================
pkg/aiops/capacity.go:577
↓ 7 callers
Function
newE2EEnv
()
tests/e2e/e2e_test.go:46
↓ 7 callers
Function
newTestTracker
============================================================================ SLOTracker — RecordRequest + Status =====================================
pkg/metrics/metrics_test.go:198
↓ 7 callers
Method
runCheckSet
(ctx context.Context, checks map[string]HealthChecker)
pkg/resilience/health.go:370
↓ 7 callers
Method
schedulingCycle
============================================================================ Core Scheduling Logic ===================================================
pkg/scheduler/engine.go:253
↓ 7 callers
Method
transitionEndpoint
(ep *Endpoint, newState EndpointState, reason string)
pkg/resilience/failover.go:421
↓ 6 callers
Method
Check
Check performs split-brain detection. Returns true if split-brain is detected.
pkg/election/election.go:545
↓ 6 callers
Method
CreateArchivalPolicy
============================================================================ Archival Policy Management ==============================================
pkg/logging/centralized.go:280
↓ 6 callers
Method
CreateSLAContract
============================================================================ SLA Management ==========================================================
pkg/enterprise/manager.go:282
↓ 6 callers
Function
DefaultAlertConvergenceConfig
DefaultAlertConvergenceConfig returns production convergence settings.
pkg/metrics/errorbudget.go:444
↓ 6 callers
Function
DefaultCRDTConfig
DefaultCRDTConfig returns production-ready CRDT defaults
pkg/edge/offline_enhanced.go:365
↓ 6 callers
Method
DeletePattern
DeletePattern removes all keys matching a glob pattern.
pkg/cache/cache.go:64
↓ 6 callers
Method
Execute
Execute runs a distributed transaction across all involved participants. This is the main entry point for application code.
pkg/store/twopc.go:249
↓ 6 callers
Method
Get
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 callers
Method
GetBudget
GetBudget returns the budget state for a service.
pkg/metrics/errorbudget.go:320
↓ 6 callers
Method
GetCachedNodes
GetCachedNodes returns the cached node list (thread-safe).
pkg/scheduler/engine.go:831
↓ 6 callers
Method
GetEventCount
GetEventCount returns the total number of stored events.
pkg/audit/audit.go:212
↓ 6 callers
Method
GetFlag
GetFlag returns a specific flag's state.
pkg/feature/flags.go:283
↓ 6 callers
Method
GetNodeAutonomyState
GetNodeAutonomyState returns autonomy status for a node
pkg/edge/edge_cloud_collab.go:373
↓ 6 callers
Method
GetNodeResources
(ctx context.Context)
pkg/k8s/interfaces.go:17
↓ 6 callers
Method
HandleEvent
HandleEvent processes an event and transitions state accordingly.
pkg/edge/offline_runtime.go:149
↓ 6 callers
Method
IngestMetrics
IngestMetrics adds metric samples for analysis.
pkg/aiops/autoscale.go:195
↓ 6 callers
Method
IngestPriceData
IngestPriceData adds historical spot price data for analysis.
pkg/finops/spot.go:126
↓ 6 callers
Method
IngestUsageData
IngestUsageData adds historical usage data for analysis.
pkg/finops/recommendation.go:136
↓ 6 callers
Method
IsTokenRevoked
IsTokenRevoked checks if a token has been revoked by its JTI.
pkg/security/oidc.go:811
↓ 6 callers
Method
JITProvision
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 callers
Method
List
List returns workloads with pagination and filtering.
pkg/workload/interfaces.go:17
↓ 6 callers
Function
New
New creates a new gRPC server with the given configuration.
pkg/rpcserver/server.go:57
↓ 6 callers
Function
NewCRDTSyncEngine
NewCRDTSyncEngine creates a new CRDT sync engine
pkg/edge/offline_enhanced.go:581
↓ 6 callers
Function
NewManager
NewManager creates a new audit manager.
pkg/audit/audit.go:133
↓ 6 callers
Function
NewOptimizationEngine
NewOptimizationEngine creates a new optimization engine
pkg/edge/model_optimization.go:163
↓ 6 callers
Method
NumRequeues
NumRequeues returns the number of times a request has been requeued.
pkg/controller/queue.go:227
↓ 6 callers
Method
Publish
Publish sends a message to the specified queue.
pkg/messaging/queue.go:112
↓ 6 callers
Method
Reconcile
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 callers
Method
RecordUsage
============================================================================ Billing & Metering ======================================================
pkg/tenant/manager.go:490
↓ 6 callers
Function
Retry
============================================================================ Retry Executor ==========================================================
pkg/resilience/retry.go:54
↓ 6 callers
Method
RevokeToken
============================================================================ Token Revocation & Logout ===============================================
pkg/security/oidc.go:797
↓ 6 callers
Method
Run
============================================================================ Lifecycle ===============================================================
pkg/scheduler/engine.go:185
↓ 6 callers
Method
SetFlag
SetFlag updates or creates a feature flag.
pkg/feature/flags.go:252
← previous
next →
201–300 of 4,559, ranked by callers