package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

# Functions

New initializes a new plugin and returns it.
NewFakeVolumeBinder sets up all the caches needed for the scheduler to make topology-aware volume binding decisions.
NewPVAssumeCache creates a PV assume cache.
NewPVCAssumeCache creates a PVC assume cache.
NewVolumeBinder sets up all the caches needed for the scheduler to make volume binding decisions.

# Constants

ErrReasonBindConflict is used for VolumeBindingNoMatch predicate error.
ErrReasonNodeConflict is used for VolumeNodeAffinityConflict predicate error.
ErrReasonNotEnoughSpace is used when a pod cannot start on a node because not enough storage space is available.
ErrReasonPVNotExist is used when a pod has one or more PVC(s) bound to non-existent persistent volume(s)".
Name is the name of the plugin used in Registry and configurations.

# Structs

BindingInfo holds a binding between PV and PVC.
CapacityCheck contains additional parameters for NewVolumeBinder that are only needed when checking volume sizes against available storage capacity is desired.
FakeVolumeBinder represents a fake volume binder for testing.
FakeVolumeBinderConfig holds configurations for fake volume binder.
PodVolumes holds pod's volumes information used in volume scheduling.
PVAssumeCache is a AssumeCache for PersistentVolume objects.
PVCAssumeCache is a AssumeCache for PersistentVolumeClaim objects.
StorageResource represents storage resource.
VolumeBinding is a plugin that binds pod volumes in scheduling.

# Interfaces

InTreeToCSITranslator contains methods required to check migratable status and perform translations from InTree PV's to CSI.
SchedulerVolumeBinder is used by the scheduler VolumeBinding plugin to handle PVC/PV binding and dynamic provisioning.

# Type aliases

ConflictReason is used for the special strings which explain why volume binding is impossible for a node.
ConflictReasons contains all reasons that explain why volume binding is impossible for a node.