package volumezone

import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumezone"

Index

Constants

const Name = "VolumeZone"

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

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(_ *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.

Source Files

volume_zone.go

Version
v1.17.0-alpha.2
Published
Oct 15, 2019
Platform
js/wasm
Imports
5 packages
Last checked
44 seconds ago

Tools for package owners.