[][src]Struct rusty_ci::buildsystem::Quiet

pub struct Quiet;

This struct is identical to the Bash buildsystem, except that it does not confirm anything with the user at all. This is meant to be used by scripts that automate the usage of rusty-ci.

Trait Implementations

impl BuildSystem for Quiet[src]

fn rebuild(&mut self, master: MasterConfig) -> Result<(), String>[src]

Rebuild master without killing any running processes

fn install(&mut self) -> Result<(), String>[src]

Writes install script to install.sh for user to run

fn stop(&mut self) -> Result<(), String>[src]

This kills the buildbot workers and all instances of python and python3

fn start(&mut self, workers: &[Worker]) -> Result<(), String>[src]

This starts the master and the workers

fn preinstall(&mut self) -> Result<(), String>[src]

Preinstall is called by the install method unless it is overloaded. This is usefult for printing a warning message or prompting the user before installing the dependencies for rusty-ci Read more

fn prebuild(&mut self) -> Result<(), String>[src]

This method is similar to preinstall, but it is called by the build method instead of the install method Read more

fn reconfigure_master(&mut self) -> Result<(), String>[src]

This method is used by the rebuild method to update the master without killing it

fn start_master(&mut self) -> Result<(), String>[src]

This method is used by the start method to spin up the master

fn start_workers(&mut self, workers: &[Worker]) -> Result<(), String>[src]

This method is used by the start method to spin up the workers

fn create_workers(&mut self, workers: &[Worker]) -> Result<(), String>[src]

Creates each worker in its proper directory

fn write_worker_configs(&mut self, workers: &[Worker]) -> Result<(), String>[src]

Writes the configuration buildbot.tac file for each worker

fn create_master(&mut self) -> Result<(), String>[src]

Creates the master in the master directory

fn write_master_config(&mut self, master: &MasterConfig) -> Result<(), String>[src]

Writes the master configuration file

impl Default for Quiet[src]

Auto Trait Implementations

impl Unpin for Quiet

impl Send for Quiet

impl Sync for Quiet

impl RefUnwindSafe for Quiet

impl UnwindSafe for Quiet

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,