code: func initPolicyFromConfigMap(client clientset.Interface, policyRef *kubeschedulerconfig.SchedulerPolicyConfigMapSource, policy *schedulerapi.Policy) error {
  	// Use a policy serialized in a config map value.
  	policyConfigMap, err := client.CoreV1().ConfigMaps(policyRef.Namespace).Get(policyRef.Name, metav1.GetOptions{})
  	if err != nil {
  		return fmt.Errorf("couldn't get policy config map %s/%s: %v", policyRef.Namespace, policyRef.Name, err)
  	}
  	data, found := policyConfigMap.Data[kubeschedulerconfig.SchedulerPolicyConfigMapKey]
  	if !found {
  		return fmt.Errorf("missing policy config map value at key %q", kubeschedulerconfig.SchedulerPolicyConfigMapKey)
  	}
  	err = runtime.DecodeInto(latestschedulerapi.Codec, []byte(data), policy)
  	if err != nil {
  		return fmt.Errorf("invalid policy: %v", err)
  	}
  	return nil
  }
docs: // initPolicyFromConfigMap initialize policy from configMap