pub enum UpdateAction {
Show 14 variants
Serve {
store: PathBuf,
host: String,
port: u16,
proxy_base: Option<String>,
heartbeat_ms: u64,
poll_ms: u64,
once: bool,
plan: bool,
},
Stage {
store: PathBuf,
project: String,
channel: String,
stage_id: String,
manifest: PathBuf,
blobs_dir: PathBuf,
},
Publish {
store: PathBuf,
project: String,
channel: String,
stage_id: String,
signing_key: Option<String>,
signing_key_env: String,
},
Rollback {
store: PathBuf,
project: String,
channel: String,
to_release: u64,
signing_key: Option<String>,
signing_key_env: String,
},
Status {
store: PathBuf,
project: Option<String>,
channel: Option<String>,
},
Push {
store: PathBuf,
project: String,
channel: String,
route: Option<String>,
slot: Option<String>,
file: Option<PathBuf>,
title: Option<String>,
body: Option<String>,
wasm_widget: bool,
accent_hex: Option<String>,
signing_key: Option<String>,
signing_key_env: String,
},
Watch {
store: PathBuf,
project: String,
channel: String,
route: Option<String>,
slot: Option<String>,
file: PathBuf,
poll_ms: u64,
once: bool,
signing_key: Option<String>,
signing_key_env: String,
},
Init {
store: PathBuf,
project: String,
channel: String,
signing_key: Option<String>,
json: bool,
},
Keygen {
bytes: usize,
json: bool,
},
Build {Show 13 fields
package: Option<String>,
path: Option<PathBuf>,
out: Option<PathBuf>,
push: bool,
store: PathBuf,
project: String,
channel: String,
route: Option<String>,
slot: Option<String>,
signing_key: Option<String>,
signing_key_env: String,
release: bool,
json: bool,
},
Dev {Show 15 fields
store: PathBuf,
host: String,
port: u16,
proxy_base: Option<String>,
project: String,
channel: String,
route: Option<String>,
slot: Option<String>,
file: Option<PathBuf>,
poll_ms: u64,
heartbeat_ms: u64,
signing_key: Option<String>,
signing_key_env: String,
once: bool,
json: bool,
},
Verify {
store: PathBuf,
project: String,
channel: String,
release: Option<u64>,
signing_key: Option<String>,
signing_key_env: String,
json: bool,
},
Diff {
store: PathBuf,
project: String,
channel: String,
from: u64,
to: u64,
json: bool,
},
Gc {
store: PathBuf,
keep: usize,
dry_run: bool,
json: bool,
},
}Expand description
Subcommands under euv update for operating the Hyperlane HTTP + SSE dynamic update server and local store.
Variants§
Serve
Starts the read-only Hyperlane HTTP + SSE dynamic update server backed by the local store directory.
Fields
Stage
Stages and SHA-256-verifies a release manifest and its blobs into staging/<stage_id>/.
Fields
Publish
Atomically signs and publishes a staged release with a strictly monotonic sequence number.
Fields
Rollback
Signs a NEW monotonic release pointing back to a historical release’s verified blobs (never replaying old manifests).
Fields
Status
Inspects active channel pointers, release counts, and content-addressed blob inventory in a local update store.
Fields
Push
Builds, verifies, signs, and atomically publishes a live hot-update release from a .json UI spec, .wasm binary, or inline --title in one command.
Fields
route: Option<String>Optional target route path to update (defaults to "/dynamic-panel" when neither --route nor --slot is specified).
slot: Option<String>Optional component slot identifier to update (defaults to "promo_banner" when neither --route nor --slot is specified).
title: Option<String>Optional inline card title generating a ready-to-push declarative or WASM update.
wasm_widget: boolGenerate a genuine .wasm module binary when using --title instead of declarative JSON.
Watch
Watches a .json UI spec or .wasm artifact file and automatically pushes signed live hot-update releases whenever it changes.
Fields
Init
Initializes an atomic local OTA update store layout and optional project/channel config.
Fields
Keygen
Generates a cryptographically strong HMAC-SHA256 signing key hex string for OTA releases.
Fields
Build
Compiles a Rust dynamic widget crate to wasm32-unknown-unknown, validates ABI exports, and optionally pushes a live OTA release.
Fields
Dev
Runs a unified single-command Hyperlane OTA server + live file watcher printing localhost and LAN URLs.
Fields
Verify
Audits offline HMAC-SHA256 signatures, channel pointers, and SHA-256 integrity of every referenced blob in a store.
Fields
Diff
Compares two release sequences showing route, track, and content-addressed blob deltas.
Fields
Gc
Garbage-collects unreferenced blobs and stale staging directories while preserving active and recent releases.
Trait Implementations§
Source§impl Clone for UpdateAction
impl Clone for UpdateAction
Source§impl Debug for UpdateAction
impl Debug for UpdateAction
impl Eq for UpdateAction
Source§impl FromArgMatches for UpdateAction
impl FromArgMatches for UpdateAction
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl PartialEq for UpdateAction
impl PartialEq for UpdateAction
impl StructuralPartialEq for UpdateAction
Source§impl Subcommand for UpdateAction
impl Subcommand for UpdateAction
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Forget for UpdateAction
impl Freeze for UpdateAction
impl Move for UpdateAction
impl RefUnwindSafe for UpdateAction
impl Send for UpdateActionwhere
RawVecInner: Send,
impl Sync for UpdateActionwhere
RawVecInner: Sync,
impl Unpin for UpdateAction
impl UnsafeUnpin for UpdateAction
impl UnwindSafe for UpdateActionwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§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