From 78953056c1732f0a619a1e1d6dfabf6c68b7c9d2 Mon Sep 17 00:00:00 2001 From: Peter Bacsko Date: Tue, 24 Sep 2024 13:37:36 +0200 Subject: [PATCH] [YUNIKORN-2833] [SI] Add new constants --- lib/go/common/constants.go | 5 ++++- scheduler-interface-spec.md | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/go/common/constants.go b/lib/go/common/constants.go index ccd8e38..c732005 100644 --- a/lib/go/common/constants.go +++ b/lib/go/common/constants.go @@ -54,7 +54,10 @@ const ( KeyRequiredNode = "requiredNode" // Pods - CreationTime = "creationTime" + CreationTime = "creationTime" + Foreign = "foreign" + AllocTypeStatic = "static" + AllocTypeDefault = "default" ) // Constants for Core and Shim diff --git a/scheduler-interface-spec.md b/scheduler-interface-spec.md index 2a77f20..ee87236 100644 --- a/scheduler-interface-spec.md +++ b/scheduler-interface-spec.md @@ -682,7 +682,10 @@ const ( KeyRequiredNode = "requiredNode" // Pods - CreationTime = "creationTime" + CreationTime = "creationTime" + Foreign = "foreign" + AllocTypeStatic = "static" + AllocTypeDefault = "default" ) ```