pub struct DeployCmd {Show 46 fields
pub target: Option<String>,
pub env: Option<String>,
pub to: Vec<String>,
pub plan: bool,
pub run: bool,
pub verify: bool,
pub status: bool,
pub promote: Option<String>,
pub history: bool,
pub revitalize: Option<String>,
pub revitalize_out: Option<PathBuf>,
pub revitalize_in_place: bool,
pub redact_history: bool,
pub repair_history: bool,
pub engine_check: bool,
pub scan: bool,
pub dry_run: bool,
pub skip_oci: bool,
pub skip_build: bool,
pub local_image: bool,
pub push_image: bool,
pub require_new_container_image: bool,
pub no_bootstrap_workload: bool,
pub doctor: bool,
pub skip_doctor: bool,
pub skip_apply: bool,
pub skip_rollout: bool,
pub skip_expose: bool,
pub skip_health: bool,
pub namespace: Option<String>,
pub context: Option<String>,
pub yes: bool,
pub json: bool,
pub output: Option<PathBuf>,
pub limit: usize,
pub only: Vec<String>,
pub exclude: Vec<String>,
pub reset: bool,
pub all: bool,
pub reset_kubernetes: bool,
pub reset_deploy_config: bool,
pub reset_service_deploy: bool,
pub reset_history: bool,
pub reset_services: Vec<String>,
pub reset_env: Option<String>,
pub full_service_deploy: bool,
}Fields§
§target: Option<String>§env: Option<String>§to: Vec<String>Deploy destination(s). When omitted: all enabled deploy.destinations (multi-target),
or the single deploy.provider when destinations is empty.
plan: bool§run: bool§verify: bool§status: bool§promote: Option<String>§history: bool§revitalize: Option<String>Restore redacted runtime_env placeholders in a history JSON using xbp.app D1 secrets.
revitalize_out: Option<PathBuf>§revitalize_in_place: bool§redact_history: boolScan local deploy history, redact runtime_env secrets on disk, upload plaintexts to xbp.app.
repair_history: boolRebuild .xbp/deployments/index.json from attempt JSON files (fixes merge-conflict corruption).
engine_check: boolBuilt-in deploy-engine health: repair history, classify failures, optional sibling scan.
scan: boolWith –engine-check: also repair/list history under sibling repos that have .xbp/deployments.
dry_run: bool§skip_oci: bool§skip_build: bool§local_image: bool§push_image: bool§require_new_container_image: bool§no_bootstrap_workload: bool§doctor: bool§skip_doctor: bool§skip_apply: bool§skip_rollout: bool§skip_expose: bool§skip_health: bool§namespace: Option<String>§context: Option<String>§yes: bool§json: bool§output: Option<PathBuf>§limit: usize§only: Vec<String>Keep only these services from the resolved plan (repeatable or comma-separated).
exclude: Vec<String>Drop these services from the resolved plan (repeatable or comma-separated).
reset: boolReset deploy/kubernetes project settings instead of planning/running a deploy.
all: bool§reset_kubernetes: bool§reset_deploy_config: bool§reset_service_deploy: bool§reset_history: bool§reset_services: Vec<String>§reset_env: Option<String>§full_service_deploy: boolTrait Implementations§
Source§impl Args for DeployCmd
impl Args for DeployCmd
Source§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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for DeployCmd
impl FromArgMatches for DeployCmd
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for DeployCmd
impl RefUnwindSafe for DeployCmd
impl Send for DeployCmd
impl Sync for DeployCmd
impl Unpin for DeployCmd
impl UnsafeUnpin for DeployCmd
impl UnwindSafe for DeployCmd
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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