Crate wasmcloud_provider_sdk Copy item path Source pub use provider::get_connection ;
pub use provider::load_host_data ;
pub use provider::run_provider ;
pub use provider::serve_provider_exports ;
pub use provider::ProviderConnection ;
pub use anyhow ;
pub use tracing_subscriber ;
pub use wasmcloud_core as core;
pub use wasmcloud_tracing ;
error Error types for interacting with a provider otel provider initialize_observability Initialize observability for a given provider with host-supplied data, via tracing
. propagate_trace_for_ctx Instrument a given [provider_sdk::Context
], injecting current tracing
-generated metadata
if one isn’t present. Context Context - message passing metadata used by wasmCloud Capability Providers HealthCheckRequest Re-export of types from wasmcloud_core
HealthCheckResponse Re-export of types from wasmcloud_core
HostData Re-export of types from wasmcloud_core
initialization data for a capability provider InterfaceLinkDefinition Re-export of types from wasmcloud_core
A link definition between a source and target component (component or provider) on a given
interface. An InterfaceLinkDefinition
connects one component’s import to another
component’s export, specifying the configuration each component needs in order to execute
the request, and represents an operator’s intent to allow the source to invoke the target. LinkConfig Configuration of a link that is passed to a provider DEFAULT_RPC_TIMEOUT_MILLIS The default timeout for a request to the lattice, in milliseconds URL_SCHEME LinkDeleteInfo Present information related to a link delete, normally used as part of the Provider
interface,
for providers that must process a link deletion in some way. Provider Capability Provider handling of messages from host ProviderConfigUpdate Objects that can act as provider configuration updates ProviderInitConfig Configuration object is made available when a provider is started, to assist in init parse_wit_meta_from_operation Parse an sufficiently specified WIT operation/method into constituent parts. with_connection_event_logging helper method to add logging to a nats connection. Logs disconnection (warn level), reconnection (info level), error (error), slow consumer, and lame duck(warn) events. WitFunction Re-export of types from wasmcloud_core
A WIT function (ex. get
in wasi:keyvalue/readwrite.get
) WitInterface Re-export of types from wasmcloud_core
WIT interface for a given operation (ex. readwrite
in wasi:keyvalue/readwrite.get
) WitNamespace Re-export of types from wasmcloud_core
WIT namespace for a given operation (ex. wasi
in wasi:keyvalue/readwrite.get
) WitPackage Re-export of types from wasmcloud_core
WIT package for a given operation (ex. keyvalue
in wasi:keyvalue/readwrite.get
)