blob: 6111b59178f2e22f4ab1942f635e82d9591f146c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.hosted.cd;
import java.time.Instant;
/**
* A deployment of a Vespa application, which contains endpoints for document retrieval.
*
* @author jonmv
*/
public interface Deployment {
/** Returns an Endpoint in the cluster with the given id. */
Endpoint endpoint(String id);
/** The Vespa runtime version of the deployment, e.g., 8.16.32. */
String platform();
/** The build number assigned to the application revision of the deployment, e.g., 496. */
long revision();
/** The time at which the deployment was last updated with a new platform or application version. */
Instant deployedAt();
}
|