Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Clientset *kubernetes.Clientset Restclientset *kubernetes.Clientset Namespace string Restconfig *rest.Config Kubeconfig clientcmd.ClientConfig TimeoutTaskInSec int NumberMaxOfAttemptsPerTask int QPS float32 // Queries per second Burst int // Suddently increase of call to API }
Client struct contains all info about client to connect into the cluster
func (*Client) Connect ¶
Connect will connect to specific Cluster read from kubeconfig
Args:
Returns:
- Client struct
func (*Client) KubeClientFromConfig ¶
KubeClientFromConfig will provide the REST interface to cluster
Args:
Returns:
- Client struct or error
Click to show internal directories.
Click to hide internal directories.