Versions in this module Expand all Collapse all v1 v1.27.3 Jul 11, 2023 v1.26.6 Jul 11, 2023 Changes in this version + func NewClientGenerator(cfg *types.Config) types.ClientGenerator + type SingletonClientGenerator struct + APIServerURL string + DeletionTimeout time.Duration + KubeConfig string + MaxGracePeriod time.Duration + NodeReadyTimeout time.Duration + RequestTimeout time.Duration + func (p *SingletonClientGenerator) AnnoteNode(nodeName string, annotations map[string]string) error + func (p *SingletonClientGenerator) ApiExtentionClient() (apiextensionClientset.Interface, error) + func (p *SingletonClientGenerator) CordonNode(nodeName string) error + func (p *SingletonClientGenerator) DeleteNode(nodeName string) error + func (p *SingletonClientGenerator) DrainNode(nodeName string, ignoreDaemonSet, deleteLocalData bool) error + func (p *SingletonClientGenerator) GetNode(nodeName string) (*apiv1.Node, error) + func (p *SingletonClientGenerator) KubeClient() (kubernetes.Interface, error) + func (p *SingletonClientGenerator) LabelNode(nodeName string, labels map[string]string) error + func (p *SingletonClientGenerator) MarkDrainNode(nodeName string) error + func (p *SingletonClientGenerator) NodeList() (*apiv1.NodeList, error) + func (p *SingletonClientGenerator) NodeManagerClient() (managednodeClientset.Interface, error) + func (p *SingletonClientGenerator) PodList(nodeName string, podFilter types.PodFilterFunc) ([]apiv1.Pod, error) + func (p *SingletonClientGenerator) SetProviderID(nodeName, providerID string) error + func (p *SingletonClientGenerator) TaintNode(nodeName string, taints ...apiv1.Taint) error + func (p *SingletonClientGenerator) UncordonNode(nodeName string) error + func (p *SingletonClientGenerator) WaitNodeToBeReady(nodeName string) error