Hi folks,
Are there any examples on, specifically, how to use the Go client to access the
Jobs API? (from outside the cluster).
I found the basic example [1], and managed to list running pods in my minikube cluster, after I figured out where to find the cluster config file in minikube (~/.kube/config, for the record). I also found the code for the Jobs API [2], which definitely helps too. But I'm still pretty bewildered about how to use it to create new jobs, start them, list running jobs, poll for their finish etc etc.
Are there any code examples of accessing the jobs API via the go client ... even just some undocumented usage of the code inside some other app?
Just remember that it is the Jobs API specifically I'm interested in, as I got the basic example to work already (a lot of folks sent me examples which did not meet this requirement).
Many thanks in advance!
Cheers
// Samuel