pub struct WasmcloudOpts {Show 37 fields
pub wasmcloud_version: String,
pub lattice: Option<String>,
pub host_seed: Option<String>,
pub rpc_host: Option<String>,
pub rpc_port: Option<u16>,
pub rpc_seed: Option<String>,
pub rpc_timeout_ms: Option<u64>,
pub rpc_jwt: Option<String>,
pub rpc_tls: bool,
pub rpc_tls_ca_file: Option<PathBuf>,
pub rpc_credsfile: Option<PathBuf>,
pub ctl_host: Option<String>,
pub ctl_port: Option<u16>,
pub ctl_seed: Option<String>,
pub ctl_jwt: Option<String>,
pub ctl_credsfile: Option<PathBuf>,
pub ctl_tls: bool,
pub ctl_tls_ca_file: Option<PathBuf>,
pub cluster_seed: Option<String>,
pub cluster_issuers: Option<Vec<String>>,
pub provider_delay: u32,
pub allow_latest: bool,
pub allowed_insecure: Option<Vec<String>>,
pub wasmcloud_js_domain: Option<String>,
pub config_service_enabled: bool,
pub allow_file_load: Option<bool>,
pub enable_structured_logging: bool,
pub label: Option<Vec<String>>,
pub structured_log_level: String,
pub enable_ipv6: bool,
pub start_only: bool,
pub multi_local: bool,
pub max_execution_time: u64,
pub secrets_topic: Option<String>,
pub policy_topic: Option<String>,
pub host_log_path: Option<PathBuf>,
pub host_path: Option<PathBuf>,
}Fields§
§wasmcloud_version: StringwasmCloud host version to download, e.g. v0.55.0. See https://github.com/wasmCloud/wasmcloud/releases for releases
lattice: Option<String>A unique identifier for a lattice, frequently used within NATS topics to isolate messages among different lattices
host_seed: Option<String>The seed key (a printable 256-bit Ed25519 private key) used by this host to generate it’s public key
rpc_host: Option<String>An IP address or DNS name to use to connect to NATS for RPC messages, defaults to the value supplied to –nats-host if not supplied
rpc_port: Option<u16>A port to use to connect to NATS for RPC messages, defaults to the value supplied to –nats-port if not supplied
rpc_seed: Option<String>A seed nkey to use to authenticate to NATS for RPC messages
rpc_timeout_ms: Option<u64>Timeout in milliseconds for all RPC calls
rpc_jwt: Option<String>A user JWT to use to authenticate to NATS for RPC messages
rpc_tls: boolOptional flag to enable host communication with a NATS server over TLS for RPC messages
rpc_tls_ca_file: Option<PathBuf>A TLS CA file to use to authenticate to NATS for RPC messages
rpc_credsfile: Option<PathBuf>Convenience flag for RPC authentication, internally this parses the JWT and seed from the credsfile
ctl_host: Option<String>An IP address or DNS name to use to connect to NATS for Control Interface (CTL) messages, defaults to the value supplied to –nats-host if not supplied
ctl_port: Option<u16>A port to use to connect to NATS for CTL messages, defaults to the value supplied to –nats-port if not supplied
ctl_seed: Option<String>A seed nkey to use to authenticate to NATS for CTL messages
ctl_jwt: Option<String>A user JWT to use to authenticate to NATS for CTL messages
ctl_credsfile: Option<PathBuf>Convenience flag for CTL authentication, internally this parses the JWT and seed from the credsfile
ctl_tls: boolOptional flag to enable host communication with a NATS server over TLS for CTL messages
ctl_tls_ca_file: Option<PathBuf>A TLS CA file to use to authenticate to NATS for CTL messages
cluster_seed: Option<String>The seed key (a printable 256-bit Ed25519 private key) used by this host to sign all invocations
cluster_issuers: Option<Vec<String>>A comma-delimited list of public keys that can be used as issuers on signed invocations
provider_delay: u32Delay, in milliseconds, between requesting a provider shut down and forcibly terminating its process
allow_latest: boolDetermines whether OCI images tagged latest are allowed to be pulled from OCI registries and started
allowed_insecure: Option<Vec<String>>A comma-separated list of OCI hosts to which insecure (non-TLS) connections are allowed
wasmcloud_js_domain: Option<String>Jetstream domain name, configures a host to properly connect to a NATS supercluster
config_service_enabled: boolDenotes if a wasmCloud host should issue requests to a config service on startup
allow_file_load: Option<bool>Denotes if a wasmCloud host should allow starting components from the file system
enable_structured_logging: boolEnable JSON structured logging from the wasmCloud host
label: Option<Vec<String>>A label to apply to the host, in the form of key=value. This flag can be repeated to supply multiple labels
structured_log_level: StringControls the verbosity of JSON structured logs from the wasmCloud host
enable_ipv6: boolEnables IPV6 addressing for wasmCloud hosts
start_only: boolIf enabled, wasmCloud will not be downloaded if it’s not installed
multi_local: boolIf enabled, allows starting additional wasmCloud hosts on this machine
max_execution_time: u64Defines the Max Execution time (in ms) that the host runtime will execute for
secrets_topic: Option<String>If provided, enables interfacing with a secrets backend for secret retrieval over the given topic prefix.
policy_topic: Option<String>If provided, enables policy checks on start actions and component invocations
host_log_path: Option<PathBuf>Path to which to log information from the wasmCloud host
host_path: Option<PathBuf>Path to a binary that should be used to start the wasmCloud host
Implementations§
source§impl WasmcloudOpts
impl WasmcloudOpts
Trait Implementations§
source§impl Args for WasmcloudOpts
impl Args for WasmcloudOpts
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moresource§impl Clone for WasmcloudOpts
impl Clone for WasmcloudOpts
source§fn clone(&self) -> WasmcloudOpts
fn clone(&self) -> WasmcloudOpts
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl CommandFactory for WasmcloudOpts
impl CommandFactory for WasmcloudOpts
source§impl Debug for WasmcloudOpts
impl Debug for WasmcloudOpts
source§impl FromArgMatches for WasmcloudOpts
impl FromArgMatches for WasmcloudOpts
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.source§impl Parser for WasmcloudOpts
impl Parser for WasmcloudOpts
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for WasmcloudOpts
impl RefUnwindSafe for WasmcloudOpts
impl Send for WasmcloudOpts
impl Sync for WasmcloudOpts
impl Unpin for WasmcloudOpts
impl UnwindSafe for WasmcloudOpts
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
self file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
self file descriptor. Read moresource§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more