Crate bulwark_config
source ·Expand description
Provides Bulwark’s configuration and configuration management functionality.
Modules§
- The
toml
module provides TOML deserialization and parsing for Bulwark’s configuration files.
Structs§
- The root of a Bulwark configuration.
- Configuration for metrics collection.
- The permissions granted to an associated plugin.
- The configuration for an individual plugin.
- A mapping between a reference identifier and a list of plugins that form a preset plugin group.
- A mapping between a route pattern and the plugins that should be run for matching requests.
- Configuration for the runtime environment.
- Configuration for the services being launched.
- Configuration for state managed by Bulwark plugins.
- Configuration for the decision thresholds.
Enums§
- This error will be returned if an attempt to load Bulwark’s configuration file fails.
- This error will be returned if an attempt to serialize a config structure fails.
- Wraps reference strings and differentiates what the reference points to.
- This error will be returned if attempting to resolve references fails.
Constants§
- The default
Service::admin_port
value. - The default
Runtime::max_concurrent_requests
value. - The default
Runtime::max_plugin_tasks
value. - The default
Thresholds::observe_only
value. - The default
Plugin::weight
value. - The default
Service::port
value. - The default
State::redis_pool_size
value. - The default
Thresholds::restrict
value. - The default
Metrics::statsd_buffer_size
value. - The default
Metrics::statsd_port
value. - The default
Metrics::statsd_queue_size
value. - The default
Thresholds::suspicious
value. - The default
Thresholds::trust
value.