Interface RoleService
- All Known Implementing Classes:
MockRoleService,NoopRoleService
public interface RoleService
- Author:
- mortent
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanupRoles(List<com.yahoo.config.provision.TenantName> deletedTenants) createTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String awsId, String role) createTenantRole(Tenant tenant) voiddeleteTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String role) voiddeleteTenantRole(com.yahoo.config.provision.TenantName tenant) getTenantRole(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 Details
-
createTenantRole
-
getTenantRole
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
-
deleteTenantPolicy
-
maintainRoles
-
cleanupRoles
-