Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Config ¶
config returns a *rest.Config, using either the kubeconfig (if specified) or an in-cluster configuration. baseName is used to build the user agent to tell the API Server who is calling it. set to "ubiquity" if we, the ubiquity hook executor, is calling the APIs. Note that we only need the in-cluster way in production env, others are for test perpose only.
func GetClientset ¶
func GetClientset(baseName string) kubernetes.Interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.