Documentation ¶
Index ¶
- Constants
- func New(_ runtime.Object, handle handle.UnitFrameworkHandle) (framework.Plugin, error)
- type Reservation
- func (i *Reservation) Locating(ctx context.Context, unit framework.ScheduleUnit, ...) (framework.NodeGroup, *framework.Status)
- func (i *Reservation) Name() string
- func (i *Reservation) PostPreferNode(ctx context.Context, unitCycleState, podCycleState *framework.CycleState, ...) *framework.Status
- func (i *Reservation) PrePreferNode(ctx context.Context, unitCycleState, podCycleState *framework.CycleState, ...) (framework.NodeInfo, *framework.CycleState, *framework.Status)
- func (i *Reservation) PreparePreferNode(ctx context.Context, unitCycleState, state *framework.CycleState, pod *v1.Pod) *framework.Status
Constants ¶
View Source
const (
Name = "Reservation"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reservation ¶
type Reservation struct {
// contains filtered or unexported fields
}
func (*Reservation) Locating ¶
func (i *Reservation) Locating(ctx context.Context, unit framework.ScheduleUnit, unitCycleState *framework.CycleState, nodeGroup framework.NodeGroup) (framework.NodeGroup, *framework.Status)
func (*Reservation) Name ¶
func (i *Reservation) Name() string
func (*Reservation) PostPreferNode ¶
func (*Reservation) PrePreferNode ¶
func (i *Reservation) PrePreferNode(ctx context.Context, unitCycleState, podCycleState *framework.CycleState, pod *v1.Pod, nodeInfo framework.NodeInfo) (framework.NodeInfo, *framework.CycleState, *framework.Status)
func (*Reservation) PreparePreferNode ¶
func (i *Reservation) PreparePreferNode(ctx context.Context, unitCycleState, state *framework.CycleState, pod *v1.Pod) *framework.Status
Click to show internal directories.
Click to hide internal directories.