package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewAssumeCache creates an assume cache for genernal objects.
NewFakeVolumeBinder sets up all the caches needed for the scheduler to make topology-aware volume binding decisions.
NewPodBindingCache creates a pod binding cache.
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.

# Structs

FakeVolumeBinder represents a fake volume binder for testing.
FakeVolumeBinderConfig holds configurations for fake volume binder.

# Interfaces

AssumeCache is a cache on top of the informer that allows for updating objects outside of informer events and also restoring the informer cache's version of the object.
PodBindingCache stores PV binding decisions per pod per node.
PVAssumeCache is a AssumeCache for PersistentVolume objects.
PVCAssumeCache is a AssumeCache for PersistentVolumeClaim objects.
SchedulerVolumeBinder is used by the scheduler to handle PVC/PV binding and dynamic provisioning.