Skip to content

Commit

Permalink
Port Range added (#5)
Browse files Browse the repository at this point in the history
* porta reange added in the expose ports

* port range added
  • Loading branch information
chetan-spheron authored Oct 8, 2024
1 parent 6a36324 commit 65cc6a5
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 36 deletions.
2 changes: 2 additions & 0 deletions docs/proto/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@
| `http_options` | [ServiceExposeHTTPOptions](#akash.manifest.v2beta2.ServiceExposeHTTPOptions) | | |
| `ip` | [string](#string) | | The name of the IP address associated with this, if any |
| `endpoint_sequence_number` | [uint32](#uint32) | | The sequence number of the associated endpoint in the on-chain data |
| `port_range` | [string](#string) | | |
| `port_range_as` | [string](#string) | | |



Expand Down
166 changes: 130 additions & 36 deletions go/manifest/v2beta2/serviceexpose.pb.go

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

10 changes: 10 additions & 0 deletions proto/provider/akash/manifest/v2beta2/serviceexpose.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ message ServiceExpose {
(gogoproto.jsontag) = "endpointSequenceNumber",
(gogoproto.moretags) = "yaml:\"endpointSequenceNumber\""
];
string port_range = 10 [
(gogoproto.customname) = "PortRange",
(gogoproto.jsontag) = "portRange",
(gogoproto.moretags) = "yaml:\"portRange\""
];
string port_range_as = 11 [
(gogoproto.customname) = "PortRangeAs",
(gogoproto.jsontag) = "portRangeAs",
(gogoproto.moretags) = "yaml:\"portRangeAs\""
];
}

0 comments on commit 65cc6a5

Please sign in to comment.