mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-01 12:41:43 +08:00
Fix Deployment Group protobuf generated files (#2432)
This commit is contained in:
parent
883c19ad3b
commit
07a43e3e74
5 changed files with 20 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
defmodule LivebookProto do
|
||||
alias LivebookProto.{
|
||||
AgentConnected,
|
||||
Event,
|
||||
FileSystemCreated,
|
||||
FileSystemDeleted,
|
||||
|
@ -10,7 +11,7 @@ defmodule LivebookProto do
|
|||
DeploymentGroupCreated,
|
||||
DeploymentGroupDeleted,
|
||||
DeploymentGroupUpdated,
|
||||
UserSynchronized
|
||||
UserConnected
|
||||
}
|
||||
|
||||
@event_mapping (for {_id, field_prop} <- Event.__message_props__().field_props,
|
||||
|
@ -19,7 +20,8 @@ defmodule LivebookProto do
|
|||
end)
|
||||
|
||||
@type event_proto ::
|
||||
FileSystemCreated.t()
|
||||
AgentConnected.t()
|
||||
| FileSystemCreated.t()
|
||||
| FileSystemDeleted.t()
|
||||
| FileSystemUpdated.t()
|
||||
| SecretCreated.t()
|
||||
|
@ -28,7 +30,7 @@ defmodule LivebookProto do
|
|||
| DeploymentGroupCreated.t()
|
||||
| DeploymentGroupDeleted.t()
|
||||
| DeploymentGroupUpdated.t()
|
||||
| UserSynchronized.t()
|
||||
| UserConnected.t()
|
||||
|
||||
@doc """
|
||||
Builds an event with given data.
|
||||
|
|
|
@ -6,6 +6,6 @@ defmodule LivebookProto.DeploymentGroup do
|
|||
field :mode, 3, type: :string
|
||||
field :secrets, 4, repeated: true, type: LivebookProto.DeploymentGroupSecret
|
||||
field :clustering, 5, type: :string
|
||||
field :zta_provider, 6, type: :string
|
||||
field :zta_key, 7, type: :string
|
||||
field :zta_provider, 6, type: :string, json_name: "ztaProvider"
|
||||
field :zta_key, 7, type: :string, json_name: "ztaKey"
|
||||
end
|
||||
|
|
|
@ -6,6 +6,6 @@ defmodule LivebookProto.DeploymentGroupCreated do
|
|||
field :mode, 3, type: :string
|
||||
field :secrets, 4, repeated: true, type: LivebookProto.DeploymentGroupSecret
|
||||
field :clustering, 5, type: :string
|
||||
field :zta_provider, 6, type: :string
|
||||
field :zta_key, 7, type: :string
|
||||
field :zta_provider, 6, type: :string, json_name: "ztaProvider"
|
||||
field :zta_key, 7, type: :string, json_name: "ztaKey"
|
||||
end
|
||||
|
|
|
@ -6,6 +6,6 @@ defmodule LivebookProto.DeploymentGroupUpdated do
|
|||
field :mode, 3, type: :string
|
||||
field :secrets, 4, repeated: true, type: LivebookProto.DeploymentGroupSecret
|
||||
field :clustering, 5, type: :string
|
||||
field :zta_provider, 6, type: :string
|
||||
field :zta_key, 7, type: :string
|
||||
field :zta_provider, 6, type: :string, json_name: "ztaProvider"
|
||||
field :zta_key, 7, type: :string, json_name: "ztaKey"
|
||||
end
|
||||
|
|
|
@ -59,6 +59,9 @@ message DeploymentGroup {
|
|||
string name = 2;
|
||||
string mode = 3;
|
||||
repeated DeploymentGroupSecret secrets = 4;
|
||||
string clustering = 5;
|
||||
string zta_provider = 6;
|
||||
string zta_key = 7;
|
||||
}
|
||||
|
||||
message DeploymentGroupCreated {
|
||||
|
@ -66,6 +69,9 @@ message DeploymentGroupCreated {
|
|||
string name = 2;
|
||||
string mode = 3;
|
||||
repeated DeploymentGroupSecret secrets = 4;
|
||||
string clustering = 5;
|
||||
string zta_provider = 6;
|
||||
string zta_key = 7;
|
||||
}
|
||||
|
||||
message DeploymentGroupUpdated {
|
||||
|
@ -73,6 +79,9 @@ message DeploymentGroupUpdated {
|
|||
string name = 2;
|
||||
string mode = 3;
|
||||
repeated DeploymentGroupSecret secrets = 4;
|
||||
string clustering = 5;
|
||||
string zta_provider = 6;
|
||||
string zta_key = 7;
|
||||
}
|
||||
|
||||
message DeploymentGroupDeleted {
|
||||
|
|
Loading…
Reference in a new issue