Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "VolumeBinding"
Name is the name of the plugin used in Registry and configurations.
Variables ¶
This section is empty.
Functions ¶
func NewFromVolumeBinder ¶
func NewFromVolumeBinder(volumeBinder *volumebinder.VolumeBinder) framework.Plugin
NewFromVolumeBinder initializes a new plugin with volume binder and returns it.
Types ¶
type VolumeBinding ¶
type VolumeBinding struct {
// contains filtered or unexported fields
}
VolumeBinding is a plugin that binds pod volumes in scheduling.
func (*VolumeBinding) Filter ¶
func (pl *VolumeBinding) Filter(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeInfo *schedulernodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*VolumeBinding) Name ¶
func (pl *VolumeBinding) Name() string
Name returns name of the plugin. It is used in logs, etc.
Click to show internal directories.
Click to hide internal directories.