nodeusbdevicecondition

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Assigned signifies that namespace is assigned for the device and corresponding USBDevice resource is created in this namespace.
	Assigned AssignedReason = "Assigned"
	// Available signifies that no namespace is assigned for the device.
	Available AssignedReason = "Available"
	// InProgress signifies that device connection to namespace is in progress (USBDevice resource creation).
	InProgress AssignedReason = "InProgress"

	// Ready signifies that device is ready to use.
	Ready ReadyReason = "Ready"
	// NotReady signifies that device exists in the system but is not ready to use.
	NotReady ReadyReason = "NotReady"
	// NotFound signifies that device is absent on the host.
	NotFound ReadyReason = "NotFound"

	// AttachedToVirtualMachine signifies that device is attached to a virtual machine.
	AttachedToVirtualMachine AttachedReason = "AttachedToVirtualMachine"
	// AttachedAvailable signifies that device is available for attachment to a virtual machine.
	AttachedAvailable AttachedReason = "Available"
	// DetachedForMigration signifies that device was detached for migration (e.g. live migration).
	DetachedForMigration AttachedReason = "DetachedForMigration"
	// NoFreeUSBIPPort signifies that device cannot be attached because there are no free USBIP ports on the target node.
	NoFreeUSBIPPort AttachedReason = "NoFreeUSBIPPort"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignedReason

type AssignedReason string

AssignedReason represents the various reasons for the `Assigned` condition type.

func (AssignedReason) String

func (r AssignedReason) String() string

type AttachedReason added in v1.11.1

type AttachedReason string

AttachedReason represents the various reasons for the `Attached` condition type.

func (AttachedReason) String added in v1.11.1

func (r AttachedReason) String() string

type ReadyReason

type ReadyReason string

ReadyReason represents the various reasons for the `Ready` condition type.

func (ReadyReason) String

func (r ReadyReason) String() string

type Type

type Type string

Type represents the various condition types for the `NodeUSBDevice`.

const (
	// AssignedType indicates whether a namespace is assigned for the device.
	AssignedType Type = "Assigned"
	// ReadyType indicates whether the device is ready to use.
	ReadyType Type = "Ready"
	// AttachedType indicates whether the device is attached to a virtual machine.
	AttachedType Type = "Attached"
)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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