mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
24 lines
672 B
Protocol Buffer
24 lines
672 B
Protocol Buffer
// Copyright (c) 2020 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License-AGPL.txt in the project root for license information.
|
|
|
|
syntax = "proto3";
|
|
|
|
package supervisor;
|
|
|
|
option go_package = "github.com/gitpod-io/gitpod/supervisor/api";
|
|
|
|
// ControlService provides workspace-facing, misc control related services
|
|
service ControlService {
|
|
|
|
// ExposePort exposes a port
|
|
rpc ExposePort(ExposePortRequest) returns (ExposePortResponse) {}
|
|
}
|
|
|
|
message ExposePortRequest {
|
|
// local port
|
|
uint32 port = 1;
|
|
// external port if missing the the same as port
|
|
uint32 target_port = 2;
|
|
}
|
|
message ExposePortResponse {} |