status.proto 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. syntax = "proto3";
  5. package udpa.annotations;
  6. import "google/protobuf/descriptor.proto";
  7. option go_package = "github.com/cncf/xds/go/annotations";
  8. // Magic number in this file derived from top 28bit of SHA256 digest of
  9. // "udpa.annotation.status".
  10. extend google.protobuf.FileOptions {
  11. StatusAnnotation file_status = 222707719;
  12. }
  13. enum PackageVersionStatus {
  14. // Unknown package version status.
  15. UNKNOWN = 0;
  16. // This version of the package is frozen.
  17. FROZEN = 1;
  18. // This version of the package is the active development version.
  19. ACTIVE = 2;
  20. // This version of the package is the candidate for the next major version. It
  21. // is typically machine generated from the active development version.
  22. NEXT_MAJOR_VERSION_CANDIDATE = 3;
  23. }
  24. message StatusAnnotation {
  25. // The entity is work-in-progress and subject to breaking changes.
  26. bool work_in_progress = 1;
  27. // The entity belongs to a package with the given version status.
  28. PackageVersionStatus package_version_status = 2;
  29. }