Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoreV1Client ¶
func CoreV1Client() corev1.CoreV1Interface
func InitClient ¶
func InitClient() (*kubernetes.Clientset, error)
use sync.Once, so clientset can only init once
func InitRestClient ¶
func InitRestClient() (*rest.Config, error, *corev1client.CoreV1Client)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.