Interface RoleService
-
- All Known Implementing Classes:
MockRoleService,NoopRoleService
public interface RoleService- Author:
- mortent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String awsId, String role)Optional<TenantRoles>createTenantRole(Tenant tenant)voiddeleteTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String role)voiddeleteTenantRole(com.yahoo.config.provision.TenantName tenant)TenantRolesgetTenantRole(com.yahoo.config.provision.TenantName tenant)Retrieve the names of the tenant roles (host and container).voidmaintainRoles(List<com.yahoo.config.provision.TenantName> tenants)
-
-
-
Method Detail
-
createTenantRole
Optional<TenantRoles> createTenantRole(Tenant tenant)
-
getTenantRole
TenantRoles getTenantRole(com.yahoo.config.provision.TenantName tenant)
Retrieve the names of the tenant roles (host and container). Does not guarantee these roles exist
-
deleteTenantRole
void deleteTenantRole(com.yahoo.config.provision.TenantName tenant)
-
createTenantPolicy
String createTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String awsId, String role)
-
deleteTenantPolicy
void deleteTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String role)
-
maintainRoles
void maintainRoles(List<com.yahoo.config.provision.TenantName> tenants)
-
-