Skip to content

Commit

Permalink
feat: add persistent store control apis
Browse files Browse the repository at this point in the history
  • Loading branch information
honeyAcorn committed Mar 21, 2024
1 parent 3d72924 commit 1dd218b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions proto/controlclient.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,36 @@ service ScsControl {
rpc CreateIndex (_CreateIndexRequest) returns (_CreateIndexResponse) {}
rpc DeleteIndex(_DeleteIndexRequest) returns (_DeleteIndexResponse) {}
rpc ListIndexes(_ListIndexesRequest) returns (_ListIndexesResponse) {}
rpc CreateStore (_CreateStoreRequest) returns (_CreateStoreResponse) {}
rpc DeleteStore (_DeleteStoreRequest) returns (_DeleteStoreResponse) {}
rpc ListStores (_ListStoresRequest) returns (_ListStoresResponse) {}
}

message _CreateStoreRequest {
string store_name = 1;
}

message _CreateStoreResponse {
}

message _DeleteStoreRequest {
string store_name = 1;
}

message _DeleteStoreResponse {
}

message _ListStoresRequest {
string next_token = 1;
}

message _ListStoresResponse {
repeated _Store store = 1;
string next_token = 2;
}

message _Store {
string store_name = 1;
}

message _SimilarityMetric {
Expand Down

0 comments on commit 1dd218b

Please sign in to comment.