pub struct ProjectService { /* private fields */ }Expand description
One selected service with the native fields needed by the first conversion boundary.
Implementations§
Source§impl ProjectService
impl ProjectService
Sourcepub const fn name(&self) -> &ProjectKey
pub const fn name(&self) -> &ProjectKey
Returns the service name and all contributing key spans.
Sourcepub const fn provenance(&self) -> &MergeProvenance
pub const fn provenance(&self) -> &MergeProvenance
Returns provenance for the complete effective service mapping.
Sourcepub const fn image(&self) -> Option<&ProjectValue<ImageReference>>
pub const fn image(&self) -> Option<&ProjectValue<ImageReference>>
Returns the effective image reference.
Sourcepub const fn command(&self) -> Option<&ProjectValue<Command>>
pub const fn command(&self) -> Option<&ProjectValue<Command>>
Returns the effective command without normalizing scalar and list forms.
Sourcepub const fn environment(&self) -> Option<&ProjectValue<ProjectEnvironment>>
pub const fn environment(&self) -> Option<&ProjectValue<ProjectEnvironment>>
Returns environment entries normalized by key with per-entry syntax retained.
Sourcepub const fn extra_hosts(&self) -> Option<&ProjectValue<ProjectExtraHosts>>
pub const fn extra_hosts(&self) -> Option<&ProjectValue<ProjectExtraHosts>>
Returns effective service host mappings with per-entry provenance and syntax.
Sourcepub const fn user(&self) -> Option<&ProjectValue<UserSpec>>
pub const fn user(&self) -> Option<&ProjectValue<UserSpec>>
Returns the effective container user and optional group spelling.
Sourcepub const fn userns_mode(&self) -> Option<&ProjectValue<UserNamespaceMode>>
pub const fn userns_mode(&self) -> Option<&ProjectValue<UserNamespaceMode>>
Returns the effective user-namespace mode.
Sourcepub const fn group_add(
&self,
) -> Option<&ProjectValue<Vec<ProjectValue<String>>>>
pub const fn group_add( &self, ) -> Option<&ProjectValue<Vec<ProjectValue<String>>>>
Returns supplementary groups in effective merge order.
Sourcepub const fn working_dir(&self) -> Option<&ProjectValue<String>>
pub const fn working_dir(&self) -> Option<&ProjectValue<String>>
Returns the effective container working-directory override.
Sourcepub const fn read_only(&self) -> Option<&ProjectValue<BooleanValue>>
pub const fn read_only(&self) -> Option<&ProjectValue<BooleanValue>>
Returns the effective read-only root-filesystem choice.
Sourcepub const fn healthcheck(&self) -> Option<&ProjectValue<ProjectHealthcheck>>
pub const fn healthcheck(&self) -> Option<&ProjectValue<ProjectHealthcheck>>
Returns the effective health check with per-field merge provenance.
Sourcepub const fn depends_on(&self) -> Option<&ProjectValue<ProjectDependsOn>>
pub const fn depends_on(&self) -> Option<&ProjectValue<ProjectDependsOn>>
Returns effective service dependencies with authored form and field-level provenance.
Sourcepub const fn ports(&self) -> Option<&ProjectValue<Vec<ProjectValue<Port>>>>
pub const fn ports(&self) -> Option<&ProjectValue<Vec<ProjectValue<Port>>>>
Returns the effective port collection and per-item provenance.
Sourcepub const fn volumes(
&self,
) -> Option<&ProjectValue<Vec<ProjectValue<VolumeMount>>>>
pub const fn volumes( &self, ) -> Option<&ProjectValue<Vec<ProjectValue<VolumeMount>>>>
Returns the effective volume-mount collection and per-item provenance.
Sourcepub const fn networks(&self) -> Option<&ProjectValue<ServiceNetworks>>
pub const fn networks(&self) -> Option<&ProjectValue<ServiceNetworks>>
Returns effective network attachments with short and long forms retained.
Sourcepub const fn profiles(&self) -> Option<&ProjectValue<Vec<ProjectValue<String>>>>
pub const fn profiles(&self) -> Option<&ProjectValue<Vec<ProjectValue<String>>>>
Returns effective profile names and their individual provenance.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns fields retained outside this initial native project-view boundary.
Trait Implementations§
Source§impl Clone for ProjectService
impl Clone for ProjectService
Source§fn clone(&self) -> ProjectService
fn clone(&self) -> ProjectService
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more