Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update proto to include alias set and alias delete commands #7

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
22 changes: 22 additions & 0 deletions projects/isolate_proto/src/isolate_proto/controller.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ service IsolateController {
rpc RegisterApplication (RegisterApplicationRequest) returns (stream RegisterApplicationResult) {};
// Update configuration of an existing application.
rpc UpdateApplication (UpdateApplicationRequest) returns (UpdateApplicationResult) {};
// Set alias to point to an existing application.
rpc SetAlias (SetAliasRequest) returns (SetAliasResult) {};
// Delete an alias.
rpc DeleteAlias (DeleteAliasRequest) returns (DeleteAliasResult) {};
// List aliased registered functions
rpc ListAliases (ListAliasesRequest) returns (ListAliasesResult) {};
// Sets a user secret.
Expand Down Expand Up @@ -189,6 +193,24 @@ message UpdateApplicationResult {
AliasInfo alias_info = 1;
}

message SetAliasRequest {
string alias = 1;
string revision = 2;
ApplicationAuthMode auth_mode = 3;
}

message SetAliasResult {
// Empty. For future use.
}

message DeleteAliasRequest {
string alias = 1;
}

message DeleteAliasResult {
string revision = 1;
}

message ListAliasesRequest {
// Empty. For future use.
}
Expand Down
50 changes: 29 additions & 21 deletions projects/isolate_proto/src/isolate_proto/controller_pb2.py

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

Loading