Documentation ¶
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
- type CSILimits
- type CinderLimits
- type EBSLimits
- 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.
Variables ¶
This section is empty.
Functions ¶
func NewAzureDisk ¶
NewAzureDisk 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.
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.
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.