deleter

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeGroupDeleter

type NodeGroupDeleter struct {
	// contains filtered or unexported fields
}

NodeUnitDeleter clean up node label and unit cluster when NodeUnit has been deleted

func NewNodeGroupDeleter

func NewNodeGroupDeleter(
	kubeClient clientset.Interface,
	crdClient *crdClientset.Clientset,
	nodeUnitLister crdv1listers.NodeUnitLister,
	finalizerToken string,
) *NodeGroupDeleter

func (*NodeGroupDeleter) Delete

type NodeUnitDeleter

type NodeUnitDeleter struct {
	// contains filtered or unexported fields
}

NodeUnitDeleter clean up node label and unit cluster when NodeUnit has been deleted

func NewNodeUnitDeleter

func NewNodeUnitDeleter(
	kubeClient clientset.Interface,
	crdClient *crdClientset.Clientset,
	nodeLister corelisters.NodeLister,
	nodeListerSynced cache.InformerSynced,
	finalizerToken string,
	deleteQueue workqueue.RateLimitingInterface,
) *NodeUnitDeleter

func (*NodeUnitDeleter) Delete

func (d *NodeUnitDeleter) Delete(nu *sitev1.NodeUnit) error

func (*NodeUnitDeleter) Run

func (c *NodeUnitDeleter) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL