Flyte
Elixir files generated from Flyte's protobuf files using protobuf-elixir.
Installation
Install by adding flyte to your list of dependencies in mix.exs.
Additionally to flyte, you're gonna need google_protos:
def deps do
[
{:flyte, "~> 1.5"},
]
endUsage Example
{:ok, channel} = GRPC.Stub.connect("localhost:30080")
id = %Flyteidl.Core.Identifier{
resource_type: :TASK,
project: "flytesnacks",
domain: "development",
name: "TASK_NAME",
version: "TASK_VERSION"
}
req = %Flyteidl.Admin.ObjectGetRequest{id: id}
Flyteidl.Service.AdminService.Stub.get_task(channel, req)