kubernetes/pkg/scheduler/framework/plugins/volumebinding/assume_cache.go

type PVAssumeCache

func pvStorageClassIndexFunc(obj interface{}

// NewPVAssumeCache creates a PV assume cache.
func NewPVAssumeCache(logger klog.Logger, informer assumecache.Informer) *PVAssumeCache {}

func (c *PVAssumeCache) GetPV(pvName string) (*v1.PersistentVolume, error) {}

func (c *PVAssumeCache) GetAPIPV(pvName string) (*v1.PersistentVolume, error) {}

func (c *PVAssumeCache) ListPVs(storageClassName string) []*v1.PersistentVolume {}

type PVCAssumeCache

// NewPVCAssumeCache creates a PVC assume cache.
func NewPVCAssumeCache(logger klog.Logger, informer assumecache.Informer) *PVCAssumeCache {}

func (c *PVCAssumeCache) GetPVC(pvcKey string) (*v1.PersistentVolumeClaim, error) {}

func (c *PVCAssumeCache) GetAPIPVC(pvcKey string) (*v1.PersistentVolumeClaim, error) {}