pub struct ServiceDeployView {
pub provider: String,
pub worker: Option<String>,
pub rollout: Option<String>,
pub destinations: HashMap<String, ServiceDeployDestinationView>,
pub envs: HashMap<String, ServiceDeployEnvView>,
}Fields§
§provider: StringDefault provider when --to is omitted and destinations is empty.
When destinations lists multiple targets, the default is every enabled
destination (multi-target), not this single provider alone.
worker: Option<String>Optional Cloudflare worker app name (workers[].name). When unset,
Cloudflare deploy uses the service name.
rollout: Option<String>Optional containers rollout for Cloudflare (immediate | gradual).
destinations: HashMap<String, ServiceDeployDestinationView>Named deploy destinations for this service (cloudflare, kubernetes, railway, …).
When non-empty, xbp deploy <svc> --run (no --to) deploys all enabled
destinations. Narrow with --to cloudflare / --to kubernetes, or force
expansion with --to all.
Keys are destination ids; values override provider/worker/rollout.
envs: HashMap<String, ServiceDeployEnvView>Trait Implementations§
Source§impl Clone for ServiceDeployView
impl Clone for ServiceDeployView
Source§fn clone(&self) -> ServiceDeployView
fn clone(&self) -> ServiceDeployView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceDeployView
impl Debug for ServiceDeployView
Source§impl<'de> Deserialize<'de> for ServiceDeployView
impl<'de> Deserialize<'de> for ServiceDeployView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceDeployView
impl RefUnwindSafe for ServiceDeployView
impl Send for ServiceDeployView
impl Sync for ServiceDeployView
impl Unpin for ServiceDeployView
impl UnsafeUnpin for ServiceDeployView
impl UnwindSafe for ServiceDeployView
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