diff options
Diffstat (limited to 'controller-api/src')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java | 7 |
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); } |