node

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

Register register the longhorn node CRD controller

Types

type Controller

type Controller struct {
	BlockDevices     ctldiskv1.BlockDeviceController
	BlockDeviceCache ctldiskv1.BlockDeviceCache
	Nodes            ctllonghornv1.NodeController
	// contains filtered or unexported fields
}

func (*Controller) OnNodeDelete

func (c *Controller) OnNodeDelete(key string, node *longhornv1.Node) (*longhornv1.Node, error)

OnNodeDelete watch the node CR on remove and delete node related block devices

Jump to

Keyboard shortcuts

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