I'm relatively new to golang, although I'm pretty familiar with 
Kubernetes.  I want to see if I can use client-go as a framework for a set 
of scripts that get (or set) information on a specific cluster.  I don't 
want to use the current context, I want to set the context name on the 
command line and "use" that context, but I want to avoid setting that as 
the current context.

I could hack this together by manually navigating through ~/.kube/config 
and extracting the server and token, but I'm still not familiar enough with 
the client-go api to know whether that will even help. In any case, I would 
hope that client-go would provide an easier way to do this.

I wish I could find more examples of "out-of-cluster" client applications 
using this api.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/4377e4fd-1d16-431c-8cf2-406d7d2304f3n%40googlegroups.com.

Reply via email to