pub struct MillstoneConfig {
pub image: String,
pub binary_path: Option<String>,
pub config_path: PathBuf,
}Expand description
Millstone configuration.
Fields§
§image: StringContainer image to use.
This must be a valid image reference – millstone:x.y.z, registry.ddbuild.io/saluki/millstone:x.y.z, etc –
to an image containing the millstone binary.
binary_path: Option<String>Path to the millstone binary.
Defaults to /usr/local/bin/millstone.
config_path: PathBufPath to the millstone configuration file to use.
This file is mapped into the millstone container and so it must exist on the system where this command is run from.
Trait Implementations§
Source§impl Clone for MillstoneConfig
impl Clone for MillstoneConfig
Source§fn clone(&self) -> MillstoneConfig
fn clone(&self) -> MillstoneConfig
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 moreAuto Trait Implementations§
impl Freeze for MillstoneConfig
impl RefUnwindSafe for MillstoneConfig
impl Send for MillstoneConfig
impl Sync for MillstoneConfig
impl Unpin for MillstoneConfig
impl UnwindSafe for MillstoneConfig
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