blob: e0abdde4687495f9fb916ef6c8c91b8343c56d13 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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);
/** Returns a {@link TestDeployment} view of this, or throws if this is a production deployment. */
TestDeployment asTestDeployment();
}
|