Crate wasmcloud_provider_sdk
source ·Re-exports§
pub use provider::get_connection;
pub use provider::load_host_data;
pub use provider::run_provider;
pub use provider::ProviderConnection;
pub use wasmcloud_core as core;
pub use wasmcloud_tracing;
Modules§
- Error types for interacting with a provider
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
A link definition between a source and target component (actor 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§
- Capability Provider handling of messages from host
- 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
)