scheduler

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, d Driver) error

Register registers the given scheduler driver

Types

type Driver

type Driver interface {
	// ResizeVolume resizes the given volume with the resizePercentage
	ResizeVolume(volumeName string, resizePercentage int) error
	// ListVolumeUUIDs returns a list of unique volume ids that match the
	// provided label selectors.
	ListVolumeUUIDs(namespaceSelector, labelSelector metav1.LabelSelector) ([]string, error)
}

Driver is the scheduler driver interface

func Get

func Get(name string) (Driver, error)

Get returns a registered scheduler test provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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