Skip to content

Commit 095be51

Browse files
authored
Add additional fields to QdrantRelease (#83)
Adds end_of_life and unavailable
1 parent 288cc30 commit 095be51

6 files changed

Lines changed: 313 additions & 261 deletions

File tree

gen/go/qdrant/cloud/cluster/v1/cluster.pb.go

Lines changed: 262 additions & 240 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/cluster/v1/cluster.swagger.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,14 @@
10301030
"remarks": {
10311031
"type": "string",
10321032
"title": "Additional message regarding this release that might be useful to the client\""
1033+
},
1034+
"endOfLife": {
1035+
"type": "boolean",
1036+
"title": "True, if the release version is end of life and not supported anymore"
1037+
},
1038+
"unavailable": {
1039+
"type": "boolean",
1040+
"title": "True, if the release is not available for the cluster creation or updates"
10331041
}
10341042
},
10351043
"title": "QdrantRelease represent a single Qdrant release"

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.py

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/qdrant/cloud/cluster/v1/cluster_pb2.pyi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,17 @@ class ClusterNodeResources(_message.Message):
432432
def __init__(self, base: _Optional[float] = ..., complimentary: _Optional[float] = ..., additional: _Optional[float] = ..., reserved: _Optional[float] = ..., available: _Optional[float] = ...) -> None: ...
433433

434434
class QdrantRelease(_message.Message):
435-
__slots__ = ("version", "default", "release_notes_url", "remarks")
435+
__slots__ = ("version", "default", "release_notes_url", "remarks", "end_of_life", "unavailable")
436436
VERSION_FIELD_NUMBER: _ClassVar[int]
437437
DEFAULT_FIELD_NUMBER: _ClassVar[int]
438438
RELEASE_NOTES_URL_FIELD_NUMBER: _ClassVar[int]
439439
REMARKS_FIELD_NUMBER: _ClassVar[int]
440+
END_OF_LIFE_FIELD_NUMBER: _ClassVar[int]
441+
UNAVAILABLE_FIELD_NUMBER: _ClassVar[int]
440442
version: str
441443
default: bool
442444
release_notes_url: str
443445
remarks: str
444-
def __init__(self, version: _Optional[str] = ..., default: bool = ..., release_notes_url: _Optional[str] = ..., remarks: _Optional[str] = ...) -> None: ...
446+
end_of_life: bool
447+
unavailable: bool
448+
def __init__(self, version: _Optional[str] = ..., default: bool = ..., release_notes_url: _Optional[str] = ..., remarks: _Optional[str] = ..., end_of_life: bool = ..., unavailable: bool = ...) -> None: ...

gen/typescript/qdrant/cloud/cluster/v1/cluster_pb.ts

Lines changed: 15 additions & 1 deletion
Large diffs are not rendered by default.

proto/qdrant/cloud/cluster/v1/cluster.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,4 +680,8 @@ message QdrantRelease {
680680
optional string release_notes_url = 3;
681681
// Additional message regarding this release that might be useful to the client"
682682
optional string remarks = 4;
683+
// True, if the release version is end of life and not supported anymore
684+
bool end_of_life = 5;
685+
// True, if the release is not available for the cluster creation or updates
686+
bool unavailable = 6;
683687
}

0 commit comments

Comments
 (0)