summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@yahooinc.com>2022-12-09 15:58:11 +0100
committerValerij Fredriksen <valerijf@yahooinc.com>2022-12-09 15:58:11 +0100
commitf55c54ef2386fea0e8caaec31af05dcfe7f50059 (patch)
tree6e0de067a4f2a75eb8e2ecc0dda3f31749f2ed8c /controller-api
parentdf9f99d063883b95850699facc962f206fa671bf (diff)
Propagate success factor
Diffstat (limited to 'controller-api')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java
index 52e8ba5adf8..9ce2ae0a6fc 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java
@@ -9,7 +9,10 @@ import java.util.Set;
*/
public interface EnclaveAccessService {
- /** Ensures the given enclave accounts have access to resources they require to function. */
- void allowAccessFor(Set<CloudAccount> accounts);
+ /**
+ * Ensures the given enclave accounts have access to resources they require to function.
+ * @return the degree to which the run was successful - a number between 0 (no success), to 1 (complete success)
+ */
+ double allowAccessFor(Set<CloudAccount> accounts);
}