type getNodeAnyWayFuncType …
type pluginResourceUpdateFuncType …
type AdmissionFailureHandler …
type predicateAdmitHandler …
var _ …
func NewPredicateAdmitHandler(getNodeAnyWayFunc getNodeAnyWayFuncType, admissionFailureHandler AdmissionFailureHandler, pluginResourceUpdateFunc pluginResourceUpdateFuncType) PodAdmitHandler { … }
func (w *predicateAdmitHandler) Admit(attrs *PodAdmitAttributes) PodAdmitResult { … }
func rejectPodAdmissionBasedOnOSSelector(pod *v1.Pod, node *v1.Node) bool { … }
func rejectPodAdmissionBasedOnOSField(pod *v1.Pod) bool { … }
func removeMissingExtendedResources(pod *v1.Pod, nodeInfo *schedulerframework.NodeInfo) *v1.Pod { … }
type InsufficientResourceError …
func (e *InsufficientResourceError) Error() string { … }
type PredicateFailureReason …
func (e *InsufficientResourceError) GetReason() string { … }
func (e *InsufficientResourceError) GetInsufficientAmount() int64 { … }
type PredicateFailureError …
func (e *PredicateFailureError) Error() string { … }
func (e *PredicateFailureError) GetReason() string { … }
func generalFilter(pod *v1.Pod, nodeInfo *schedulerframework.NodeInfo) []PredicateFailureReason { … }