pub enum UpdateAction {
Serve {
store: PathBuf,
host: String,
port: u16,
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>,
},
}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.
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>
Assign values from
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>
Assign values from
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
Append to
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
Test whether
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
Mutably borrows from an owned value. Read more
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
Compare self to
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> ⓘ
Converts
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> ⓘ
Converts
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