- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetAPIPVC (0.22 sec)
-
pkg/scheduler/framework/plugins/volumebinding/assume_cache.go
} pvc, ok := obj.(*v1.PersistentVolumeClaim) if !ok { return nil, &assumecache.WrongTypeError{TypeName: "v1.PersistentVolumeClaim", Object: obj} } return pvc, nil } func (c *PVCAssumeCache) GetAPIPVC(pvcKey string) (*v1.PersistentVolumeClaim, error) { obj, err := c.GetAPIObj(pvcKey) if err != nil { return nil, err } pvc, ok := obj.(*v1.PersistentVolumeClaim) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder.go
} for _, binding := range bindings { pv, err := b.pvCache.GetAPIPV(binding.pv.Name) if err != nil { return false, fmt.Errorf("failed to check binding: %w", err) } pvc, err := b.pvcCache.GetAPIPVC(getPVCName(binding.pvc)) if err != nil { return false, fmt.Errorf("failed to check binding: %w", err) } // Because we updated PV in apiserver, skip if API object is older
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 42.6K bytes - Viewed (0)