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

Source Files

volume_zone.go

Version
v1.17.8
Published
Jun 26, 2020
Platform
js/wasm
Imports
7 packages
Last checked
14 seconds ago

Tools for package owners.