aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/pricing/PricingController.java
blob: d8186f17796fb13a5f3bf374a3daea7892680992 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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.pricing;

import com.yahoo.config.provision.ClusterResources;
import com.yahoo.vespa.hosted.controller.api.integration.billing.Plan;

import java.util.List;

/**
 * A service that calculates price information based on cluster resources, plan, service level etc.
 *
 * @author hmusum
 */
public interface PricingController {

    PriceInformation price(List<ClusterResources> clusterResources, PricingInfo pricingInfo, Plan plan);

}