blob: 277632b74c79d362e0d0c1818320fb20cacdf703 (
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} representation of this, or throws if this is a production deployment. */
TestDeployment asTestDeployment();
}
|