pub enum ModuleCommand {
Uninstall {
id: String,
},
}Variants§
Uninstall
Remove a module from the gateway entirely — destructive, refused
without --yes. ID is a REGISTRY id (the same one rig up --with-module takes; see ign rig up --with-module), never a
raw gateway module id — a hand-installed module cannot be named
here. Needs IGNITION_TOKEN. The gateway refuses while the
.modl is still mounted: undeclare the module and run ign rig up first. A successful uninstall is NOT reversible by
re-declaring — recovery today means ign rig reset --yes,
which destroys the rig’s data volume.
Trait Implementations§
Source§impl Clone for ModuleCommand
impl Clone for ModuleCommand
Source§impl Debug for ModuleCommand
impl Debug for ModuleCommand
Source§impl FromArgMatches for ModuleCommand
impl FromArgMatches for ModuleCommand
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 Subcommand for ModuleCommand
impl Subcommand for ModuleCommand
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 ModuleCommand
impl Freeze for ModuleCommand
impl RefUnwindSafe for ModuleCommand
impl Send for ModuleCommand
impl Sync for ModuleCommand
impl Unpin for ModuleCommand
impl UnsafeUnpin for ModuleCommand
impl UnwindSafe for ModuleCommand
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
Mutably borrows from an owned value. Read more