Re-exports§
pub use spin_outbound_networking_config as config;
Modules§
Structs§
- AppState
- Component
TlsClient Configs - TLS configurations for a specific component.
- Connection
Permit - Holds up to two semaphore permits (global + factor-specific).
Both permits are released when this value is dropped.
All-
Nonefields are valid and represent the no-limits case. - Connection
Semaphore - Wraps an optional global and an optional factor-specific semaphore.
- Instance
Builder - Outbound
Networking Factor - TlsClient
Config - Shared TLS client configuration
Functions§
- build_
connection_ semaphore - Builds a
ConnectionSemaphorefor an outbound factor, incorporating the optional global connection limit from the networking factor’s app state. - record_
address_ fields - Records the address host, port, and database as fields on the current tracing span.
- validate_
service_ chaining_ for_ components - Validates that all service chaining of an app will be satisfied by the supplied subset of components.