var createNode … const filter … const prioritize … const bind … const extendedResourceName … type fitPredicate … type priorityFunc … type priorityConfig … type Extender … func (e *Extender) serveHTTP(t *testing.T, w http.ResponseWriter, req *http.Request) { … } func (e *Extender) filterUsingNodeCache(args *extenderv1.ExtenderArgs) (*extenderv1.ExtenderFilterResult, error) { … } func (e *Extender) Filter(args *extenderv1.ExtenderArgs) (*extenderv1.ExtenderFilterResult, error) { … } func (e *Extender) Prioritize(args *extenderv1.ExtenderArgs) (*extenderv1.HostPriorityList, error) { … } func (e *Extender) Bind(binding *extenderv1.ExtenderBindingArgs) error { … } func machine1_2_3Predicate(pod *v1.Pod, node *v1.Node) (bool, error) { … } func machine2_3_5Predicate(pod *v1.Pod, node *v1.Node) (bool, error) { … } func machine2Prioritizer(pod *v1.Pod, nodes *v1.NodeList) (*extenderv1.HostPriorityList, error) { … } func machine3Prioritizer(pod *v1.Pod, nodes *v1.NodeList) (*extenderv1.HostPriorityList, error) { … } func TestSchedulerExtender(t *testing.T) { … } func DoTestPodScheduling(ns *v1.Namespace, t *testing.T, cs clientset.Interface) { … }