aboutsummaryrefslogtreecommitdiffstats
path: root/orchestrator
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahooinc.com>2022-07-08 16:30:58 +0200
committerHåkon Hallingstad <hakon@yahooinc.com>2022-07-08 16:30:58 +0200
commit8a78fab63f304bf9f2a170cc62304de9af09fe85 (patch)
treeb256a74bf7be07467eb43c3368062a8e2c3f0026 /orchestrator
parentb03ec015cb4e778f8070385dd17c19be23fb41cd (diff)
Add ContentService
Diffstat (limited to 'orchestrator')
-rw-r--r--orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ContentService.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ContentService.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ContentService.java
new file mode 100644
index 00000000000..aca3c6af7d2
--- /dev/null
+++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ContentService.java
@@ -0,0 +1,13 @@
+package com.yahoo.vespa.orchestrator.model;
+
+public enum ContentService {
+ DISTRIBUTOR("distributor"), STORAGE_NODE("storage");
+
+ private final String nameInClusterController;
+
+ ContentService(String nameInClusterController) {
+ this.nameInClusterController = nameInClusterController;
+ }
+
+ public String nameInClusterController() { return nameInClusterController; }
+}