Class NoopRoleService
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.aws.NoopRoleService
- All Implemented Interfaces:
RoleService
- Direct Known Subclasses:
MockRoleService
- Author:
- mortent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanupRoles(List<com.yahoo.config.provision.TenantName> tenants) 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)
-
Constructor Details
-
NoopRoleService
public NoopRoleService()
-
-
Method Details
-
createTenantRole
- Specified by:
createTenantRolein interfaceRoleService
-
getTenantRole
Description copied from interface:RoleServiceRetrieve the names of the tenant roles (host and container). Does not guarantee these roles exist- Specified by:
getTenantRolein interfaceRoleService
-
deleteTenantRole
public void deleteTenantRole(com.yahoo.config.provision.TenantName tenant) - Specified by:
deleteTenantRolein interfaceRoleService
-
createTenantPolicy
public String createTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String awsId, String role) - Specified by:
createTenantPolicyin interfaceRoleService
-
deleteTenantPolicy
public void deleteTenantPolicy(com.yahoo.config.provision.TenantName tenant, String policyName, String role) - Specified by:
deleteTenantPolicyin interfaceRoleService
-
maintainRoles
- Specified by:
maintainRolesin interfaceRoleService
-
cleanupRoles
- Specified by:
cleanupRolesin interfaceRoleService
-