class DefaultAgentManagementService implements AgentManagementService {

    @Override
    public ResourceDimension getResourceLimits(String instanceType) {
        return findResourceLimits(instanceType).orElseThrow(() -> AgentManagementException.instanceTypeNotFound(instanceType));
    }

    @Inject public  DefaultAgentManagementService(AgentManagementConfiguration configuration,
                                         @Named(KUBE_SCHEDULER_INSTANCE_GROUP_PREDICATE) Predicate<AgentInstanceGroup> kubeSchedulerInstanceGroupPredicate,
                                         InstanceCloudConnector instanceCloudConnector,
                                         AgentCache AgentCache,
                                         ServerInfoResolver serverInfoResolver,
                                         TitusRuntime titusRuntime);

}