pub enum UpdateAction {
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,
},
}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
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