https://flyte.org logo
#ask-the-community
Title
# 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?
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
what’s the goal here though?
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
and what catch for auth?