Documentation
¶
Index ¶
Constants ¶
View Source
const FeatureGate = "flowControl"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Controller *controller.Config
Registry *registry.Config
UsageLimitPolicy flowcontrol.UsageLimitPolicy
}
Config is the top-level configuration for the entire flow control module. It embeds the configurations for the controller and the registry, providing a single point of entry for validation and initialization.
func NewConfig ¶
func NewConfig(ctrl *controller.Config, reg *registry.Config, ulp flowcontrol.UsageLimitPolicy) *Config
NewConfig constructs a Config from pre-resolved components. All plugin resolution is performed by the config loader before calling this constructor.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package benchmark implements a synchronous steady-state pipeline for load-testing the Flow Control layer.
|
Package benchmark implements a synchronous steady-state pipeline for load-testing the Flow Control layer. |
|
Package contracts defines the boundaries and service interfaces for the Flow Control system.
|
Package contracts defines the boundaries and service interfaces for the Flow Control system. |
|
mocks
Package mocks provides mocks for the interfaces defined in the `contracts` package.
|
Package mocks provides mocks for the interfaces defined in the `contracts` package. |
|
Package controller contains the implementation of the FlowController engine.
|
Package controller contains the implementation of the FlowController engine. |
|
internal
Package internal provides the core worker implementation for the controller.FlowController.
|
Package internal provides the core worker implementation for the controller.FlowController. |
|
framework
|
|
|
plugins/queue
Package queue provides the factory and registration mechanism for all SafeQueue implementations.
|
Package queue provides the factory and registration mechanism for all SafeQueue implementations. |
|
Package registry provides the concrete implementation of the `contracts.FlowRegistry` interface.
|
Package registry provides the concrete implementation of the `contracts.FlowRegistry` interface. |
|
Package types defines the fundamental data structures, interfaces, and errors that form the vocabulary of the Flow Control system.
|
Package types defines the fundamental data structures, interfaces, and errors that form the vocabulary of the Flow Control system. |
Click to show internal directories.
Click to hide internal directories.