Add an option to control streaming logs

This commit is contained in:
Graham Christensen 2018-01-14 15:13:36 -05:00
parent c6e629b4ae
commit 2e5ab9dd1e
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -14,12 +14,18 @@ use ofborg::acl;
#[derive(Serialize, Deserialize, Debug)] #[derive(Serialize, Deserialize, Debug)]
pub struct Config { pub struct Config {
pub runner: RunnerConfig, pub runner: RunnerConfig,
pub feedback: FeedbackConfig,
pub checkout: CheckoutConfig, pub checkout: CheckoutConfig,
pub nix: NixConfig, pub nix: NixConfig,
pub rabbitmq: RabbitMQConfig, pub rabbitmq: RabbitMQConfig,
pub github: Option<GithubConfig>, pub github: Option<GithubConfig>,
} }
#[derive(Serialize, Deserialize, Debug)]
pub struct FeedbackConfig {
pub full_logs: bool,
}
#[derive(Serialize, Deserialize, Debug)] #[derive(Serialize, Deserialize, Debug)]
pub struct RabbitMQConfig { pub struct RabbitMQConfig {
pub ssl: bool, pub ssl: bool,