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

package volumerestrictions

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

Index

Package Files

volume_restrictions.go

Constants

const Name = "VolumeRestrictions"

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

func New Uses

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

New initializes a new plugin and returns it.

type VolumeRestrictions Uses

type VolumeRestrictions struct{}

VolumeRestrictions is a plugin that checks volume restrictions.

func (*VolumeRestrictions) Filter Uses

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

Filter invoked at the filter extension point.

func (*VolumeRestrictions) Name Uses

func (pl *VolumeRestrictions) Name() string

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

Package volumerestrictions imports 7 packages (graph) and is imported by 1 packages. Updated 2019-10-19. Refresh now. Tools for package owners.