Documentation ¶
Index ¶
- Constants
- func New(args runtime.Object, h framework.Handle) (framework.Plugin, error)
- type NodeOvercommitment
- func (n *NodeOvercommitment) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, ...) *framework.Status
- func (n *NodeOvercommitment) Name() string
- func (n *NodeOvercommitment) PreFilter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status)
- func (n *NodeOvercommitment) PreFilterExtensions() framework.PreFilterExtensions
- func (n *NodeOvercommitment) Reserve(ctx context.Context, state *framework.CycleState, pod *corev1.Pod, ...) *framework.Status
- func (n *NodeOvercommitment) Unreserve(ctx context.Context, state *framework.CycleState, pod *corev1.Pod, ...)
Constants ¶
View Source
const (
// Name is the name of the plugin used in the plugin registry and configurations.
Name = "NodeOvercommitment"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeOvercommitment ¶
type NodeOvercommitment struct{}
func (*NodeOvercommitment) Name ¶
func (n *NodeOvercommitment) Name() string
func (*NodeOvercommitment) PreFilter ¶
func (n *NodeOvercommitment) PreFilter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status)
func (*NodeOvercommitment) PreFilterExtensions ¶
func (n *NodeOvercommitment) PreFilterExtensions() framework.PreFilterExtensions
func (*NodeOvercommitment) Reserve ¶
func (n *NodeOvercommitment) Reserve(ctx context.Context, state *framework.CycleState, pod *corev1.Pod, nodeName string) *framework.Status
func (*NodeOvercommitment) Unreserve ¶
func (n *NodeOvercommitment) Unreserve(ctx context.Context, state *framework.CycleState, pod *corev1.Pod, nodeName string)
Click to show internal directories.
Click to hide internal directories.