Skip to main content

Crate spin_factor_outbound_networking

Crate spin_factor_outbound_networking 

Source

Re-exports§

pub use spin_outbound_networking_config as config;

Modules§

runtime_config

Structs§

AppState
ComponentTlsClientConfigs
TLS configurations for a specific component.
ConnectionPermit
Holds up to two semaphore permits (global + factor-specific). Both permits are released when this value is dropped. All-None fields are valid and represent the no-limits case.
ConnectionSemaphore
Wraps an optional global and an optional factor-specific semaphore.
InstanceBuilder
OutboundNetworkingFactor
TlsClientConfig
Shared TLS client configuration

Functions§

build_connection_semaphore
Builds a ConnectionSemaphore for 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.