txtx-core 0.4.17

Primitives for parsing, analyzing and executing Txtx runbooks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub struct Snapshot {
    pub name: String,
    pub state_transitions: Vec<StateTransition>,
}

pub struct StateTransition {
    pub id: u32,
}

// Step 1: Serialize the state of a Runbook Execution
// Step 2: Execute a runbook

// Todo:
// Serialize execution graph
// Load graph
// Introduce snapshot construct in .tx
// Ability to diff 2 graphs, and be smart about it