pub struct EvgTaskGroup {
pub name: String,
pub tasks: Vec<String>,
pub max_hosts: Option<u16>,
pub share_processes: Option<bool>,
pub setup_group_can_fail_task: Option<bool>,
pub setup_group_timeout_secs: Option<TimeoutValue>,
pub setup_group: Option<Vec<EvgCommand>>,
pub teardown_group: Option<Vec<EvgCommand>>,
pub setup_task: Option<Vec<EvgCommand>>,
pub teardown_task: Option<Vec<EvgCommand>>,
pub timeout: Option<Vec<EvgCommand>>,
pub tags: Option<Vec<String>>,
}Expand description
A group of tasks related tasks that can share hosts.
Fields§
§name: StringName of task group.
tasks: Vec<String>Ordered list of tasks to include in group.
max_hosts: Option<u16>Number of hosts to spread group accross. Defaults to 1, can be between 1 and 10.
Don’t cleanup between task runs.
setup_group_can_fail_task: Option<bool>Setup group failures will trigger failures.
setup_group_timeout_secs: Option<TimeoutValue>Time to wait until setup will trigger a failure.
setup_group: Option<Vec<EvgCommand>>Commands to run prior to running task group.
teardown_group: Option<Vec<EvgCommand>>Commands to run after running task group.
setup_task: Option<Vec<EvgCommand>>Commands to run before each task.
teardown_task: Option<Vec<EvgCommand>>Commands to run after each task.
timeout: Option<Vec<EvgCommand>>Commands to run in case of timeout.
Task tags for this task group.
Trait Implementations§
Source§impl Clone for EvgTaskGroup
impl Clone for EvgTaskGroup
Source§fn clone(&self) -> EvgTaskGroup
fn clone(&self) -> EvgTaskGroup
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 moreSource§impl Debug for EvgTaskGroup
impl Debug for EvgTaskGroup
Source§impl<'de> Deserialize<'de> for EvgTaskGroup
impl<'de> Deserialize<'de> for EvgTaskGroup
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
Auto Trait Implementations§
impl Freeze for EvgTaskGroup
impl RefUnwindSafe for EvgTaskGroup
impl Send for EvgTaskGroup
impl Sync for EvgTaskGroup
impl Unpin for EvgTaskGroup
impl UnwindSafe for EvgTaskGroup
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