summaryrefslogtreecommitdiffstats
path: root/tenant-cd/src/main/java/ai/vespa/hosted/cd/Deployment.java
blob: 495d237443541900af3f61607e859e7bf2b3816d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ai.vespa.hosted.cd;

/**
 * A deployment of a Vespa application, which contains endpoints for document and metrics retrieval.
 *
 * @author jonmv
 */
public interface Deployment {

    /** Returns an Endpoint in the cluster with the "default" id. */
    Endpoint endpoint();

    /** Returns an Endpoint in the cluster with the given id. */
    Endpoint endpoint(String id);

}