pub struct DiscoveredDockerfile {
pub path: PathBuf,
pub build_context: String,
pub suggested_service_name: String,
pub suggested_port: Option<u16>,
pub base_image: Option<String>,
pub is_multistage: bool,
pub environment: Option<String>,
}Expand description
Dockerfile discovery result for deployment wizard
Provides deployment-focused metadata about a Dockerfile including build context path, suggested service name, and port configuration.
Fields§
§path: PathBufAbsolute path to the Dockerfile
build_context: StringRelative path from project root to Dockerfile directory (build context)
suggested_service_name: StringSuggested service name based on directory structure
suggested_port: Option<u16>Suggested port for deployment (from EXPOSE or default)
base_image: Option<String>Base image from Dockerfile
is_multistage: boolWhether this is a multi-stage build
environment: Option<String>Environment type (dev, prod, staging) from filename
Trait Implementations§
Source§impl Clone for DiscoveredDockerfile
impl Clone for DiscoveredDockerfile
Source§fn clone(&self) -> DiscoveredDockerfile
fn clone(&self) -> DiscoveredDockerfile
Returns a duplicate of the value. Read more
1.0.0 · 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 DiscoveredDockerfile
impl Debug for DiscoveredDockerfile
Source§impl<'de> Deserialize<'de> for DiscoveredDockerfile
impl<'de> Deserialize<'de> for DiscoveredDockerfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DiscoveredDockerfile
impl PartialEq for DiscoveredDockerfile
Source§impl Serialize for DiscoveredDockerfile
impl Serialize for DiscoveredDockerfile
impl StructuralPartialEq for DiscoveredDockerfile
Auto Trait Implementations§
impl Freeze for DiscoveredDockerfile
impl RefUnwindSafe for DiscoveredDockerfile
impl Send for DiscoveredDockerfile
impl Sync for DiscoveredDockerfile
impl Unpin for DiscoveredDockerfile
impl UnwindSafe for DiscoveredDockerfile
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> 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> 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 moreCreates a shared type from an unshared type.