kubernetes: k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumezone Index | Files

package volumezone

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


Package Files



const Name = "VolumeZone"

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

func New Uses

func New(_ *runtime.Unknown, handle framework.FrameworkHandle) (framework.Plugin, error)

New initializes a new plugin and returns it.

type VolumeZone Uses

type VolumeZone struct {
    // contains filtered or unexported fields

VolumeZone is a plugin that checks volume zone.

func (*VolumeZone) Filter Uses

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 Uses

func (pl *VolumeZone) Name() string

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

Package volumezone imports 7 packages (graph) and is imported by 1 packages. Updated 2019-11-14. Refresh now. Tools for package owners.