Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EBWi11/AgentSmith-HUB
/ functions
Functions
2,165 in github.com/EBWi11/AgentSmith-HUB
⨍
Functions
2,165
◇
Types & classes
243
↓ 1 callers
Method
EvaluateEventBindings
EvaluateEventBindings returns stage -> matched event IDs for stages satisfied by this event. For OR expressions, the first satisfied branch (left-firs
src/rules_engine/cep_condition.go:533
↓ 1 callers
Method
ExecuteCommandWithOptions
(projectID, action string, recordOperation bool)
src/project/project.go:361
↓ 1 callers
Method
ExecuteCommandWithOptions
(projectID, action string, recordOperation bool)
src/cluster/refactor_regression_test.go:19
↓ 1 callers
Method
ExecuteCommandWithOptions
(projectID, action string, recordOperation bool)
src/cluster/cluster.go:202
↓ 1 callers
Function
ForEachAgent
(fn func(id string, a *agent.Agent) bool)
src/project/project_struct.go:670
↓ 1 callers
Function
ForEachProjectUnsafa
Unsafe iteration functions - use with caution, caller must ensure proper locking
src/project/project_struct.go:1173
↓ 1 callers
Function
ForEachRuleset
(fn func(id string, rs *rules_engine.Ruleset) bool)
src/project/project_struct.go:1203
↓ 1 callers
Function
GetAccessLogger
GetAccessLogger returns the access logger instance
src/logger/logger.go:389
↓ 1 callers
Function
GetAgentLogComments
GetAgentLogComments returns comments for a given log ID (most recent first).
src/common/agent_log_redis.go:79
↓ 1 callers
Method
GetAggregatedDailyStats
GetAggregatedDailyStats returns aggregated statistics for a date (read from Redis)
src/common/daily_stats_manager.go:379
↓ 1 callers
Method
GetAggregatedMetrics
GetAggregatedMetrics returns aggregated system metrics across all nodes
src/common/system_monitor.go:623
↓ 1 callers
Method
GetAvgLatencyMs
GetAvgLatencyMs returns average processing latency in milliseconds (0 if no messages processed).
src/agent/agent.go:357
↓ 1 callers
Function
GetCheckDataWithTypeFromCache
GetCheckDataWithTypeFromCache retrieves typed data from cache or fetches and caches it
src/rules_engine/engine_utils.go:278
↓ 1 callers
Function
GetComponentFromSequenceID
(sequence string)
src/common/utils.go:21
↓ 1 callers
Function
GetConfigDir
getConfigDir returns the appropriate config directory based on the operating system
src/common/utils.go:360
↓ 1 callers
Function
GetExt
GetExt returns the appropriate file extension for a component type Parameters: - componentType: type of component (input, output, ruleset, project, pl
src/api/file_operations.go:36
↓ 1 callers
Method
GetFailureIncrementAndUpdate
GetFailureIncrementAndUpdate returns the increment in failure count since last call and updates the baseline This method is thread-safe and designed f
src/plugin/plugin.go:1066
↓ 1 callers
Method
GetHistoricalMetrics
GetHistoricalMetrics returns historical system metrics within the specified time range
src/common/system_monitor.go:403
↓ 1 callers
Method
GetIncrementAndUpdate
GetIncrementAndUpdate returns the increment since last call and updates the baseline. This method is thread-safe and designed for statistics collectio
src/rules_engine/engine_core.go:2660
↓ 1 callers
Method
GetNodeMetrics
GetNodeMetrics returns system metrics for a specific node
src/common/system_monitor.go:544
↓ 1 callers
Method
GetNodes
GetNodes returns current node list
src/cluster/heartbeat_simple.go:387
↓ 1 callers
Function
GetOperationsHistory
GetOperationsHistory handles GET /operations-history - unified endpoint for all nodes
src/api/operations_history.go:184
↓ 1 callers
Method
GetProcessTotal
()
src/agent/agent.go:352
↓ 1 callers
Method
GetProcessTotal
GetProcessTotal returns the total processed message count.
src/rules_engine/engine_core.go:2646
↓ 1 callers
Method
GetProjectRulesetsUnsafe
GetProjectRulesetsUnsafe returns all rulesets used by this project without acquiring locks This version should only be called when the caller already
src/project/project_struct.go:257
↓ 1 callers
Function
GetRulesetsUsingPlugin
(pluginID string)
src/project/project.go:140
↓ 1 callers
Method
GetRuntimeErrors
()
src/rules_engine/engine_struct.go:2151
↓ 1 callers
Function
GetSkill
Skill accessors
src/project/project_struct.go:903
↓ 1 callers
Method
GetSnapshot
(ref string)
src/rules_engine/cep_value_store.go:22
↓ 1 callers
Function
GetStatsCollector
GetStatsCollector returns the current stats collector function
src/common/daily_stats_manager.go:353
↓ 1 callers
Method
GetTTL
GetTTL returns the remaining TTL for an existing non-expired key.
src/rules_engine/engine_threshold_cache.go:79
↓ 1 callers
Method
Impl
Impl returns the underlying implementation for agent consumption.
src/skill/skill.go:54
↓ 1 callers
Function
InitAccessLogger
InitAccessLogger initializes the access logger for API requests
src/logger/logger.go:345
↓ 1 callers
Function
InitAgentLogger
InitAgentLogger initializes the agent tool-call logger
src/logger/logger.go:256
↓ 1 callers
Function
InitHeartbeatManager
InitHeartbeatManager initializes the heartbeat manager
src/cluster/heartbeat_simple.go:38
↓ 1 callers
Function
InitInstructionManager
InitInstructionManager initializes the instruction manager
src/cluster/instruction_sync.go:108
↓ 1 callers
Function
InitLogger
()
src/logger/logger.go:77
↓ 1 callers
Function
InitPluginLogger
InitPluginLogger initializes the plugin-specific logger for plugin failures
src/logger/logger.go:163
↓ 1 callers
Function
InitSIMDConfig
InitSIMDConfig initializes SIMD configuration from global config
src/rules_engine/engine_core.go:92
↓ 1 callers
Function
InitSyncListener
InitSyncListener initializes the sync listener
src/cluster/sync_listener.go:58
↓ 1 callers
Method
InitializeLeaderInstructions
InitializeLeaderInstructions creates initial instructions for all components (leader only)
src/cluster/instruction_sync.go:629
↓ 1 callers
Method
IsCompacting
IsCompacting returns whether instruction manager is currently in compaction mode During compaction, currentVersion is temporarily set to 0
src/cluster/instruction_sync.go:136
↓ 1 callers
Method
KickFollowerForResync
KickFollowerForResync kicks out a slow/stuck follower and marks it for full resync
src/cluster/instruction_sync.go:847
↓ 1 callers
Function
MapDeepCopy
(m map[string]interface{})
src/common/utils.go:113
↓ 1 callers
Function
NewCircuitBreaker
NewCircuitBreaker creates a new circuit breaker
src/common/redis.go:35
↓ 1 callers
Function
NewClusterSystemManager
NewClusterSystemManager creates a new cluster system manager instance
src/common/system_monitor.go:513
↓ 1 callers
Function
NewDailyStatsManager
NewDailyStatsManager creates a new daily statistics manager instance
src/common/daily_stats_manager.go:135
↓ 1 callers
Function
NewDistributedLock
NewDistributedLock creates a new distributed lock
src/common/redis.go:520
↓ 1 callers
Function
NewFromExisting
NewFromExisting creates a new Agent instance from an existing one for a given PNS.
src/agent/agent.go:125
↓ 1 callers
Function
NewRedisFailureHandler
NewRedisFailureHandler creates a new Redis failure handler
src/common/redis.go:99
↓ 1 callers
Function
NewRedisSampleManager
NewRedisSampleManager creates a new Redis Sample Manager
src/common/redis_sample_manager.go:46
↓ 1 callers
Function
NewSIMDStringOperations
NewSIMDStringOperations creates a new SIMD string operations instance with CPU capability detection
src/rules_engine/simd_optimizations.go:20
↓ 1 callers
Function
NewSampler
NewSampler creates a new sampler instance
src/common/sampler.go:49
↓ 1 callers
Function
NewSystemMonitor
NewSystemMonitor creates a new system monitor instance
src/common/system_monitor.go:52
↓ 1 callers
Function
NewXMLDecoder
NewXMLDecoder creates a new XMLDecoder
src/rules_engine/engine_parser.go:22
↓ 1 callers
Function
ObtainLeaderLocker
()
src/cluster/leader_locker.go:23
↓ 1 callers
Method
ObtainLeaderLocker
()
src/cluster/cluster.go:39
↓ 1 callers
Method
ProcessTestData
ProcessTestData processes test data through the input component's normal data flow This ensures test data goes through the same processing as producti
src/input/input.go:549
↓ 1 callers
Method
PublishComponentPushChange
PublishComponentPushChange publishes push change instruction
src/cluster/instruction_sync.go:568
↓ 1 callers
Method
PublishProjectRestart
PublishProjectRestart publishes project restart instruction
src/cluster/instruction_sync.go:587
↓ 1 callers
Method
PublishProjectStart
PublishProjectStart publishes project start instruction
src/cluster/instruction_sync.go:577
↓ 1 callers
Method
PublishProjectStop
PublishProjectStop publishes project stop instruction
src/cluster/instruction_sync.go:582
↓ 1 callers
Method
PublishProjectsRestart
PublishProjectsRestart publishes multiple project restart instructions
src/cluster/instruction_sync.go:592
↓ 1 callers
Method
PutSnapshot
(data map[string]interface{}, expiresAtNs int64)
src/rules_engine/cep_value_store.go:21
↓ 1 callers
Function
REGEX
(data string, regexCompile *regexp.Regex)
src/rules_engine/engine_utils.go:483
↓ 1 callers
Function
RecordChangePush
RecordChangePush records a change push operation to Redis
src/api/operations_history.go:68
↓ 1 callers
Function
RedisGetInt64
RedisGetInt64 gets a value from Redis as int64
src/common/redis.go:282
↓ 1 callers
Function
RedisHDel
RedisHDel deletes a field from a Redis hash
src/common/redis.go:382
↓ 1 callers
Function
RedisPing
()
src/common/redis.go:250
↓ 1 callers
Function
RedisSAdd
===================== Set Operations ===================== RedisSAdd adds a member to a set
src/common/redis.go:417
↓ 1 callers
Function
RedisZRemRangeByScore
RedisZRemRangeByScore removes members by score from a sorted set
src/common/redis.go:449
↓ 1 callers
Function
RedisZRevRange
RedisZRevRange returns members from a sorted set in reverse order
src/common/redis.go:439
↓ 1 callers
Method
Release
()
src/cluster/leader_locker.go:69
↓ 1 callers
Method
ResetAllStats
ResetAllStats resets all statistics counters (for restart scenarios)
src/plugin/plugin.go:1090
↓ 1 callers
Method
ResetDownstream
()
src/rules_engine/engine_struct.go:262
↓ 1 callers
Method
ResetFailureTotal
ResetFailureTotal resets the failure counter and baseline (for restart scenarios)
src/plugin/plugin.go:1084
↓ 1 callers
Method
ResetForFullResync
ResetForFullResync resets follower state to trigger full resync Called when follower is kicked out by leader due to slow sync
src/cluster/sync_listener.go:116
↓ 1 callers
Method
ResetProcessTotal
ResetProcessTotal resets the total processed count to zero. This should only be called during component cleanup or forced restart.
src/rules_engine/engine_core.go:2652
↓ 1 callers
Method
ResetSuccessTotal
ResetSuccessTotal resets the success counter and baseline (for restart scenarios)
src/plugin/plugin.go:1078
↓ 1 callers
Function
RetryWithExponentialBackoff
RetryWithExponentialBackoff executes a function with exponential backoff retry
src/common/redis.go:482
↓ 1 callers
Method
SIMDContains
SIMDContains performs SIMD-optimized string contains operation
src/rules_engine/simd_optimizations.go:27
↓ 1 callers
Function
SIMDEnhancedEND
SIMDEnhancedEND provides SIMD-optimized version of END
src/rules_engine/simd_integration.go:75
↓ 1 callers
Function
SIMDEnhancedINCL
SIMDEnhancedINCL provides SIMD-optimized version of INCL
src/rules_engine/simd_integration.go:49
↓ 1 callers
Function
SIMDEnhancedNCS_END
SIMDEnhancedNCS_END provides SIMD-optimized version of NCS_END
src/rules_engine/simd_integration.go:88
↓ 1 callers
Function
SIMDEnhancedNCS_INCL
SIMDEnhancedNCS_INCL provides SIMD-optimized version of NCS_INCL
src/rules_engine/simd_integration.go:23
↓ 1 callers
Function
SIMDEnhancedNCS_START
SIMDEnhancedNCS_START provides SIMD-optimized version of NCS_START
src/rules_engine/simd_integration.go:36
↓ 1 callers
Function
SIMDEnhancedSTART
SIMDEnhancedSTART provides SIMD-optimized version of START
src/rules_engine/simd_integration.go:62
↓ 1 callers
Method
SIMDHasPrefix
SIMDHasPrefix performs SIMD-optimized prefix checking
src/rules_engine/simd_optimizations.go:61
↓ 1 callers
Method
SIMDHasPrefixCaseInsensitive
SIMDHasPrefixCaseInsensitive performs case-insensitive SIMD prefix checking
src/rules_engine/simd_optimizations.go:78
↓ 1 callers
Method
SIMDHasSuffix
SIMDHasSuffix performs SIMD-optimized suffix checking
src/rules_engine/simd_optimizations.go:95
↓ 1 callers
Method
SIMDHasSuffixCaseInsensitive
SIMDHasSuffixCaseInsensitive performs case-insensitive SIMD suffix checking
src/rules_engine/simd_optimizations.go:112
↓ 1 callers
Function
SafeDeletePluginComponent
(id string)
src/project/project.go:144
↓ 1 callers
Method
SetFollowerExecutionFlag
SetFollowerExecutionFlag sets/refreshes a flag indicating follower is executing instructions
src/cluster/sync_listener.go:495
↓ 1 callers
Function
SetPNSOutput
(pns string, out *output.Output)
src/project/project_struct.go:486
↓ 1 callers
Function
SetProjectErrorStatus
SetProjectErrorStatus force-stops a project after component failure and leaves the project in error state so callers can distinguish crash recovery fr
src/project/project.go:519
↓ 1 callers
Function
SetProjectErrorStatus
SetProjectErrorStatus calls the registered project error setter
src/common/global.go:257
↓ 1 callers
Method
SetTestMode
SetTestMode configures the output for test mode by disabling sampling and other global state interactions
src/output/output.go:1431
↓ 1 callers
Method
Start
Start initializes and starts the output component based on its type Returns an error if the component is already running or if initialization fails If
src/output/output.go:640
↓ 1 callers
Method
Start
()
src/common/aliyun_sls.go:259
↓ 1 callers
Method
Start
Start launches a goroutine for each upstream channel. Each message is treated as an independent event.
src/agent/agent_loop.go:119
← previous
next →
601–700 of 2,165, ranked by callers