Struct wasmer_deploy_cli::cmd::deploy::CmdDeploy
source · pub struct CmdDeploy {
pub api: ApiOpts,
pub fmt: ItemFormatOpts,
pub no_validate: bool,
pub non_interactive: bool,
pub publish_package: bool,
pub path: Option<PathBuf>,
pub no_wait: bool,
pub no_default: bool,
pub no_persist_id: bool,
pub owner: Option<String>,
}
Expand description
Start a remote SSH session.
Fields§
§api: ApiOpts
§fmt: ItemFormatOpts
§no_validate: bool
Skip local schema validation.
non_interactive: bool
Do not prompt for user input.
publish_package: bool
Automatically publish the package referenced by this app.
Only works if the corresponding wasmer.toml is in the same directory.
path: Option<PathBuf>
The path to the app.yaml file.
no_wait: bool
Do not wait for the app to become reachable.
no_default: bool
Do not make the new app version the default (active) version. This is useful for testing a deployment first, before moving it to “production”.
no_persist_id: bool
Do not persist the app version ID in the app.yaml.
owner: Option<String>
Specify the owner (user or namespace) of the app. Will default to the currently logged in user, or the existing one if the app can be found.
Implementations§
Trait Implementations§
source§impl Args for CmdDeploy
impl Args for CmdDeploy
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§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
source§impl AsyncCliCommand for CmdDeploy
impl AsyncCliCommand for CmdDeploy
source§impl FromArgMatches for CmdDeploy
impl FromArgMatches for CmdDeploy
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(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Parser for CmdDeploy
impl Parser for CmdDeploy
§fn parse_from<I, T>(itr: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Selfwhere I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Parse from iterator, exit on error
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I)where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Update from iterator, exit on error
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Update from iterator, return Err on error.
Auto Trait Implementations§
impl RefUnwindSafe for CmdDeploy
impl Send for CmdDeploy
impl Sync for CmdDeploy
impl Unpin for CmdDeploy
impl UnwindSafe for CmdDeploy
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