node

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node interface {
	// ListCSIVolumes returns a slice of CSI-volumes that are attached to the
	// local worker node.
	ListCSIVolumes(ctx context.Context) ([]volume.CSIVolume, error)
}

Node can handle requests for the local worker node.

func NewNode

func NewNode(ctx context.Context, clientset *kubernetes.Clientset, nodename string) (Node, error)

NewNode creates a new Node that represents the local worker node.

Jump to

Keyboard shortcuts

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