Struct tvix_build::buildservice::oci::OCIBuildService
source · pub struct OCIBuildService<BS, DS> {
bundle_root: PathBuf,
uid_mappings: Vec<LinuxIdMapping>,
gid_mappings: Vec<LinuxIdMapping>,
blob_service: BS,
directory_service: DS,
concurrent_builds: Semaphore,
}
Fields§
§bundle_root: PathBuf
Root path in which all bundles are created in
uid_mappings: Vec<LinuxIdMapping>
uid mappings to set up for the workloads
gid_mappings: Vec<LinuxIdMapping>
uid mappings to set up for the workloads
blob_service: BS
Handle to a BlobService, used by filesystems spawned during builds.
directory_service: DS
Handle to a DirectoryService, used by filesystems spawned during builds.
concurrent_builds: Semaphore
Implementations§
Trait Implementations§
source§impl<BS, DS> BuildService for OCIBuildService<BS, DS>
impl<BS, DS> BuildService for OCIBuildService<BS, DS>
Auto Trait Implementations§
impl<BS, DS> !Freeze for OCIBuildService<BS, DS>
impl<BS, DS> RefUnwindSafe for OCIBuildService<BS, DS>where
BS: RefUnwindSafe,
DS: RefUnwindSafe,
impl<BS, DS> Send for OCIBuildService<BS, DS>
impl<BS, DS> Sync for OCIBuildService<BS, DS>
impl<BS, DS> Unpin for OCIBuildService<BS, DS>
impl<BS, DS> UnwindSafe for OCIBuildService<BS, DS>where
BS: UnwindSafe,
DS: UnwindSafe,
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
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request