pub struct BuildRequestWithContext {
pub context_path: String,
pub runtime: Option<String>,
pub build_args: HashMap<String, String>,
pub target: Option<String>,
pub tags: Vec<String>,
pub no_cache: bool,
pub push: bool,
}Expand description
Build request with server-side context path
Fields§
§context_path: StringPath to the build context on the server
runtime: Option<String>Use runtime template instead of Dockerfile
build_args: HashMap<String, String>Build arguments
target: Option<String>Target stage
Tags to apply
no_cache: boolDisable cache
push: boolPush after build
Trait Implementations§
Source§impl ComposeSchema for BuildRequestWithContext
impl ComposeSchema for BuildRequestWithContext
Source§impl Debug for BuildRequestWithContext
impl Debug for BuildRequestWithContext
Source§impl<'de> Deserialize<'de> for BuildRequestWithContext
impl<'de> Deserialize<'de> for BuildRequestWithContext
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 From<BuildRequestWithContext> for BuildRequest
impl From<BuildRequestWithContext> for BuildRequest
Source§fn from(req: BuildRequestWithContext) -> Self
fn from(req: BuildRequestWithContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildRequestWithContext
impl RefUnwindSafe for BuildRequestWithContext
impl Send for BuildRequestWithContext
impl Sync for BuildRequestWithContext
impl Unpin for BuildRequestWithContext
impl UnsafeUnpin for BuildRequestWithContext
impl UnwindSafe for BuildRequestWithContext
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