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
↓ 880 callers
Method
Error
Error implements the error interface.
pkg/errors/errors.go:73
↓ 241 callers
Method
Add
Add adds a request to the queue (deduplication: if already queued, skip).
pkg/controller/queue.go:100
↓ 165 callers
Function
NowUTC
NowUTC returns current time in UTC
pkg/common/types.go:175
↓ 143 callers
Method
Set
Set stores a value in the cache with a TTL.
pkg/cache/cache.go:58
↓ 126 callers
Method
JSON
JSON returns the version information as a JSON string.
pkg/version/version.go:104
↓ 120 callers
Function
NewUUID
============================================================================ Utility Functions =======================================================
pkg/common/types.go:170
↓ 108 callers
Method
get
(self, key: str, default: Optional[str] = None)
ai/tracing.py:250
↓ 96 callers
Method
String
()
pkg/store/twopc.go:92
↓ 87 callers
Method
Contains
Contains checks if an element is in the set (add_tags - rem_tags non-empty)
pkg/edge/offline_enhanced.go:514
↓ 81 callers
Method
Done
Done marks a request as done processing. If the request was re-added while being processed, it will be enqueued again.
pkg/controller/queue.go:202
↓ 79 callers
Method
Get
Get retrieves a value from the cache. Returns (nil, nil) if the key is not found (cache miss).
pkg/cache/cache.go:55
↓ 64 callers
Method
Add
Add queues a record for batch insert. Flushes automatically when buffer is full.
pkg/store/query_optimizer.go:283
↓ 60 callers
Method
Close
Close releases resources.
pkg/tsdb/tsdb.go:129
↓ 58 callers
Method
Context
()
pkg/tracing/grpc.go:173
↓ 58 callers
Method
Run
Lifecycle
pkg/scheduler/interfaces.go:14
↓ 57 callers
Method
Metadata
Metadata returns the plugin's metadata.
pkg/plugin/types.go:117
↓ 47 callers
Function
RequirePermission
RequirePermission returns middleware that checks for specific permission
pkg/auth/auth.go:430
↓ 44 callers
Method
Stop
Stop gracefully shuts down the plugin.
pkg/plugin/types.go:127
↓ 43 callers
Method
Error
()
pkg/plugin/types.go:245
↓ 43 callers
Method
ServeHTTP
ServeHTTP starts an HTTP health check server.
pkg/resilience/health.go:202
↓ 37 callers
Function
NewEngine
NewEngine creates a new scheduling engine.
pkg/scheduler/engine.go:96
↓ 37 callers
Function
SuccessResult
SuccessResult returns a success result for the given plugin.
pkg/plugin/types.go:195
↓ 34 callers
Method
IsZero
IsZero returns true if the result indicates no requeue is needed.
pkg/controller/types.go:103
↓ 31 callers
Method
Query
Query retrieves time-series data matching the query parameters.
pkg/tsdb/tsdb.go:120
↓ 30 callers
Method
Close
Close releases cache resources.
pkg/cache/cache.go:70
↓ 30 callers
Method
HasErrors
HasErrors returns true if there are validation errors.
pkg/validation/validator.go:43
↓ 30 callers
Method
Run
Run starts the leader election loop. Blocks until ctx is cancelled. Calls the OnStartedLeading callback when this instance becomes the leader.
pkg/election/election.go:34
↓ 30 callers
Function
createTestTenant
(t *testing.T, m *Manager, name string, tier TenantTier)
pkg/tenant/tenant_test.go:18
↓ 29 callers
Function
newTestManager
()
pkg/tenant/tenant_test.go:9
↓ 28 callers
Method
Error
Error implements the error interface.
pkg/validation/validator.go:57
↓ 28 callers
Method
IsSuccess
IsSuccess returns true if the result indicates success.
pkg/plugin/types.go:177
↓ 28 callers
Function
NewResult
NewResult creates a new empty validation result.
pkg/validation/validator.go:26
↓ 27 callers
Function
DefaultSelfHealConfig
DefaultSelfHealConfig returns sensible defaults.
pkg/aiops/selfheal.go:45
↓ 26 callers
Method
Add
Add adds an element with a unique tag
pkg/edge/offline_enhanced.go:487
↓ 26 callers
Function
NewSelfHealingEngine
============================================================================ Constructor & Core Operations ===========================================
pkg/aiops/selfheal.go:231
↓ 26 callers
Method
SetCondition
SetCondition adds or updates a condition in the status.
pkg/controller/types.go:262
↓ 26 callers
Method
String
()
pkg/cluster/raft.go:49
↓ 26 callers
Function
newTestLogger
============================================================================ Controller Manager tests ================================================
pkg/controller/controller_test.go:526
↓ 25 callers
Method
Register
============================================================================ Registration ============================================================
pkg/plugin/registry.go:39
↓ 25 callers
Method
Start
Start is called after Init to begin the plugin's operation.
pkg/plugin/types.go:124
↓ 24 callers
Function
NewCycleState
NewCycleState creates an empty CycleState.
pkg/plugin/scheduler_ext.go:60
↓ 24 callers
Method
do
(t *testing.T, method, path, body string)
tests/e2e/e2e_test.go:77
↓ 23 callers
Function
newTestManager
()
pkg/disaster/disaster_test.go:10
↓ 22 callers
Method
State
State returns the current circuit breaker state.
pkg/resilience/circuit.go:113
↓ 22 callers
Method
Write
Write writes metric samples to the time-series database.
pkg/tsdb/tsdb.go:117
↓ 22 callers
Function
makeTestFactory
============================================================================ Registry Tests ==========================================================
pkg/plugin/plugin_test.go:184
↓ 21 callers
Method
Delete
Delete removes a key from the cache.
pkg/cache/cache.go:61
↓ 21 callers
Function
NewEvent
NewEvent creates a new event with the given topic, type, source, and payload.
pkg/eventbus/types.go:52
↓ 21 callers
Function
NewManager
NewManager creates a new feature flag manager with built-in defaults. Load order (later overrides earlier): 1. Built-in defaults (ProfileStandard) 2.
pkg/feature/flags.go:96
↓ 21 callers
Function
NewRegistry
NewRegistry creates an empty Registry.
pkg/plugin/registry.go:24
↓ 21 callers
Method
Stats
Stats returns cache statistics.
pkg/cache/cache.go:73
↓ 21 callers
Function
min
min returns the smaller of two ints.
pkg/gitops/manager.go:613
↓ 21 callers
Function
newTestManager
()
pkg/enterprise/enterprise_test.go:9
↓ 20 callers
Method
Close
Close shuts down the event bus and releases resources.
pkg/eventbus/bus.go:36
↓ 20 callers
Function
DefaultAutoscaleConfig
DefaultAutoscaleConfig returns sensible defaults.
pkg/aiops/autoscale.go:49
↓ 20 callers
Method
WithContext
WithContext returns a logrus.Entry enriched with trace/request IDs from context.
pkg/logging/logger.go:122
↓ 19 callers
Function
DefaultManagerConfig
DefaultManagerConfig returns sensible defaults.
pkg/observability/manager.go:27
↓ 19 callers
Function
NewManager
NewManager creates a new observability manager.
pkg/observability/manager.go:55
↓ 19 callers
Function
NewPredictiveAutoscaler
NewPredictiveAutoscaler creates a new predictive auto-scaler.
pkg/aiops/autoscale.go:161
↓ 19 callers
Method
Use
Use adds a middleware to the bus.
pkg/eventbus/nats.go:171
↓ 18 callers
Function
DefaultManagerConfig
DefaultManagerConfig returns sensible defaults.
pkg/multicluster/manager.go:29
↓ 18 callers
Method
Execute
Execute runs fn through the circuit breaker. Returns ErrCircuitOpen if the circuit is open.
pkg/resilience/circuit.go:101
↓ 18 callers
Function
New
New creates a new control plane service.
pkg/controlplane/service.go:78
↓ 18 callers
Function
NewBasePlugin
NewBasePlugin creates a BasePlugin with the given metadata.
pkg/plugin/types.go:215
↓ 18 callers
Function
NewManager
NewManager creates a new multi-cluster manager.
pkg/multicluster/manager.go:56
↓ 18 callers
Method
do
(method, path, body string)
tests/integration/integration_test.go:69
↓ 17 callers
Method
Create
Create creates a new workload.
pkg/workload/interfaces.go:14
↓ 17 callers
Method
expectStatus
(t *testing.T, w *httptest.ResponseRecorder, expected int)
tests/e2e/e2e_test.go:91
↓ 17 callers
Function
newTestCentralizedManager
()
pkg/logging/centralized_test.go:10
↓ 17 callers
Function
newTestHardeningManager
()
pkg/security/hardening_test.go:8
↓ 17 callers
Function
newTestRouter
newTestRouter creates a router wired with all mock services.
pkg/api/router_test.go:20
↓ 16 callers
Method
AddError
AddError appends a field validation error.
pkg/validation/validator.go:31
↓ 16 callers
Function
DefaultCanaryConfig
DefaultCanaryConfig returns production-grade canary defaults.
pkg/deploy/deploy.go:98
↓ 16 callers
Function
EncodeState
============================================================================ State / Action Encoding =================================================
pkg/scheduler/rl_optimizer.go:100
↓ 16 callers
Method
GetByExtension
GetByExtension returns all plugins registered for the given extension point, ordered by priority (ascending).
pkg/plugin/registry.go:162
↓ 16 callers
Function
NewAliyunProvider
(cfg config.CloudProviderConfig)
pkg/cloud/providers.go:21
↓ 15 callers
Method
DB
DB returns the underlying GORM DB (for advanced queries)
pkg/store/store.go:103
↓ 15 callers
Function
NewAzureProvider
(cfg config.CloudProviderConfig)
pkg/cloud/providers.go:446
↓ 15 callers
Function
NewCanaryController
NewCanaryController creates a new canary deployment controller.
pkg/deploy/deploy.go:149
↓ 15 callers
Function
NewMemoryCache
NewMemoryCache creates an in-memory LRU cache.
pkg/cache/cache.go:149
↓ 15 callers
Method
RegisterReconciler
RegisterReconciler adds a reconciler to the manager. Must be called before Start().
pkg/controller/manager.go:104
↓ 15 callers
Method
SubmitWorkload
SubmitWorkload adds a workload directly to the scheduling queue (for programmatic use / tests).
pkg/scheduler/engine.go:672
↓ 15 callers
Function
assertCode
============================================================================ Helpers =================================================================
pkg/errors/errors_test.go:267
↓ 15 callers
Function
newTestManager
()
pkg/ha/ha_test.go:11
↓ 14 callers
Method
ListPods
Pod operations
pkg/k8s/interfaces.go:20
↓ 14 callers
Function
NewAWSProvider
(cfg config.CloudProviderConfig)
pkg/cloud/providers.go:228
↓ 14 callers
Function
NewHuaweiProvider
(cfg config.CloudProviderConfig)
pkg/cloud/providers_extended.go:219
↓ 14 callers
Function
NewManager
NewManager creates a new security manager with real sub-engines
pkg/security/manager.go:203
↓ 14 callers
Function
NewRouter
NewRouter creates the main API router with all routes configured
pkg/api/router.go:57
↓ 14 callers
Function
NewTencentProvider
(cfg config.CloudProviderConfig)
pkg/cloud/providers_extended.go:27
↓ 14 callers
Function
NewTestRouterConfig
============================================================================ NewTestRouterConfig returns a RouterConfig with all mocks pre-populated.
pkg/testutil/mocks.go:750
↓ 14 callers
Method
RecordEvent
RecordEvent stores an audit event.
pkg/audit/audit.go:157
↓ 14 callers
Method
RegisterEventTrigger
RegisterEventTrigger maps an event bus topic to a controller name. When an event matching the topic arrives, the control plane will enqueue a reconcil
pkg/controlplane/service.go:117
↓ 14 callers
Method
Tracer
Tracer returns the named tracer.
pkg/tracing/tracing.go:159
↓ 14 callers
Method
reset
Reset environment to initial state.
ai/scheduler/train.py:64
↓ 13 callers
Method
Count
Count returns total stored events.
pkg/auth/audit.go:344
↓ 13 callers
Method
CreateApplication
============================================================================ Application Lifecycle ===================================================
pkg/gitops/manager.go:83
↓ 13 callers
Method
CreateBackup
============================================================================ Backup Operations =======================================================
pkg/disaster/disaster.go:252
↓ 13 callers
Function
DefaultCapacityPlanConfig
DefaultCapacityPlanConfig returns sensible defaults.
pkg/aiops/capacity.go:46
↓ 13 callers
Function
DefaultManagerConfig
DefaultManagerConfig returns sensible defaults.
pkg/gitops/manager.go:34
next →
1–100 of 4,559, ranked by callers