Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "VolumeZone"
Name is the name of the plugin used in the plugin registry and configurations.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(pvInfo predicates.PersistentVolumeInfo, pvcInfo predicates.PersistentVolumeClaimInfo, classInfo predicates.StorageClassInfo) framework.Plugin
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.
Click to show internal directories.
Click to hide internal directories.