code: func NewHTTPExtender(config *schedulerapi.ExtenderConfig) (algorithm.SchedulerExtender, error) {
  	if config.HTTPTimeout.Nanoseconds() == 0 {
  		config.HTTPTimeout = time.Duration(DefaultExtenderTimeout)
  	}
  
  	transport, err := makeTransport(config)
  	if err != nil {
  		return nil, err
  	}
  	client := &http.Client{
  		Transport: transport,
  		Timeout:   config.HTTPTimeout,
  	}
  	managedResources := sets.NewString()
  	for _, r := range config.ManagedResources {
  		managedResources.Insert(string(r.Name))
  	}
  	return &HTTPExtender{
  		extenderURL:      config.URLPrefix,
  		preemptVerb:      config.PreemptVerb,
  		filterVerb:       config.FilterVerb,
  		prioritizeVerb:   config.PrioritizeVerb,
  		bindVerb:         config.BindVerb,
  		weight:           config.Weight,
  		client:           client,
  		nodeCacheCapable: config.NodeCacheCapable,
  		managedResources: managedResources,
  		ignorable:        config.Ignorable,
  	}, nil
  }
docs: // NewHTTPExtender creates an HTTPExtender object.