Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ nvidia
amd
linode
openshift
gibibytes
millicore
452 changes: 333 additions & 119 deletions gen/go/qdrant/cloud/booking/v1/booking.pb.go

Large diffs are not rendered by default.

48 changes: 46 additions & 2 deletions gen/go/qdrant/cloud/booking/v1/booking_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions gen/openapiv2/qdrant/cloud/booking/v1/booking.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,45 @@
"BookingService"
]
}
},
"/api/booking/v1/packages": {
"get": {
"summary": "Fetch all public packages\nRequired permissions:\n- None (public endpoint)\nbuf:lint:ignore QDRANT_CLOUD_METHOD_OPTIONS",
"operationId": "BookingService_ListGlobalPackages",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1ListGlobalPackagesResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "cloudProviderId",
"description": "Mandatory filter specifying the cloud provider where the cluster will be hosted.\nMust match one of the provider IDs returned by the `qdrant.cloud.platform.v1.PlatformService.ListGlobalCloudProviders` method.",
"in": "query",
"required": false,
"type": "string"
},
{
"name": "cloudProviderRegionId",
"description": "Filter specifying the cloud region where the cluster will be hosted.\nMust match one of the region IDs returned by the `qdrant.cloud.platform.v1.PlatformService.ListGlobalCloudProviderRegions` method.\nField can be omitted, if cloud_provider_id is `hybrid`",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"BookingService"
]
}
}
},
"definitions": {
Expand Down Expand Up @@ -147,6 +186,17 @@
}
}
},
"v1AvailableAdditionalResources": {
"type": "object",
"properties": {
"diskPricePerHour": {
"type": "integer",
"format": "int64",
"description": "The unit price per hour in millicents, in integer format.\nRepresents the cost per hour for a single unit(GiB) of the resource.\nYou will be billed hourly for the resources you use. Partial hours are rounded up and billed as full hours."
}
},
"description": "AvailableAdditionalResources represents additional resources that can be added to the cluster."
},
"v1GetPackageResponse": {
"type": "object",
"properties": {
Expand All @@ -157,6 +207,20 @@
},
"title": "GetPackageResponse is the response from the GetPackage function"
},
"v1ListGlobalPackagesResponse": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v1Package"
},
"title": "The actual packages in this list"
}
},
"title": "ListPackagesResponse is the response from the ListPackages function"
},
"v1ListPackagesResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -202,6 +266,10 @@
"status": {
"$ref": "#/definitions/v1PackageStatus",
"description": "The status of the package.\nIndicates the current status of the package."
},
"availableAdditionalResources": {
"$ref": "#/definitions/v1AvailableAdditionalResources",
"description": "Optional additional resources that can be added to the cluster.\nif not set, additional resources are not available for this package.\nCurrently, only `DISK` is supported."
}
},
"description": "Package represents a single package.\nA package is a configuration (CPU/Memory/Disk size) for a cluster with a price."
Expand Down
36 changes: 23 additions & 13 deletions gen/python/qdrant/cloud/booking/v1/booking_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading