type NodeKiller … // NewNodeKiller creates new NodeKiller. func NewNodeKiller(config framework.NodeKillerConfig, client clientset.Interface, provider string) *NodeKiller { … } // Run starts NodeKiller until stopCh is closed. func (k *NodeKiller) Run(ctx context.Context) { … } func (k *NodeKiller) pickNodes(ctx context.Context) []v1.Node { … } func (k *NodeKiller) kill(ctx context.Context, nodes []v1.Node) { … }