Skip to content

Commit 65cc6a5

Browse files
Port Range added (#5)
* porta reange added in the expose ports * port range added
1 parent 6a36324 commit 65cc6a5

File tree

3 files changed

+142
-36
lines changed

3 files changed

+142
-36
lines changed

docs/proto/provider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@
355355
| `http_options` | [ServiceExposeHTTPOptions](#akash.manifest.v2beta2.ServiceExposeHTTPOptions) | | |
356356
| `ip` | [string](#string) | | The name of the IP address associated with this, if any |
357357
| `endpoint_sequence_number` | [uint32](#uint32) | | The sequence number of the associated endpoint in the on-chain data |
358+
| `port_range` | [string](#string) | | |
359+
| `port_range_as` | [string](#string) | | |
358360

359361

360362

go/manifest/v2beta2/serviceexpose.pb.go

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

proto/provider/akash/manifest/v2beta2/serviceexpose.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,14 @@ message ServiceExpose {
6868
(gogoproto.jsontag) = "endpointSequenceNumber",
6969
(gogoproto.moretags) = "yaml:\"endpointSequenceNumber\""
7070
];
71+
string port_range = 10 [
72+
(gogoproto.customname) = "PortRange",
73+
(gogoproto.jsontag) = "portRange",
74+
(gogoproto.moretags) = "yaml:\"portRange\""
75+
];
76+
string port_range_as = 11 [
77+
(gogoproto.customname) = "PortRangeAs",
78+
(gogoproto.jsontag) = "portRangeAs",
79+
(gogoproto.moretags) = "yaml:\"portRangeAs\""
80+
];
7181
}

0 commit comments

Comments
 (0)