volumebinder

package
v1.11.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL