pub struct DeploymentProviderPlan { /* private fields */ }Expand description
Immutable provider selections extracted from a deployment manifest.
Implementations§
Source§impl DeploymentProviderPlan
impl DeploymentProviderPlan
Sourcepub fn from_manifest(manifest: &DeploymentManifestV1) -> Self
pub fn from_manifest(manifest: &DeploymentManifestV1) -> Self
Extracts all provider ownership from a validated deployment manifest.
Sourcepub fn context(&self) -> &ProviderContext
pub fn context(&self) -> &ProviderContext
Returns common factory context.
Sourcepub fn storage(&self) -> &ProviderConfig
pub fn storage(&self) -> &ProviderConfig
Returns the selected storage provider.
Sourcepub fn control_plane(&self) -> Option<&ProviderConfig>
pub fn control_plane(&self) -> Option<&ProviderConfig>
Returns the selected control-plane provider.
Sourcepub fn coordination_store(&self) -> Option<&ProviderConfig>
pub fn coordination_store(&self) -> Option<&ProviderConfig>
Returns the selected coordination-store provider.
Sourcepub fn secret_provider(&self) -> Option<&ProviderConfig>
pub fn secret_provider(&self) -> Option<&ProviderConfig>
Returns the selected installation secret provider.
Sourcepub fn job_provider(&self) -> Option<&ProviderConfig>
pub fn job_provider(&self) -> Option<&ProviderConfig>
Returns the selected durable job provider.
Sourcepub fn peer_discovery(&self) -> Option<&ProviderConfig>
pub fn peer_discovery(&self) -> Option<&ProviderConfig>
Returns the selected peer-discovery provider.
Sourcepub fn update(&self) -> Option<&ProviderConfig>
pub fn update(&self) -> Option<&ProviderConfig>
Returns the selected update provider.
Sourcepub fn database(&self) -> Option<&ProviderConfig>
pub fn database(&self) -> Option<&ProviderConfig>
Returns the selected application database provider.
Sourcepub fn peer_transport(&self) -> &ProviderId
pub fn peer_transport(&self) -> &ProviderId
Returns the direct peer transport provider identity.
Sourcepub fn command_transport(&self) -> &ProviderId
pub fn command_transport(&self) -> &ProviderId
Returns the command transport provider identity.
Sourcepub fn adapters(&self) -> &BTreeMap<String, ProviderConfig>
pub fn adapters(&self) -> &BTreeMap<String, ProviderConfig>
Returns named installation adapters.
Trait Implementations§
Source§impl Clone for DeploymentProviderPlan
impl Clone for DeploymentProviderPlan
Source§fn clone(&self) -> DeploymentProviderPlan
fn clone(&self) -> DeploymentProviderPlan
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 DeploymentProviderPlan
impl Debug for DeploymentProviderPlan
impl Eq for DeploymentProviderPlan
Source§impl PartialEq for DeploymentProviderPlan
impl PartialEq for DeploymentProviderPlan
impl StructuralPartialEq for DeploymentProviderPlan
Auto Trait Implementations§
impl Freeze for DeploymentProviderPlan
impl RefUnwindSafe for DeploymentProviderPlan
impl Send for DeploymentProviderPlan
impl Sync for DeploymentProviderPlan
impl Unpin for DeploymentProviderPlan
impl UnsafeUnpin for DeploymentProviderPlan
impl UnwindSafe for DeploymentProviderPlan
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