aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/RoleService.java
diff options
context:
space:
mode:
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/RoleService.java')
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/RoleService.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/RoleService.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/RoleService.java
deleted file mode 100644
index 5e53e659af2..00000000000
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/RoleService.java
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.vespa.hosted.controller.api.integration.aws;
-
-import com.yahoo.config.provision.TenantName;
-import com.yahoo.vespa.hosted.controller.tenant.Tenant;
-
-import java.util.List;
-import java.util.Optional;
-
-/**
- * @author mortent
- */
-public interface RoleService {
-
- Optional<TenantRoles> createTenantRole(Tenant tenant);
-
- /** Retrieve the names of the tenant roles (host and container). Does not guarantee these roles exist */
- TenantRoles getTenantRole(TenantName tenant);
-
- void deleteTenantRole(TenantName tenant);
-
- String createTenantPolicy(TenantName tenant, String policyName, String awsId, String role);
-
- void deleteTenantPolicy(TenantName tenant, String policyName, String role);
-
- /*
- * Maintain roles for the tenants in the system. Create missing roles, update trust.
- */
- double maintainRoles(List<TenantName> tenants);
-
- void cleanupRoles(List<TenantName> deletedTenants);
-}