rename ExtenderConfig to Extender
This commit is contained in:
		| @@ -39,7 +39,7 @@ type ExtenderPreemptionArgs struct { | ||||
| 	// Pod being scheduled | ||||
| 	Pod *v1.Pod | ||||
| 	// Victims map generated by scheduler preemption phase | ||||
| 	// Only set NodeNameToMetaVictims if ExtenderConfig.NodeCacheCapable == true. Otherwise, only set NodeNameToVictims. | ||||
| 	// Only set NodeNameToMetaVictims if Extender.NodeCacheCapable == true. Otherwise, only set NodeNameToVictims. | ||||
| 	NodeNameToVictims     map[string]*Victims | ||||
| 	NodeNameToMetaVictims map[string]*MetaVictims | ||||
| } | ||||
| @@ -72,10 +72,10 @@ type ExtenderArgs struct { | ||||
| 	// Pod being scheduled | ||||
| 	Pod *v1.Pod | ||||
| 	// List of candidate nodes where the pod can be scheduled; to be populated | ||||
| 	// only if ExtenderConfig.NodeCacheCapable == false | ||||
| 	// only if Extender.NodeCacheCapable == false | ||||
| 	Nodes *v1.NodeList | ||||
| 	// List of candidate node names where the pod can be scheduled; to be | ||||
| 	// populated only if ExtenderConfig.NodeCacheCapable == true | ||||
| 	// populated only if Extender.NodeCacheCapable == true | ||||
| 	NodeNames *[]string | ||||
| } | ||||
|  | ||||
| @@ -85,10 +85,10 @@ type FailedNodesMap map[string]string | ||||
| // ExtenderFilterResult represents the results of a filter call to an extender | ||||
| type ExtenderFilterResult struct { | ||||
| 	// Filtered set of nodes where the pod can be scheduled; to be populated | ||||
| 	// only if ExtenderConfig.NodeCacheCapable == false | ||||
| 	// only if Extender.NodeCacheCapable == false | ||||
| 	Nodes *v1.NodeList | ||||
| 	// Filtered set of nodes where the pod can be scheduled; to be populated | ||||
| 	// only if ExtenderConfig.NodeCacheCapable == true | ||||
| 	// only if Extender.NodeCacheCapable == true | ||||
| 	NodeNames *[]string | ||||
| 	// Filtered out nodes where the pod can't be scheduled and the failure messages | ||||
| 	FailedNodes FailedNodesMap | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 silenceshell
					silenceshell