Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "VolumeRestrictions"
Name is the name of the plugin used in the plugin registry and configurations.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VolumeRestrictions ¶
type VolumeRestrictions struct{}
VolumeRestrictions is a plugin that checks volume restrictions.
func (*VolumeRestrictions) Filter ¶
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 ¶
func (pl *VolumeRestrictions) Name() string
Name returns name of the plugin. It is used in logs, etc.
Click to show internal directories.
Click to hide internal directories.