Join Slack
Powered by
Hi I looking for lunch workflow from golang code. ...
# ask-the-community
y
Yuri Laskin
09/14/2023, 4:09 PM
Hi I looking for lunch workflow from golang code. It any example exists
y
Yee
09/14/2023, 6:57 PM
could you elaborate please? what are you looking to do?
Yee
09/14/2023, 6:58 PM
you want the workflow itself to be declared in go?
y
Yuri Laskin
09/14/2023, 7:04 PM
i’m not sure but i thinks call “create new execution” like in flyte console
y
Yee
09/14/2023, 7:58 PM
i mean you can always look at the cli tool
https://github.com/flyteorg/flytectl/blob/145bc5c01db75a21254626ecba0e01d6dbea7851/cmd/create/execution.go
which calls out to the control plane
client
Yee
09/14/2023, 7:58 PM
what’s the goal here though?
Yee
09/14/2023, 8:00 PM
if you have auth enabled then calling out to the api is not as simple as it sounds, esp if you want something beyond just client credentials
y
Yuri Laskin
09/14/2023, 8:01 PM
cool seems like relaunchExecution from execution.go exactly i need
Yuri Laskin
09/14/2023, 8:03 PM
and what catch for auth?
Open in Slack
Previous
Next