pub struct ServicePlan {Show 18 fields
pub name: String,
pub provider: String,
pub destination: Option<String>,
pub root_directory: Option<String>,
pub version: String,
pub image: Option<OciRef>,
pub image_ref: Option<String>,
pub digest: Option<String>,
pub dockerfile: Option<String>,
pub build_context: Option<String>,
pub platforms: Vec<String>,
pub worker_app: Option<String>,
pub rollout: Option<String>,
pub runtime_env: BTreeMap<String, String>,
pub container_port: Option<u16>,
pub config_mounts: Vec<ConfigFileMount>,
pub expose: Option<ServiceExposeView>,
pub deploy: ServiceDeployPlan,
}Fields§
§name: String§provider: String§destination: Option<String>User-facing destination (cloudflare, kubernetes, railway, …).
root_directory: Option<String>Service root relative to project (for docker build context).
version: String§image: Option<OciRef>§image_ref: Option<String>§digest: Option<String>§dockerfile: Option<String>When set, runner builds/pushes this Dockerfile before apply (unless skip_build).
build_context: Option<String>Docker build context path (relative).
platforms: Vec<String>§worker_app: Option<String>Cloudflare worker app when provider is CF-backed.
rollout: Option<String>Cloudflare containers rollout hint.
runtime_env: BTreeMap<String, String>Resolved runtime env for bootstrap / apply (secrets redacted in plan print).
container_port: Option<u16>Container listen port used by bootstrap Service/Deployment.
config_mounts: Vec<ConfigFileMount>Config files to mount (absolute source path + container mount path).
expose: Option<ServiceExposeView>Public port / local port-forward / DNS after apply.
deploy: ServiceDeployPlanTrait Implementations§
Source§impl Clone for ServicePlan
impl Clone for ServicePlan
Source§fn clone(&self) -> ServicePlan
fn clone(&self) -> ServicePlan
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 ServicePlan
impl Debug for ServicePlan
Source§impl<'de> Deserialize<'de> for ServicePlan
impl<'de> Deserialize<'de> for ServicePlan
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 ServicePlan
impl RefUnwindSafe for ServicePlan
impl Send for ServicePlan
impl Sync for ServicePlan
impl Unpin for ServicePlan
impl UnsafeUnpin for ServicePlan
impl UnwindSafe for ServicePlan
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