Re-exports§
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;
Modules§
- Error types for interacting with a provider
Macros§
- Initialize observability for a given provider with host-supplied data, via
tracing
. - Instrument a given [
provider_sdk::Context
], injecting currenttracing
-generated metadata if one isn’t present.
Structs§
- Context - message passing metadata used by wasmCloud Capability Providers
- Re-export of types from
wasmcloud_core
- Re-export of types from
wasmcloud_core
- Re-export of types from
wasmcloud_core
initialization data for a capability provider - Re-export of types from
wasmcloud_core
A link definition between a source and target component (component or provider) on a given interface. AnInterfaceLinkDefinition
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. - Configuration of a link that is passed to a provider
Constants§
- The default timeout for a request to the lattice, in milliseconds
Traits§
- 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. - Capability Provider handling of messages from host
- Objects that can act as provider configuration updates
- Configuration object is made available when a provider is started, to assist in init
Functions§
- Parse an sufficiently specified WIT operation/method into constituent parts.
- 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.
Type Aliases§
- Re-export of types from
wasmcloud_core
WIT interface for a given operation (ex.readwrite
inwasi:keyvalue/readwrite.get
) - Re-export of types from
wasmcloud_core
WIT namespace for a given operation (ex.wasi
inwasi:keyvalue/readwrite.get
) - Re-export of types from
wasmcloud_core
WIT package for a given operation (ex.keyvalue
inwasi:keyvalue/readwrite.get
)