Documentation ¶
Index ¶
- type FakeNominator
- func (nm *FakeNominator) AddNominatedReservation(pod *corev1.Pod, nodeName string, rInfo *frameworkext.ReservationInfo)
- func (nm *FakeNominator) AddNominatedReservePod(rInfo *corev1.Pod, nodeName string)
- func (nm *FakeNominator) DeleteNominatedReservePod(rInfo *corev1.Pod)
- func (nm *FakeNominator) GetNominatedReservation(pod *corev1.Pod, nodeName string) *frameworkext.ReservationInfo
- func (nm *FakeNominator) Name() string
- func (nm *FakeNominator) NominateReservation(ctx context.Context, cycleState *framework.CycleState, pod *corev1.Pod, ...) (*frameworkext.ReservationInfo, *framework.Status)
- func (nm *FakeNominator) RemoveNominatedReservations(pod *corev1.Pod)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNominator ¶
type FakeNominator struct {
// contains filtered or unexported fields
}
func NewFakeReservationNominator ¶
func NewFakeReservationNominator() *FakeNominator
func (*FakeNominator) AddNominatedReservation ¶
func (nm *FakeNominator) AddNominatedReservation(pod *corev1.Pod, nodeName string, rInfo *frameworkext.ReservationInfo)
func (*FakeNominator) AddNominatedReservePod ¶ added in v1.5.0
func (nm *FakeNominator) AddNominatedReservePod(rInfo *corev1.Pod, nodeName string)
func (*FakeNominator) DeleteNominatedReservePod ¶ added in v1.5.0
func (nm *FakeNominator) DeleteNominatedReservePod(rInfo *corev1.Pod)
func (*FakeNominator) GetNominatedReservation ¶
func (nm *FakeNominator) GetNominatedReservation(pod *corev1.Pod, nodeName string) *frameworkext.ReservationInfo
func (*FakeNominator) Name ¶
func (nm *FakeNominator) Name() string
func (*FakeNominator) NominateReservation ¶
func (nm *FakeNominator) NominateReservation(ctx context.Context, cycleState *framework.CycleState, pod *corev1.Pod, nodeName string) (*frameworkext.ReservationInfo, *framework.Status)
func (*FakeNominator) RemoveNominatedReservations ¶
func (nm *FakeNominator) RemoveNominatedReservations(pod *corev1.Pod)
Click to show internal directories.
Click to hide internal directories.