• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// THIS FILE IS DEPRECATED
2// Users should instead use the corresponding proto in the xds tree.
3// No new changes will be accepted here.
4
5syntax = "proto3";
6
7package udpa.annotations;
8
9import "google/protobuf/descriptor.proto";
10
11option go_package = "github.com/cncf/xds/go/annotations";
12
13// Magic number in this file derived from top 28bit of SHA256 digest of
14// "udpa.annotation.status".
15extend google.protobuf.FileOptions {
16  StatusAnnotation file_status = 222707719;
17}
18
19enum PackageVersionStatus {
20  // Unknown package version status.
21  UNKNOWN = 0;
22
23  // This version of the package is frozen.
24  FROZEN = 1;
25
26  // This version of the package is the active development version.
27  ACTIVE = 2;
28
29  // This version of the package is the candidate for the next major version. It
30  // is typically machine generated from the active development version.
31  NEXT_MAJOR_VERSION_CANDIDATE = 3;
32}
33
34message StatusAnnotation {
35  // The entity is work-in-progress and subject to breaking changes.
36  bool work_in_progress = 1;
37
38  // The entity belongs to a package with the given version status.
39  PackageVersionStatus package_version_status = 2;
40}
41