Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeBinder ¶
type VolumeBinder struct { Binder persistentvolume.SchedulerVolumeBinder BindQueue *workqueue.Type }
VolumeBinder sets up the volume binding library and manages the volume binding operations with a queue.
func NewFakeVolumeBinder ¶
func NewFakeVolumeBinder(config *persistentvolume.FakeVolumeBinderConfig) *VolumeBinder
NewFakeVolumeBinder sets up a fake volume binder and binding queue
func NewVolumeBinder ¶
func NewVolumeBinder( client clientset.Interface, pvcInformer coreinformers.PersistentVolumeClaimInformer, pvInformer coreinformers.PersistentVolumeInformer, storageClassInformer storageinformers.StorageClassInformer) *VolumeBinder
NewVolumeBinder sets up the volume binding library and binding queue
func (*VolumeBinder) DeletePodBindings ¶
func (b *VolumeBinder) DeletePodBindings(pod *v1.Pod)
DeletePodBindings will delete the cached volume bindings for the given pod.
func (*VolumeBinder) Run ¶
func (b *VolumeBinder) Run(bindWorkFunc func(), stopCh <-chan struct{})
Run starts a goroutine to handle the binding queue with the given function.
Click to show internal directories.
Click to hide internal directories.