Documentation ¶
Index ¶
- func AuthenticateInCluster() (*kubernetes.Clientset, dynamic.Interface, error)
- func AuthenticateOutOfCluster() (*kubernetes.Clientset, dynamic.Interface, error)
- func GetDOClient() *godo.Client
- func RecycleStuckNodes(client *godo.Client, stuckedNodes []NodeInfos)
- func RecyleNode(params ...interface{}) interface{}
- func RunWorkers(workerCount int, endMessage string, arrayParamIndex int, job Job, ...)
- func WatchNodes(clientSet *kubernetes.Clientset, dynClient dynamic.Interface, ...)
- type Job
- type NodeInfos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateInCluster ¶
func AuthenticateInCluster() (*kubernetes.Clientset, dynamic.Interface, error)
func AuthenticateOutOfCluster ¶
func AuthenticateOutOfCluster() (*kubernetes.Clientset, dynamic.Interface, error)
func GetDOClient ¶
func RecycleStuckNodes ¶
func RecyleNode ¶
func RecyleNode(params ...interface{}) interface{}
func RunWorkers ¶
func RunWorkers(workerCount int, endMessage string, arrayParamIndex int, job Job, params ...interface{})
* CAREFUL : the arrayParamIndex should have the same value that the index of the element used in params
func WatchNodes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.