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
↓ 3 callers
Method
NeedsRenewal
NeedsRenewal returns true if the certificate should be renewed.
pkg/security/mtls.go:240
↓ 3 callers
Function
New
============================================================================ Factory =================================================================
pkg/cache/cache.go:536
↓ 3 callers
Function
New
============================================================================ Factory =================================================================
pkg/tsdb/tsdb.go:492
↓ 3 callers
Function
New
============================================================================ Factory — creates event bus from configuration ==========================
pkg/eventbus/bus.go:354
↓ 3 callers
Function
NewAdmissionChain
NewAdmissionChain creates a new admission control chain
pkg/plugin/admission.go:167
↓ 3 callers
Function
NewDefaultScorePlugin
NewDefaultScorePlugin creates the default scorer.
pkg/plugin/builtin/defaults.go:98
↓ 3 callers
Function
NewDeviceDiscovery
NewDeviceDiscovery creates a new mDNS device discovery manager
pkg/edge/offline_enhanced.go:783
↓ 3 callers
Function
NewElasticInferenceManager
NewElasticInferenceManager creates a new elastic inference manager
pkg/scheduler/elastic_inference.go:141
↓ 3 callers
Function
NewManager
NewManager creates a new disaster recovery manager.
pkg/disaster/disaster.go:221
↓ 3 callers
Function
NewMemoryTSDB
NewMemoryTSDB creates an in-memory time-series database.
pkg/tsdb/tsdb.go:188
↓ 3 callers
Function
NewOTAManager
NewOTAManager creates a new OTA upgrade manager
pkg/edge/offline_enhanced.go:986
↓ 3 callers
Function
NewPolicyEngine
NewPolicyEngine creates a new policy engine
pkg/plugin/admission.go:966
↓ 3 callers
Function
NewRateLimiter
NewRateLimiter creates a new RateLimiter and starts a background cleanup goroutine.
pkg/middleware/ratelimit.go:51
↓ 3 callers
Function
NewTopologyAwareScorePlugin
NewTopologyAwareScorePlugin creates the topology scorer.
pkg/plugin/builtin/defaults.go:200
↓ 3 callers
Function
NewTopologyDiscoverer
NewTopologyDiscoverer creates a new GPU topology discoverer
pkg/scheduler/gpu_topology.go:82
↓ 3 callers
Function
NewVectorClock
NewVectorClock creates a new vector clock.
pkg/edge/sync_enhanced.go:95
↓ 3 callers
Function
NotReadyCondition
NotReadyCondition creates a Ready=False condition.
pkg/controller/types.go:348
↓ 3 callers
Method
PendingSync
PendingSync returns decisions not yet synced to cloud.
pkg/edge/offline_runtime.go:492
↓ 3 callers
Method
PerformHealthCheck
PerformHealthCheck evaluates node health against thresholds.
pkg/edge/offline_runtime.go:256
↓ 3 callers
Method
Ping
Health Check
pkg/cloud/manager.go:49
↓ 3 callers
Method
Ping
()
pkg/store/interfaces.go:11
↓ 3 callers
Method
Pop
()
pkg/scheduler/queue_manager.go:102
↓ 3 callers
Function
PredefinedConstraintTemplates
PredefinedConstraintTemplates returns built-in policy templates
pkg/plugin/admission.go:1255
↓ 3 callers
Method
PruneStale
PruneStale marks devices as not alive if not seen within TTL
pkg/edge/offline_enhanced.go:836
↓ 3 callers
Method
Publish
Publish sends a message to all subscribers of a channel.
pkg/cache/cache.go:808
↓ 3 callers
Method
Put
Put stores an entry in the cache, evicting if necessary
pkg/edge/offline_enhanced.go:165
↓ 3 callers
Method
QueryInstant
QueryInstant returns the most recent value for matching series.
pkg/tsdb/tsdb.go:123
↓ 3 callers
Method
RateTicket
RateTicket records customer satisfaction rating
pkg/enterprise/manager.go:538
↓ 3 callers
Function
RecordAPIRequest
RecordAPIRequest records an API request metric
pkg/monitor/service.go:386
↓ 3 callers
Method
RegisterCRD
RegisterCRD registers a new custom resource definition
pkg/plugin/admission.go:601
↓ 3 callers
Method
RegisterCluster
RegisterCluster registers a cluster in the federation
pkg/scheduler/federation.go:154
↓ 3 callers
Method
RegisterExistingRI
RegisterExistingRI registers currently owned reserved instances.
pkg/finops/recommendation.go:158
↓ 3 callers
Method
RegisterHealthProbe
RegisterHealthProbe adds a health probe.
pkg/aiops/selfheal.go:264
↓ 3 callers
Method
RegisterIndex
RegisterIndex registers an Elasticsearch index for lifecycle tracking.
pkg/logging/centralized.go:389
↓ 3 callers
Method
Remove
Remove removes an element (observed-remove: only removes seen adds)
pkg/edge/offline_enhanced.go:502
↓ 3 callers
Method
ReportViolation
ReportViolation records a PSS violation.
pkg/security/hardening.go:298
↓ 3 callers
Method
Reset
Reset clears the bloom filter.
pkg/cache/optimizer.go:97
↓ 3 callers
Method
ResolveEndpoint
ResolveEndpoint selects the best endpoint for a global service based on the configured load balancing policy.
pkg/multicluster/manager.go:244
↓ 3 callers
Method
Score
(_ context.Context, _ *plugin.CycleState, _ *plugin.WorkloadInfo, node *plugin.NodeInfo)
pkg/plugin/builtin/defaults.go:111
↓ 3 callers
Method
SelectCluster
SelectCluster chooses the best cluster(s) for a workload using multi-factor scoring
pkg/scheduler/federation.go:204
↓ 3 callers
Method
SelectOptimalPricing
SelectOptimalPricing chooses the best pricing strategy for a workload
pkg/scheduler/cost_optimizer.go:183
↓ 3 callers
Method
Set
(ctx context.Context, key string, value []byte, ttl time.Duration)
pkg/cache/cache.go:436
↓ 3 callers
Method
SetRegister
SetRegister sets a LWW register value
pkg/edge/offline_enhanced.go:623
↓ 3 callers
Function
StandardEdgeProfiles
StandardEdgeProfiles returns hardware profiles for common edge platforms.
pkg/edge/model_optimization.go:464
↓ 3 callers
Method
Start
Start begins periodic resource collection.
pkg/metrics/collector.go:75
↓ 3 callers
Method
StartAll
StartAll starts all registered agents
cmd/agent/main.go:230
↓ 3 callers
Method
States
States returns the state of all circuit breakers at all levels.
pkg/resilience/multilevel.go:268
↓ 3 callers
Method
Status
============================================================================ Accessors ===============================================================
pkg/plugin/manager.go:232
↓ 3 callers
Method
Stop
Stop halts the collection loop.
pkg/metrics/collector.go:90
↓ 3 callers
Method
StopAll
StopAll stops all agents
cmd/agent/main.go:240
↓ 3 callers
Method
String
String returns the policy level name.
pkg/metrics/errorbudget.go:89
↓ 3 callers
Method
String
()
pkg/resilience/failover.go:94
↓ 3 callers
Method
Subscribe
Subscribe returns a channel that receives messages for the given topic. The returned channel is closed when Unsubscribe is called or context is cancel
pkg/cache/cache.go:812
↓ 3 callers
Function
SupportedToolchains
SupportedToolchains returns all supported language toolchains
pkg/wasm/plugin_ecosystem.go:52
↓ 3 callers
Method
TriggerFailover
TriggerFailover initiates a failover for a DR plan.
pkg/multicluster/manager.go:399
↓ 3 callers
Method
UnregisterWebhook
UnregisterWebhook removes an admission webhook by name
pkg/plugin/admission.go:228
↓ 3 callers
Method
UpdateIncidentStatus
UpdateIncidentStatus transitions an incident to a new status.
pkg/observability/manager.go:655
↓ 3 callers
Method
UpdateStatus
UpdateStatus transitions a workload to a new status.
pkg/workload/interfaces.go:26
↓ 3 callers
Method
UtilizationPercent
UtilizationPercent returns the current usage as a percentage of hard limit.
pkg/tenant/quota.go:44
↓ 3 callers
Function
ValidateDNSName
ValidateDNSName checks if a string is a valid DNS subdomain name.
pkg/validation/validator.go:85
↓ 3 callers
Function
ValidateGPURequest
ValidateGPURequest validates GPU resource request fields.
pkg/validation/validator.go:199
↓ 3 callers
Method
WithMetadata
WithMetadata adds a key-value pair to the event metadata.
pkg/eventbus/types.go:81
↓ 3 callers
Function
WithRequestID
WithRequestID injects a request ID into the context.
pkg/logging/logger.go:320
↓ 3 callers
Function
WithTraceID
============================================================================ Context Helpers — inject trace correlation fields into context ==========
pkg/logging/logger.go:310
↓ 3 callers
Function
Wrap
Wrap converts any error to an *AppError. If the error is already an *AppError, it is returned as-is. Otherwise, it is wrapped as an internal error.
pkg/errors/errors.go:321
↓ 3 callers
Method
__init__
( self, num_nodes: int = 10, max_gpus_per_node: int = 8, max_steps: int = 1000
ai/scheduler/advanced_trainer.py:94
↓ 3 callers
Method
__init__
(self, input_dim: int = 4, hidden_dim: int = 64, latent_dim: int = 16, num_layers: int = 2)
ai/anomaly/deep_detector.py:47
↓ 3 callers
Method
_iqr_check
Check if value falls outside IQR bounds.
ai/anomaly/detector.py:118
↓ 3 callers
Method
_rate_of_change_check
Detect sudden rate changes in recent data.
ai/anomaly/detector.py:137
↓ 3 callers
Method
_try_parse
Attempt JSON parse, return None on failure (no exception raised).
ai/agents/llm_client.py:229
↓ 3 callers
Method
_z_score_check
Calculate Z-score for the current value.
ai/anomaly/detector.py:110
↓ 3 callers
Method
analyze
Analyze costs with dynamic calculation and LLM insights.
ai/agents/server.py:439
↓ 3 callers
Function
assertContains
(t *testing.T, s, substr string)
pkg/errors/errors_test.go:281
↓ 3 callers
Function
benchmarkNodeScoringAtScale
(b *testing.B, nodeCount int)
pkg/scheduler/gpu_largescale_bench_test.go:269
↓ 3 callers
Function
buildClient
buildClient is the internal constructor shared by all NewClient* functions.
pkg/k8s/client.go:96
↓ 3 callers
Method
calculateBufferSize
calculateBufferSize estimates total buffered size in bytes
pkg/edge/offline.go:309
↓ 3 callers
Method
calculateReportScore
calculateReportScore calculates pass/fail/warn counts and score for a report.
pkg/security/compliance.go:541
↓ 3 callers
Method
chat
Send chat completion request to best available LLM. Returns the assistant message text, or None if all providers fail.
ai/agents/llm_client.py:142
↓ 3 callers
Method
chat_completion
Build prompt for conversational AI operations assistant.
ai/agents/llm_client.py:522
↓ 3 callers
Method
checkAuditRetention
()
pkg/audit/audit.go:473
↓ 3 callers
Function
clamp
(v, lo, hi float64)
pkg/scheduler/rl_optimizer.go:552
↓ 3 callers
Function
clusterModelToCluster
============================================================================ DB <-> Domain Conversion ================================================
pkg/cluster/manager.go:656
↓ 3 callers
Method
collect
collect performs one metrics collection cycle
pkg/agent/collector.go:154
↓ 3 callers
Method
commit
============================================================================ Phase 2: Commit =========================================================
pkg/store/twopc.go:378
↓ 3 callers
Function
convertNode
============================================================================ corev1 -> domain type converters (anti-corruption layer) ================
pkg/k8s/client.go:479
↓ 3 callers
Function
convertPod
convertPod converts an official corev1.Pod to our domain Pod type
pkg/k8s/client.go:529
↓ 3 callers
Method
currentSizeBytes
()
pkg/edge/offline_enhanced.go:332
↓ 3 callers
Method
ensureTable
ensureTable creates the migrations tracking table if it doesn't exist.
pkg/migrate/migrate.go:222
↓ 3 callers
Method
evaluate
()
pkg/metrics/slo.go:279
↓ 3 callers
Method
executeAgent
(ctx context.Context, agent *Agent)
cmd/agent/main.go:264
↓ 3 callers
Method
flush
()
pkg/logging/sink.go:122
↓ 3 callers
Function
generateChecksum
(seq uint64, parts ...string)
pkg/store/wal.go:597
↓ 3 callers
Function
generateDevSecret
generateDevSecret generates a random hex secret for development use
pkg/config/config.go:342
↓ 3 callers
Function
generateIdentity
()
pkg/election/election.go:191
↓ 3 callers
Method
getApplied
getApplied returns all applied migrations from the database.
pkg/migrate/migrate.go:234
↓ 3 callers
Method
getCalls
()
pkg/controller/controller_test.go:178
↓ 3 callers
Method
getJWKS
getJWKS retrieves JWKS for a provider, using cache with TTL rotation.
pkg/security/oidc.go:484
↓ 3 callers
Function
getStringFromCtx
(c *gin.Context, key string)
pkg/auth/audit.go:371
↓ 3 callers
Method
get_recent_incidents
Return recent incident analyses.
ai/agents/operations_agent.py:523
↓ 3 callers
Function
get_trace_id
Get current trace_id from context (for log injection).
ai/tracing.py:64
← previous
next →
601–700 of 4,559, ranked by callers