Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateK8sClientset ¶
func CreateK8sClientset(f *Factory, ops KubeOptions) (*kubernetes.Clientset, *rest.Config, error)
Types ¶
type KubeOptions ¶
type KubeOptions struct { // QPS indicates the maximum QPS to the master from this client. // If it's zero, the created RESTClient will use DefaultQPS: 5 KubernetesAPIQPS float32 // Maximum burst for throttle. // If it's zero, the created RESTClient will use DefaultBurst: 10. KubernetesAPIBurst int }
Click to show internal directories.
Click to hide internal directories.