pub struct OciBundlePreparationContext { /* private fields */ }Expand description
Stable runtime identities and negotiated capabilities available to product preparation.
Implementations§
Source§impl OciBundlePreparationContext
impl OciBundlePreparationContext
Sourcepub fn runtime_container_id(&self) -> &ContainerId
pub fn runtime_container_id(&self) -> &ContainerId
Exact runtime container identity derived from the Box execution identity.
Sourcepub fn create_context(&self) -> &OperationContext
pub fn create_context(&self) -> &OperationContext
Exact create operation context that will be sent to OCI Runtime.
Sourcepub fn isolation(&self) -> &IsolationRequest
pub fn isolation(&self) -> &IsolationRequest
Minimum isolation requested from OCI Runtime.
Sourcepub fn attachment_capabilities(&self) -> &AttachmentCapabilities
pub fn attachment_capabilities(&self) -> &AttachmentCapabilities
Attachment extensions advertised by the connected runtime service.
Sourcepub fn runtime_bundle_handoff_directory(
&self,
runtime_root: impl AsRef<Path>,
) -> ExecutionManagerResult<PathBuf>
pub fn runtime_bundle_handoff_directory( &self, runtime_root: impl AsRef<Path>, ) -> ExecutionManagerResult<PathBuf>
Resolve the only operation-scoped directory accepted for bundle ownership handoff.
Sourcepub fn validate_runtime_bundle_handoff_directory(
&self,
directory: &Path,
) -> ExecutionManagerResult<()>
pub fn validate_runtime_bundle_handoff_directory( &self, directory: &Path, ) -> ExecutionManagerResult<()>
Verify that a claimed handoff directory has the exact negotiated suffix.
Trait Implementations§
Source§impl Clone for OciBundlePreparationContext
impl Clone for OciBundlePreparationContext
Source§fn clone(&self) -> OciBundlePreparationContext
fn clone(&self) -> OciBundlePreparationContext
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 moreAuto Trait Implementations§
impl Freeze for OciBundlePreparationContext
impl RefUnwindSafe for OciBundlePreparationContext
impl Send for OciBundlePreparationContext
impl Sync for OciBundlePreparationContext
impl Unpin for OciBundlePreparationContext
impl UnsafeUnpin for OciBundlePreparationContext
impl UnwindSafe for OciBundlePreparationContext
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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