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
↓ 6 callers
Method
Stop
Stop gracefully stops the scheduling engine.
pkg/scheduler/engine.go:243
↓ 6 callers
Method
String
String returns a human-readable SLO status.
pkg/metrics/slo.go:383
↓ 6 callers
Method
TriggerFailover
TriggerFailover manually triggers failover for a component.
pkg/ha/ha.go:364
↓ 6 callers
Method
UpdateNodes
UpdateNodes replaces the cached node list.
pkg/scheduler/engine.go:844
↓ 6 callers
Method
UpdateQValue
UpdateQValue updates the Q-table based on observed reward (Q-learning update rule) Q(s,a) ← Q(s,a) + α * [r + γ * max_a'(Q(s',a')) - Q(s,a)]
pkg/scheduler/rl_optimizer.go:221
↓ 6 callers
Method
_get_provider_config
(self, provider: LLMProvider)
ai/agents/llm_client.py:294
↓ 6 callers
Method
adaptSchedulingInterval
============================================================================ Adaptive Scheduling Interval ============================================
pkg/scheduler/engine.go:939
↓ 6 callers
Function
calcTrend
(values []float64)
pkg/finops/spot.go:438
↓ 6 callers
Function
contains
(s, substr string)
pkg/config/config_test.go:422
↓ 6 callers
Method
detect
Run multi-method anomaly detection on a metric.
ai/anomaly/detector.py:42
↓ 6 callers
Function
estimateGPTQPerplexity
(bits, groupSize int, descAct bool, modelSizeGB float64)
pkg/edge/model_compression.go:741
↓ 6 callers
Function
estimateNodeCost
estimateNodeCost estimates hourly cost based on GPU type and count.
pkg/scheduler/helpers.go:38
↓ 6 callers
Function
forecastUrgency
(daysUntil, leadTime int)
pkg/aiops/capacity.go:648
↓ 6 callers
Function
makePod
(ns, name, nodeName string, phase corev1.PodPhase)
pkg/k8s/client_test.go:77
↓ 6 callers
Function
parsePrometheusText
parsePrometheusText parses Prometheus text exposition format
pkg/agent/collector.go:382
↓ 6 callers
Method
recordEvent
(eventType EventType, reason, message string, obj Request)
pkg/controller/workload_reconciler.go:369
↓ 6 callers
Method
save
(self, path: str)
ai/anomaly/deep_detector.py:192
↓ 6 callers
Function
sdkClusterToEKS
============================================================================ SDK type -> local type conversion =======================================
pkg/cloud/aws_sdk.go:195
↓ 6 callers
Method
setPhase
(name string, phase Phase, lastErr string)
pkg/plugin/manager.go:281
↓ 6 callers
Function
testProviderBasics
(t *testing.T, providerType string, create func() (Provider, error))
pkg/cloud/manager_test.go:129
↓ 6 callers
Method
transitionTo
(newState CircuitState)
pkg/resilience/circuit.go:215
↓ 5 callers
Method
AddAfter
AddAfter adds a request to the queue after a specified delay.
pkg/controller/queue.go:129
↓ 5 callers
Method
AddSilence
AddSilence adds a silence rule.
pkg/metrics/errorbudget.go:545
↓ 5 callers
Method
AdjustNodeScore
============================================================================ Score Adjustment ========================================================
pkg/scheduler/rl_optimizer.go:306
↓ 5 callers
Method
AdvancePromotion
AdvancePromotion moves the pipeline to the next stage.
pkg/gitops/manager.go:283
↓ 5 callers
Function
BuiltinMigrations
BuiltinMigrations returns all CloudAI Fusion schema migrations in version order. These are applied automatically on server startup via Migrator.Up().
pkg/migrate/migrations.go:5
↓ 5 callers
Function
Checksum
Checksum computes SHA-256 of a migration's up SQL.
pkg/migrate/migrate.go:290
↓ 5 callers
Method
ClassifyAndRouteAlert
ClassifyAndRouteAlert classifies an alert and routes it to the appropriate channels.
pkg/observability/manager.go:105
↓ 5 callers
Method
Close
()
pkg/cache/cache.go:460
↓ 5 callers
Method
CompleteBackup
CompleteBackup marks a backup as completed with size and checksum.
pkg/disaster/disaster.go:298
↓ 5 callers
Method
CreateGlobalService
============================================================================ Cross-Cluster Load Balancing ============================================
pkg/multicluster/manager.go:214
↓ 5 callers
Method
CreateSchedule
============================================================================ Schedule Operations =====================================================
pkg/disaster/disaster.go:405
↓ 5 callers
Function
DefaultConfig
DefaultConfig returns default event bus configuration.
pkg/eventbus/types.go:191
↓ 5 callers
Function
DefaultCostOptimizerConfig
DefaultCostOptimizerConfig returns production-ready defaults
pkg/scheduler/cost_optimizer.go:46
↓ 5 callers
Function
DefaultManagerConfig
DefaultManagerConfig returns sensible defaults.
pkg/plugin/manager.go:33
↓ 5 callers
Function
DefaultPredictiveScalingConfig
DefaultPredictiveScalingConfig returns production-ready defaults
pkg/scheduler/predictive_scaling.go:35
↓ 5 callers
Function
DefaultQueueManagerConfig
DefaultQueueManagerConfig returns production-ready defaults
pkg/scheduler/queue_manager.go:37
↓ 5 callers
Method
DeployModel
DeployModel deploys an AI model to an edge node via real communication protocol
pkg/edge/manager.go:276
↓ 5 callers
Method
DescribeClusters
============================================================================ ACK API Methods =========================================================
pkg/cloud/aliyun_sdk.go:113
↓ 5 callers
Method
DetectFaults
DetectFaults runs all enabled fault detectors and returns detected faults.
pkg/aiops/selfheal.go:271
↓ 5 callers
Method
Discover
Discover fetches the OIDC discovery document for a provider
pkg/security/oidc.go:201
↓ 5 callers
Method
EnabledCount
EnabledCount returns the number of currently enabled flags.
pkg/feature/flags.go:380
↓ 5 callers
Method
Enqueue
Enqueue adds an item to the queue, maintaining priority order.
pkg/edge/sync_enhanced.go:286
↓ 5 callers
Method
EvaluateCanary
EvaluateCanary checks canary health and progresses or rolls back.
pkg/deploy/deploy.go:213
↓ 5 callers
Method
ForecastDemand
ForecastDemand generates a resource demand forecast for a cluster.
pkg/aiops/capacity.go:205
↓ 5 callers
Function
Get
Get returns the version information populated at build time.
pkg/version/version.go:48
↓ 5 callers
Method
GetLatest
GetLatest returns the most recent collected metrics
pkg/agent/collector.go:147
↓ 5 callers
Method
GetStats
GetStats returns a snapshot of engine scheduling statistics.
pkg/scheduler/engine.go:983
↓ 5 callers
Method
HandleAdmissionExtension
HandleAdmissionExtension routes admission-related actions
pkg/plugin/admission.go:1389
↓ 5 callers
Function
HasPermission
HasPermission checks if a role has a specific permission
pkg/auth/auth.go:366
↓ 5 callers
Method
Increment
Increment advances the clock for the given node.
pkg/edge/sync_enhanced.go:100
↓ 5 callers
Function
Init
Init initializes the OpenTelemetry tracing pipeline. Returns a Provider whose Shutdown() must be called on server stop.
pkg/tracing/tracing.go:61
↓ 5 callers
Method
ListNodes
Node Operations
pkg/cloud/manager.go:38
↓ 5 callers
Method
ListSSOConfigs
ListSSOConfigs returns all SSO configs for a tenant
pkg/enterprise/manager.go:112
↓ 5 callers
Method
ListTickets
ListTickets returns all tickets for a tenant
pkg/enterprise/manager.go:424
↓ 5 callers
Method
Matches
Matches returns true if the event matches the filter.
pkg/audit/audit.go:233
↓ 5 callers
Method
Metrics
Metrics returns current queue statistics.
pkg/controller/queue.go:260
↓ 5 callers
Method
Name
Name returns the reconciler name.
pkg/controller/cluster_reconciler.go:59
↓ 5 callers
Method
Name
Name returns the reconciler name.
pkg/controller/workload_reconciler.go:62
↓ 5 callers
Method
Name
Name returns the reconciler name.
pkg/controller/security_reconciler.go:81
↓ 5 callers
Function
NewBreakerRegistry
NewBreakerRegistry creates a registry with shared default config.
pkg/resilience/circuit.go:241
↓ 5 callers
Function
NewCostAwareScorePlugin
NewCostAwareScorePlugin creates the cost scorer.
pkg/plugin/builtin/defaults.go:148
↓ 5 callers
Function
NewCostOptimizer
NewCostOptimizer creates a new cost optimizer
pkg/scheduler/cost_optimizer.go:147
↓ 5 callers
Function
NewMemoryConsumer
NewMemoryConsumer creates an in-memory message consumer.
pkg/messaging/queue.go:202
↓ 5 callers
Function
NewPredictiveScaler
NewPredictiveScaler creates a new predictive scaling manager
pkg/scheduler/predictive_scaling.go:216
↓ 5 callers
Function
NewQueueManager
NewQueueManager creates a new unified queue manager
pkg/scheduler/queue_manager.go:515
↓ 5 callers
Function
NewRedisCache
NewRedisCache creates a Redis-backed cache. Falls back to in-memory if Redis is unavailable.
pkg/cache/cache.go:336
↓ 5 callers
Function
NewRegistry
NewRegistry creates a metrics registry wrapping the Prometheus default registry.
pkg/metrics/metrics.go:437
↓ 5 callers
Function
NewSLOTracker
NewSLOTracker creates a new SLO tracker.
pkg/metrics/slo.go:173
↓ 5 callers
Method
Read
Read retrieves a value.
pkg/plugin/scheduler_ext.go:70
↓ 5 callers
Method
Reconcile
Reconcile performs a single reconciliation pass for a Cluster object. It compares the desired state (from the platform's database/spec) against the ac
pkg/controller/cluster_reconciler.go:67
↓ 5 callers
Method
RecordEvent
RecordEvent allows external callers (reconcilers) to record events.
pkg/controller/manager.go:503
↓ 5 callers
Method
RecordIngestion
============================================================================ Log Ingestion Stats =====================================================
pkg/logging/centralized.go:442
↓ 5 callers
Method
RegisterDetector
RegisterDetector adds a fault detector.
pkg/aiops/selfheal.go:250
↓ 5 callers
Method
SaveSnapshot
SaveSnapshot persists the current queue and running set to the store.
pkg/scheduler/engine.go:709
↓ 5 callers
Method
ScanClusterPods
ScanClusterPods scans all pods in a cluster for security misconfigurations This performs REAL K8s API queries to analyze running pod specs.
pkg/security/scanner.go:124
↓ 5 callers
Method
Score
(_ context.Context, _ *plugin.CycleState, w *plugin.WorkloadInfo, node *plugin.NodeInfo)
pkg/plugin/builtin/defaults.go:161
↓ 5 callers
Method
SelectAction
============================================================================ Q-Learning Core =========================================================
pkg/scheduler/rl_optimizer.go:187
↓ 5 callers
Method
Stats
Stats returns election runtime statistics.
pkg/election/election.go:49
↓ 5 callers
Method
Type
()
pkg/cloud/manager.go:26
↓ 5 callers
Function
ValidateConfig
ValidateConfig validates the HA configuration.
pkg/ha/ha.go:611
↓ 5 callers
Function
ValidateEnum
ValidateEnum checks that a value is one of the allowed values.
pkg/validation/validator.go:131
↓ 5 callers
Function
ValidateMaxLength
ValidateMaxLength checks that a string does not exceed a maximum length.
pkg/validation/validator.go:162
↓ 5 callers
Function
calcEMA
(values []float64, alpha float64)
pkg/finops/spot.go:460
↓ 5 callers
Function
calcStdDev
(values []float64, mean float64)
pkg/finops/spot.go:426
↓ 5 callers
Function
copyMap
(m map[string]interface{})
pkg/edge/sync_enhanced.go:247
↓ 5 callers
Method
deployLocal
deployLocal creates instances tracked in memory
pkg/wasm/manager.go:370
↓ 5 callers
Function
determinePlanPriority
(recs []CapacityRecommendation)
pkg/aiops/capacity.go:659
↓ 5 callers
Method
getLimiter
getLimiter returns the rate.Limiter for a given key, creating one if needed.
pkg/middleware/ratelimit.go:61
↓ 5 callers
Function
isInsecureDefault
isInsecureDefault checks if a value matches known placeholder/default secrets. Covers .env.example placeholders, common weak passwords, and CI/CD defa
pkg/config/config.go:279
↓ 5 callers
Function
modelToResponse
============================================================================ Conversion Helpers ======================================================
pkg/workload/manager.go:341
↓ 5 callers
Function
newTestElector
============================================================================ memoryElector — Run / IsLeader / GetLeader / Resign / Stats =============
pkg/election/election_test.go:115
↓ 5 callers
Method
parentPath
============================================================================ GKE API Methods =========================================================
pkg/cloud/gcp_sdk.go:101
↓ 5 callers
Function
parseMetricLine
parseMetricLine parses a single Prometheus metric line Format: metric_name{label1="val1",label2="val2"} value [timestamp]
pkg/agent/collector.go:406
↓ 5 callers
Method
recordAudit
recordAudit records an admission audit entry
pkg/plugin/admission.go:444
↓ 5 callers
Method
recordLifecycleEvent
============================================================================ Internal Helpers ========================================================
pkg/multicluster/manager.go:729
↓ 5 callers
Method
resetElectionTimer
============================================================================ Timer Management ========================================================
pkg/cluster/raft.go:697
↓ 5 callers
Function
resourceListToStringMap
============================================================================ Utility helpers =========================================================
pkg/k8s/client.go:598
↓ 5 callers
Function
sdkClusterToGKE
============================================================================ SDK type -> local type conversion =======================================
pkg/cloud/gcp_sdk.go:187
↓ 4 callers
Function
ActiveProfile
ActiveProfile detects the active profile from the CLOUDAI_FEATURE_PROFILE env var. Returns ProfileStandard if not set or invalid.
pkg/feature/flags.go:365
← previous
next →
301–400 of 4,559, ranked by callers