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

Support gRCP conversion in provider #164

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
119 changes: 119 additions & 0 deletions docs/proto/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
- [Status](#akash.provider.v1.Status)

- [akash/provider/v1/service.proto](#akash/provider/v1/service.proto)
- [AkashInfo](#akash.provider.v1.AkashInfo)
- [BuildDep](#akash.provider.v1.BuildDep)
- [GetVersionResponse](#akash.provider.v1.GetVersionResponse)
- [KubeInfo](#akash.provider.v1.KubeInfo)
- [ValidateRequest](#akash.provider.v1.ValidateRequest)
- [ValidateResponse](#akash.provider.v1.ValidateResponse)

- [ProviderRPC](#akash.provider.v1.ProviderRPC)

- [akash/inventory/v1/memory.proto](#akash/inventory/v1/memory.proto)
Expand Down Expand Up @@ -646,6 +653,115 @@
## akash/provider/v1/service.proto



<a name="akash.provider.v1.AkashInfo"></a>

### AkashInfo
AkashInfo


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `name` | [string](#string) | | |
| `app_name` | [string](#string) | | |
| `version` | [string](#string) | | |
| `git_commit` | [string](#string) | | |
| `build_tags` | [string](#string) | | |
| `go_version` | [string](#string) | | |
| `build_deps` | [BuildDep](#akash.provider.v1.BuildDep) | repeated | |
| `cosmos_sdk_version` | [string](#string) | | |






<a name="akash.provider.v1.BuildDep"></a>

### BuildDep
BuildDep


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `path` | [string](#string) | | |
| `version` | [string](#string) | | |
| `sum` | [string](#string) | | |
| `replace` | [BuildDep](#akash.provider.v1.BuildDep) | | |






<a name="akash.provider.v1.GetVersionResponse"></a>

### GetVersionResponse
GetVersionResponse


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `akash` | [AkashInfo](#akash.provider.v1.AkashInfo) | | |
| `kube` | [KubeInfo](#akash.provider.v1.KubeInfo) | | |






<a name="akash.provider.v1.KubeInfo"></a>

### KubeInfo
KubeInfo


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `major` | [string](#string) | | |
| `minor` | [string](#string) | | |
| `git_version` | [string](#string) | | |
| `git_commit` | [string](#string) | | |
| `git_tree_state` | [string](#string) | | |
| `build_date` | [string](#string) | | |
| `go_version` | [string](#string) | | |
| `compiler` | [string](#string) | | |
| `platform` | [string](#string) | | |






<a name="akash.provider.v1.ValidateRequest"></a>

### ValidateRequest
ValidateRequest


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `group` | [akash.deployment.v1beta3.GroupSpec](#akash.deployment.v1beta3.GroupSpec) | | |






<a name="akash.provider.v1.ValidateResponse"></a>

### ValidateResponse
ValidateResponse


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `min_bid_price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | |





<!-- end messages -->

<!-- end enums -->
Expand All @@ -662,6 +778,9 @@
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `GetStatus` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Status](#akash.provider.v1.Status) | GetStatus defines a method to query provider state buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | GET|/v1/status|
| `StreamStatus` | [.google.protobuf.Empty](#google.protobuf.Empty) | [Status](#akash.provider.v1.Status) stream | Status defines a method to stream provider state buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |
| `GetVersion` | [.google.protobuf.Empty](#google.protobuf.Empty) | [GetVersionResponse](#akash.provider.v1.GetVersionResponse) | GetVersion returns version information about the provider buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE | |
| `Validate` | [ValidateRequest](#akash.provider.v1.ValidateRequest) | [ValidateResponse](#akash.provider.v1.ValidateResponse) | Validate checks if provider will bid on given groupspec buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE | |
| `WIBOY` | [ValidateRequest](#akash.provider.v1.ValidateRequest) | [ValidateResponse](#akash.provider.v1.ValidateResponse) | WIBOY (will I bid on you) is an alias for Validate buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE buf:lint:ignore RPC_RESPONSE_STANDARD_NAME | |

<!-- end services -->

Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ require (
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.1.2 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
Expand Down
Loading
Loading