Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheRoute ¶
func CacheRoute(ctx *algorithm.SchedulingContext) httprouter.Handle
func ExpandPVC ¶
func ExpandPVC(ctx *algorithm.SchedulingContext, pvc *corev1.PersistentVolumeClaim) error
ExpandPVC tries to reserve new size for PV regarding to the PVC
func SchedulingPVC ¶
func SchedulingPVC(ctx *algorithm.SchedulingContext, pvc *corev1.PersistentVolumeClaim, node *corev1.Node) (*scheduler.BindingInfo, error)
Scheduling is the interface for provisioner to request storage info reports error if failed to reserve storage for pvc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.