Shorten executor kubernetes objects name (#975)

This commit is contained in:
Ta-Ching Chen
2018-11-24 20:41:38 +08:00
committed by GitHub
parent 82af0e554a
commit 4b5ab0ad93
4 changed files with 41 additions and 22 deletions
+11
View File
@@ -123,6 +123,17 @@ const (
AllowedFunctionsPerContainerInfinite = fv1.AllowedFunctionsPerContainerInfinite
)
// executor kubernetes object label key
const (
ENVIRONMENT_NAMESPACE = "environmentNamespace"
ENVIRONMENT_NAME = "environmentName"
ENVIRONMENT_UID = "environmentUid"
FUNCTION_NAMESPACE = "functionNamespace"
FUNCTION_NAME = "functionName"
FUNCTION_UID = "functionUid"
EXECUTOR_TYPE = "executorType"
)
const (
ExecutorTypePoolmgr = fv1.ExecutorTypePoolmgr
ExecutorTypeNewdeploy = fv1.ExecutorTypeNewdeploy