pub struct OciPreparedExecution {
pub bundle: OciBundle,
pub attachments: CreateAttachments,
pub console_log: PathBuf,
pub anonymous_volumes: Vec<String>,
}Expand description
Product-owned OCI bundle and host bookkeeping required before lifecycle launch.
Fields§
§bundle: OciBundle§attachments: CreateAttachments§console_log: PathBuf§anonymous_volumes: Vec<String>Implementations§
Source§impl OciPreparedExecution
impl OciPreparedExecution
Sourcepub fn new(
bundle: OciBundle,
console_log: impl Into<PathBuf>,
) -> ExecutionManagerResult<Self>
pub fn new( bundle: OciBundle, console_log: impl Into<PathBuf>, ) -> ExecutionManagerResult<Self>
Build a non-interactive prepared execution with a caller-owned console.
Sourcepub fn with_attachments(
bundle: OciBundle,
attachments: CreateAttachments,
console_log: impl Into<PathBuf>,
) -> ExecutionManagerResult<Self>
pub fn with_attachments( bundle: OciBundle, attachments: CreateAttachments, console_log: impl Into<PathBuf>, ) -> ExecutionManagerResult<Self>
Build a prepared execution with explicit, already-authorized classifications.
Sourcepub fn with_runtime_bundle_handoff(
self,
context: &OciBundlePreparationContext,
runtime_root: impl AsRef<Path>,
) -> ExecutionManagerResult<Self>
pub fn with_runtime_bundle_handoff( self, context: &OciBundlePreparationContext, runtime_root: impl AsRef<Path>, ) -> ExecutionManagerResult<Self>
Bind a portable bundle prepared at the negotiated operation-scoped handoff path.
Trait Implementations§
Source§impl Clone for OciPreparedExecution
impl Clone for OciPreparedExecution
Source§fn clone(&self) -> OciPreparedExecution
fn clone(&self) -> OciPreparedExecution
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 OciPreparedExecution
impl RefUnwindSafe for OciPreparedExecution
impl Send for OciPreparedExecution
impl Sync for OciPreparedExecution
impl Unpin for OciPreparedExecution
impl UnsafeUnpin for OciPreparedExecution
impl UnwindSafe for OciPreparedExecution
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