summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-api
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-compute/opendc-compute-api')
-rw-r--r--opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt b/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt
index a54a0130..a15191c6 100644
--- a/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt
+++ b/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt
@@ -41,4 +41,19 @@ public interface Flavor : Resource {
* The amount of gpu cores available to the task.
*/
public val gpuCoreCount: Int
+
+ /**
+ * Set of Tasks that need to be finished before this can startAdd commentMore actions
+ */
+ public val dependencies: Set<String>
+
+ /**
+ * Set of Tasks that need to be finished before this can startAdd commentMore actions
+ */
+ public val parents: Set<String>
+
+ /**
+ * Set of Tasks that need to be finished before this can startAdd commentMore actions
+ */
+ public val children: Set<String>
}