pub struct DeployPlan {
pub target: DeployTarget,
pub env: String,
pub project: String,
pub project_version: String,
pub git_sha: Option<String>,
pub services: Vec<ServicePlan>,
pub order: Vec<String>,
pub oci_plan: OciPlan,
pub k8s_plan: K8sPlanView,
pub hash: String,
}Fields§
§target: DeployTarget§env: String§project: String§project_version: String§git_sha: Option<String>§services: Vec<ServicePlan>§order: Vec<String>Final apply order (service names).
oci_plan: OciPlan§k8s_plan: K8sPlanView§hash: StringDeterministic hash of the plan content (excluding generated_at).
Implementations§
Source§impl DeployPlan
impl DeployPlan
pub fn render_human(&self) -> String
pub fn to_k8s_plan(&self) -> K8sPlan
Trait Implementations§
Source§impl Clone for DeployPlan
impl Clone for DeployPlan
Source§fn clone(&self) -> DeployPlan
fn clone(&self) -> DeployPlan
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 DeployPlan
impl Debug for DeployPlan
Source§impl<'de> Deserialize<'de> for DeployPlan
impl<'de> Deserialize<'de> for DeployPlan
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 DeployPlan
impl RefUnwindSafe for DeployPlan
impl Send for DeployPlan
impl Sync for DeployPlan
impl Unpin for DeployPlan
impl UnsafeUnpin for DeployPlan
impl UnwindSafe for DeployPlan
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