rdmadeviceresource

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResetResourcesMsg  = "reset node rdma resources"
	UpdateResourcesMsg = "node rdma resources from device"

	NeedSyncForResourceDiffMsg = "rdma resource diff is big than threshold"
)
View Source
const PluginName = "RDMADeviceResource"

Variables

View Source
var (
	ResourceNames = []corev1.ResourceName{
		extension.ResourceRDMA,
	}
)

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) NeedSync

func (p *Plugin) NeedSync(strategy *configuration.ColocationStrategy, oldNode, newNode *corev1.Node) (bool, string)

func (*Plugin) Prepare

func (*Plugin) Reset

func (p *Plugin) Reset(node *corev1.Node, message string) []framework.ResourceItem

func (*Plugin) Setup

func (p *Plugin) Setup(opt *framework.Option) error

Jump to

Keyboard shortcuts

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