package nodevolumelimits
import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodevolumelimits"
Index ¶
- Constants
- func NewAzureDisk(_ *runtime.Unknown, handle framework.FrameworkHandle) (framework.Plugin, error)
- func NewCSI(_ *runtime.Unknown, handle framework.FrameworkHandle) (framework.Plugin, error)
- func NewCinder(_ *runtime.Unknown, handle framework.FrameworkHandle) (framework.Plugin, error)
- func NewEBS(_ *runtime.Unknown, handle framework.FrameworkHandle) (framework.Plugin, error)
- func NewGCEPD(_ *runtime.Unknown, handle framework.FrameworkHandle) (framework.Plugin, error)
- type AzureDiskLimits
- func (pl *AzureDiskLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
- func (pl *AzureDiskLimits) Name() string
- type CSILimits
- func (pl *CSILimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
- func (pl *CSILimits) Name() string
- type CinderLimits
- func (pl *CinderLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
- func (pl *CinderLimits) Name() string
- type EBSLimits
- func (pl *EBSLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
- func (pl *EBSLimits) Name() string
- type GCEPDLimits
Constants ¶
const AzureDiskName = "AzureDiskLimits"
AzureDiskName is the name of the plugin used in the plugin registry and configurations.
const CSIName = "NodeVolumeLimits"
CSIName is the name of the plugin used in the plugin registry and configurations.
const CinderName = "CinderLimits"
CinderName is the name of the plugin used in the plugin registry and configurations.
const EBSName = "EBSLimits"
EBSName is the name of the plugin used in the plugin registry and configurations.
const GCEPDName = "GCEPDLimits"
GCEPDName is the name of the plugin used in the plugin registry and configurations.
Functions ¶
func NewAzureDisk ¶
NewAzureDisk returns function that initializes a new plugin and returns it.
func NewCSI ¶
NewCSI initializes a new plugin and returns it.
func NewCinder ¶
NewCinder returns function that initializes a new plugin and returns it.
func NewEBS ¶
NewEBS returns function that initializes a new plugin and returns it.
func NewGCEPD ¶
NewGCEPD returns function that initializes a new plugin and returns it.
Types ¶
type AzureDiskLimits ¶
type AzureDiskLimits struct {
// contains filtered or unexported fields
}
AzureDiskLimits is a plugin that checks node volume limits.
func (*AzureDiskLimits) Filter ¶
func (pl *AzureDiskLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*AzureDiskLimits) Name ¶
func (pl *AzureDiskLimits) Name() string
Name returns name of the plugin. It is used in logs, etc.
type CSILimits ¶
type CSILimits struct {
// contains filtered or unexported fields
}
CSILimits is a plugin that checks node volume limits.
func (*CSILimits) Filter ¶
func (pl *CSILimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*CSILimits) Name ¶
Name returns name of the plugin. It is used in logs, etc.
type CinderLimits ¶
type CinderLimits struct {
// contains filtered or unexported fields
}
CinderLimits is a plugin that checks node volume limits.
func (*CinderLimits) Filter ¶
func (pl *CinderLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*CinderLimits) Name ¶
func (pl *CinderLimits) Name() string
Name returns name of the plugin. It is used in logs, etc.
type EBSLimits ¶
type EBSLimits struct {
// contains filtered or unexported fields
}
EBSLimits is a plugin that checks node volume limits.
func (*EBSLimits) Filter ¶
func (pl *EBSLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*EBSLimits) Name ¶
Name returns name of the plugin. It is used in logs, etc.
type GCEPDLimits ¶
type GCEPDLimits struct {
// contains filtered or unexported fields
}
GCEPDLimits is a plugin that checks node volume limits.
func (*GCEPDLimits) Filter ¶
func (pl *GCEPDLimits) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*GCEPDLimits) Name ¶
func (pl *GCEPDLimits) Name() string
Name returns name of the plugin. It is used in logs, etc.
Source Files ¶
azure.go cinder.go csi.go csinode_helper.go ebs.go gce.go
- Version
- v1.17.14
- Published
- Nov 11, 2020
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 38 seconds ago –
Tools for package owners.