aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@yahooinc.com>2023-03-03 12:06:50 +0100
committerValerij Fredriksen <valerijf@yahooinc.com>2023-03-03 12:06:50 +0100
commit5d9e4fc35ac6cd3ee819d772db36a6cf4fa79caa (patch)
treef206fcc50c2aca8513629f316e75faf5b89712ea /controller-api
parent0636b9fc89039f6f663f6a73ea02b05daffdc452 (diff)
Get cloud account from deployment
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
index 70eaca5ce7e..4956dd475de 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java
@@ -38,6 +38,9 @@ public interface ZoneRegistry {
/** Returns whether cloudAccount in this system supports given zone */
boolean hasZone(ZoneId zoneId, CloudAccount cloudAccount);
+ /** Returns whether the given cloud account is an enclave */
+ boolean isEnclave(CloudAccount cloudAccount);
+
/** Returns a list containing the id of all zones in this registry */
ZoneFilter zones();