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
↓ 4 callers
Method
generate_insights
Build prompt for generating AI-powered insights.
ai/agents/llm_client.py:498
↓ 4 callers
Method
getCandidateNodes
============================================================================ Node Candidate Discovery ================================================
pkg/scheduler/engine.go:455
↓ 4 callers
Function
hasLabelValue
(labels map[string]string, key, value string)
pkg/mesh/manager.go:316
↓ 4 callers
Function
initLogger
(level string)
cmd/scheduler/main.go:162
↓ 4 callers
Function
initLogger
(level string)
cmd/agent/main.go:421
↓ 4 callers
Method
load
(self, path: str)
ai/anomaly/deep_detector.py:206
↓ 4 callers
Function
matchLabels
============================================================================ Helpers =================================================================
pkg/tsdb/tsdb.go:505
↓ 4 callers
Method
operations_incident
Build prompt for incident analysis and self-healing.
ai/agents/llm_client.py:468
↓ 4 callers
Function
parseK8sQuantity
============================================================================ Utility Functions =======================================================
pkg/scheduler/helpers.go:13
↓ 4 callers
Function
randomString
============================================================================ Helpers =================================================================
pkg/auth/oauth2.go:621
↓ 4 callers
Method
recordEvent
(plugin, eventType string, err error)
pkg/plugin/devtools.go:317
↓ 4 callers
Method
recordEvent
============================================================================ Event Recording =========================================================
pkg/controller/manager.go:490
↓ 4 callers
Method
renderTemplate
(name string, data interface{})
pkg/plugin/devtools.go:165
↓ 4 callers
Method
scheduling_analysis
Build prompt for scheduling decision analysis.
ai/agents/llm_client.py:382
↓ 4 callers
Method
scoreReport
scoreReport calculates compliance score from control results.
pkg/audit/audit.go:501
↓ 4 callers
Function
sdkNodegroupToEKS
(ng *ekstypes.Nodegroup)
pkg/cloud/aws_sdk.go:233
↓ 4 callers
Method
security_analysis
Build prompt for security anomaly analysis.
ai/agents/llm_client.py:409
↓ 4 callers
Function
shannonEntropy
shannonEntropy calculates the Shannon entropy (bits per character) of a string. Low entropy indicates a weak/predictable key.
pkg/config/config.go:322
↓ 4 callers
Method
shardIndex
(key string)
pkg/cache/optimizer.go:351
↓ 4 callers
Function
stdDev
(values []float64)
pkg/aiops/capacity.go:609
↓ 4 callers
Method
train
Train the scheduling optimization model.
ai/scheduler/train.py:160
↓ 4 callers
Method
train
Train SAC policy.
ai/scheduler/advanced_trainer.py:577
↓ 4 callers
Method
train
Run LoRA fine-tuning locally.
ai/agents/fine_tuning.py:415
↓ 4 callers
Method
updateTopicCount
()
pkg/eventbus/bus.go:299
↓ 3 callers
Method
APIServer
Cluster information
pkg/k8s/interfaces.go:10
↓ 3 callers
Method
Abort
Abort rolls back the prepared transaction.
pkg/store/twopc.go:152
↓ 3 callers
Method
AddRateLimited
AddRateLimited adds a request using exponential backoff based on failure count.
pkg/controller/queue.go:152
↓ 3 callers
Function
CalculateUtilization
CalculateUtilization returns usage percentage
pkg/common/types.go:195
↓ 3 callers
Method
CheckCapability
CheckCapability verifies if an instance has a specific capability
pkg/wasm/plugin_ecosystem.go:231
↓ 3 callers
Method
CheckPostgreSQLHealth
CheckPostgreSQLHealth checks PostgreSQL cluster health.
pkg/ha/ha.go:430
↓ 3 callers
Method
CheckRedisHealth
CheckRedisHealth checks Redis Sentinel cluster health.
pkg/ha/ha.go:487
↓ 3 callers
Method
CompleteDrill
CompleteDrill finishes a drill and calculates the score.
pkg/disaster/disaster.go:704
↓ 3 callers
Method
ComputeDelta
ComputeDelta computes the difference between current and last known state.
pkg/edge/sync_enhanced.go:163
↓ 3 callers
Method
CreateAKSCluster
CreateAKSCluster creates a new AKS cluster
pkg/cloud/azure_sdk.go:121
↓ 3 callers
Method
CreateConstraint
CreateConstraint creates a policy constraint from a template
pkg/plugin/admission.go:1021
↓ 3 callers
Method
CreateMigrationPlan
CreateMigrationPlan creates a proactive migration plan for at-risk workloads.
pkg/finops/spot.go:332
↓ 3 callers
Method
CreateOnCallSchedule
============================================================================ On-Call Rotation ========================================================
pkg/observability/manager.go:301
↓ 3 callers
Method
CreateRoutingRule
============================================================================ Alert Classification & Routing ==========================================
pkg/observability/manager.go:74
↓ 3 callers
Function
DefaultConfig
DefaultConfig returns default cache configuration.
pkg/cache/cache.go:118
↓ 3 callers
Function
DefaultElasticInferenceConfig
DefaultElasticInferenceConfig returns production-ready defaults
pkg/scheduler/elastic_inference.go:50
↓ 3 callers
Function
DefaultGPTQConfig
DefaultGPTQConfig returns a production-ready GPTQ config for 50B models.
pkg/edge/model_compression.go:635
↓ 3 callers
Function
DefaultMDNSConfig
DefaultMDNSConfig returns production-ready mDNS defaults
pkg/edge/offline_enhanced.go:750
↓ 3 callers
Function
DefaultMemoryOversellPolicy
DefaultMemoryOversellPolicy returns a conservative overselling policy
pkg/scheduler/gpu_sharing.go:477
↓ 3 callers
Function
DefaultOTAConfig
DefaultOTAConfig returns production-ready OTA defaults
pkg/edge/offline_enhanced.go:907
↓ 3 callers
Function
DefaultPostgreSQLHAConfig
DefaultPostgreSQLHAConfig returns production-ready PostgreSQL HA configuration.
pkg/ha/ha.go:71
↓ 3 callers
Function
DefaultQuotaByTier
DefaultQuotaByTier returns default resource quotas for a tier
pkg/tenant/types.go:103
↓ 3 callers
Method
DeleteSeries
DeleteSeries removes time-series data matching the selector.
pkg/tsdb/tsdb.go:126
↓ 3 callers
Method
DrainPendingOps
DrainPendingOps returns and clears pending operations for sync
pkg/edge/offline_enhanced.go:701
↓ 3 callers
Method
EvaluatePolicy
EvaluatePolicy evaluates all matching constraints against a resource
pkg/plugin/admission.go:1054
↓ 3 callers
Method
Execute
Execute runs the full compression pipeline on a model.
pkg/edge/model_compression.go:161
↓ 3 callers
Method
ExecuteGPTQ
ExecuteGPTQ performs GPTQ quantization on a model. Algorithm: 1. For each transformer layer, collect calibration activations 2. Compute Hessian H = 2
pkg/edge/model_compression.go:672
↓ 3 callers
Method
ExecutePlan
ExecutePlan deploys all components in the plan in the correct order.
pkg/deploy/deploy.go:588
↓ 3 callers
Method
Failover
Failover performs a failover to the specified target region.
pkg/disaster/disaster.go:568
↓ 3 callers
Method
Filter
(_ context.Context, _ *plugin.CycleState, w *plugin.WorkloadInfo, node *plugin.NodeInfo)
pkg/plugin/builtin/defaults.go:36
↓ 3 callers
Method
Filter
(_ context.Context, _ *plugin.CycleState, w *plugin.WorkloadInfo, node *plugin.NodeInfo)
pkg/plugin/builtin/defaults.go:72
↓ 3 callers
Function
GenerateNamespaceLabels
GenerateNamespaceLabels generates the namespace labels for PSS enforcement.
pkg/security/hardening.go:122
↓ 3 callers
Method
GeneratePlan
GeneratePlan creates a capacity plan with recommendations for a cluster.
pkg/aiops/capacity.go:327
↓ 3 callers
Method
Get
(ctx context.Context, key string)
pkg/cache/cache.go:415
↓ 3 callers
Method
Get
Get retrieves a custom collector by name.
pkg/metrics/metrics.go:472
↓ 3 callers
Method
GetAlertRules
GetAlertRules returns all configured alert rules (DB-first with cache fallback)
pkg/monitor/service.go:349
↓ 3 callers
Method
GetApplication
GetApplication retrieves an application by ID.
pkg/gitops/manager.go:129
↓ 3 callers
Method
GetBackup
GetBackup returns a specific backup.
pkg/disaster/disaster.go:340
↓ 3 callers
Method
GetClusterHealth
GetClusterHealth returns health status for a cluster.
pkg/cluster/interfaces.go:27
↓ 3 callers
Method
GetComponentHealth
GetComponentHealth returns health for a specific component.
pkg/ha/ha.go:319
↓ 3 callers
Method
GetCondition
GetCondition returns the condition with the given type, or nil.
pkg/controller/types.go:281
↓ 3 callers
Method
GetEvents
GetEvents returns the most recent events.
pkg/controller/manager.go:508
↓ 3 callers
Method
GetHealthSummary
GetHealthSummary returns overall system health status.
pkg/aiops/selfheal.go:585
↓ 3 callers
Method
GetILMPolicy
GetILMPolicy returns the current ILM policy.
pkg/logging/centralized.go:382
↓ 3 callers
Method
GetIncident
GetIncident retrieves an incident by ID.
pkg/observability/manager.go:777
↓ 3 callers
Method
GetLatestDrill
GetLatestDrill returns the most recent drill.
pkg/disaster/disaster.go:762
↓ 3 callers
Method
GetProvider
GetProvider returns a named cloud provider.
pkg/cloud/interfaces.go:13
↓ 3 callers
Method
GetProvider
GetProvider returns a specific provider by name
pkg/cloud/manager.go:208
↓ 3 callers
Method
GetStats
GetStats returns admission chain statistics
pkg/plugin/admission.go:487
↓ 3 callers
Method
GetStats
GetStats returns cache performance statistics
pkg/edge/offline_enhanced.go:309
↓ 3 callers
Method
GetStatus
GetStatus returns the reconciliation status for a cluster.
pkg/controller/cluster_reconciler.go:272
↓ 3 callers
Method
GetTicket
GetTicket returns a ticket by ID
pkg/enterprise/manager.go:413
↓ 3 callers
Method
GetTopologySummary
GetTopologySummary returns a summary of the edge-cloud topology
pkg/edge/manager.go:513
↓ 3 callers
Method
GetViolations
GetViolations returns all recorded violations, optionally filtered by namespace.
pkg/security/hardening.go:320
↓ 3 callers
Method
GetWorkloadByID
(id string)
pkg/store/interfaces.go:64
↓ 3 callers
Method
HappensBefore
HappensBefore returns true if vc causally precedes other.
pkg/edge/sync_enhanced.go:117
↓ 3 callers
Method
Heartbeat
Heartbeat processes a heartbeat from an edge node (via HTTP/MQTT)
pkg/edge/manager.go:385
↓ 3 callers
Method
IngestCostData
IngestCostData adds historical cost data.
pkg/finops/report.go:179
↓ 3 callers
Method
InitAll
============================================================================ Lifecycle — Init → Start → HealthLoop → Stop ============================
pkg/plugin/manager.go:74
↓ 3 callers
Function
IsCode
IsCode checks if an error has a specific ErrorCode.
pkg/errors/errors.go:333
↓ 3 callers
Method
IsReady
IsReady returns true if the Ready condition is True.
pkg/controller/types.go:291
↓ 3 callers
Method
ListAKSClusters
============================================================================ AKS API Methods =========================================================
pkg/cloud/azure_sdk.go:86
↓ 3 callers
Method
ListCCEClusters
============================================================================ CCE API Methods =========================================================
pkg/cloud/huawei_sdk.go:105
↓ 3 callers
Method
ListCRDs
ListCRDs returns all registered CRD definitions
pkg/plugin/admission.go:717
↓ 3 callers
Method
ListClusters
ListClusters returns all managed clusters (DB-first with cache fallback)
pkg/cluster/manager.go:199
↓ 3 callers
Method
ListDevices
ListDevices returns all discovered devices
pkg/edge/offline_enhanced.go:821
↓ 3 callers
Method
ListEKSClusters
============================================================================ EKS API Methods =========================================================
pkg/cloud/aws_sdk.go:85
↓ 3 callers
Method
ListEKSNodegroups
ListEKSNodegroups lists node groups for a cluster
pkg/cloud/aws_sdk.go:144
↓ 3 callers
Method
ListGKEClusters
ListGKEClusters lists all GKE clusters
pkg/cloud/gcp_sdk.go:106
↓ 3 callers
Method
ListNodes
ListNodes returns all edge nodes (DB-first with cache fallback)
pkg/edge/manager.go:245
↓ 3 callers
Method
ListPolicies
ListPolicies returns all network policies.
pkg/mesh/interfaces.go:13
↓ 3 callers
Method
ListProviders
ListProviders returns all registered cloud providers.
pkg/cloud/interfaces.go:10
↓ 3 callers
Method
ListTKEClusters
============================================================================ TKE API Methods =========================================================
pkg/cloud/tencent_sdk.go:76
↓ 3 callers
Method
MayContain
MayContain returns true if the key might be in the set. False means definitely not in the set.
pkg/cache/optimizer.go:82
↓ 3 callers
Function
Merge
Merge combines multiple results; first non-success wins.
pkg/plugin/types.go:180
↓ 3 callers
Method
MustRegister
MustRegister is like Register but panics on error.
pkg/plugin/registry.go:51
← previous
next →
501–600 of 4,559, ranked by callers