summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-api/src/main/kotlin/org
diff options
context:
space:
mode:
authorDante Niewenhuis <d.niewenhuis@hotmail.com>2025-07-16 16:56:28 +0200
committerGitHub <noreply@github.com>2025-07-16 16:56:28 +0200
commit0c0cf25616771cd40a9e401edcba4a5e5016f76e (patch)
tree90fa673939a6c4c53900a6aa6eef073ad2957e34 /opendc-compute/opendc-compute-api/src/main/kotlin/org
parent089c449762950b4322c04f73ef7fe0e10af615df (diff)
Added Workflows (#359)
* Implemented Workflows for OpenDC
Diffstat (limited to 'opendc-compute/opendc-compute-api/src/main/kotlin/org')
-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>
}