Struct continuous::continuous::Encore
source · pub struct Encore { /* private fields */ }Expand description
Implementations§
source§impl Encore
impl Encore
sourcepub fn set_directory(&mut self, dir: String) -> &mut Encore
pub fn set_directory(&mut self, dir: String) -> &mut Encore
Set the dirname to store Vagrantfile and bootstrap.sh files
dirThe dirname
sourcepub fn set_before_script(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_before_script(&mut self, commands: Vec<String>) -> &mut Encore
Set the dirname to store Vagrantfile and bootstrap.sh files
dirThe dirname
pub fn set_after_script(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_badges_output(&mut self, output: String) -> &mut Encore
pub fn set_badges_style(&mut self, style: String) -> &mut Encore
pub fn set_script(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_install(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_before_install(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_after_install(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_after_success(&mut self, commands: Vec<String>) -> &mut Encore
pub fn set_after_failure(&mut self, commands: Vec<String>) -> &mut Encore
sourcepub fn get_directory(self) -> String
pub fn get_directory(self) -> String
sourcepub fn set_os(&mut self, os: String) -> &mut Encore
pub fn set_os(&mut self, os: String) -> &mut Encore
Set the os to install inside the vm
osThe os box to use
sourcepub fn set_memory(&mut self, memory: i32) -> &mut Encore
pub fn set_memory(&mut self, memory: i32) -> &mut Encore
Set the memory to use from the host
memoryThe host memory to use
sourcepub fn get_memory(self) -> i32
pub fn get_memory(self) -> i32
sourcepub fn set_cpus(&mut self, cpus: i32) -> &mut Encore
pub fn set_cpus(&mut self, cpus: i32) -> &mut Encore
Set the all cpus used by the host to run the test
cpusThe host cpus to use
pub fn get_file(self) -> String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Encore
impl Send for Encore
impl Sync for Encore
impl Unpin for Encore
impl UnwindSafe for Encore
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