volumezone

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

View Source
const Name = "VolumeZone"

Name is the name of the plugin used in the plugin registry and configurations.

Variables

This section is empty.

Functions

func New

New initializes a new plugin and returns it.

Types

type VolumeZone

type VolumeZone struct {
	// contains filtered or unexported fields
}

VolumeZone is a plugin that checks volume zone.

func (*VolumeZone) Filter

func (pl *VolumeZone) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status

Filter invoked at the filter extension point.

func (*VolumeZone) Name

func (pl *VolumeZone) Name() string

Name returns name of the plugin. It is used in logs, etc.

Jump to

Keyboard shortcuts

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