PluginFactoryArgs: Expose explicit fields

None of the embedded fields are used for inheritance methods. Expose
them for better code analysis.
This commit is contained in:
Hongchao Deng 2016-01-27 18:26:12 -08:00
parent 458eb5284a
commit 70408d2cbd

View File

@ -33,13 +33,13 @@ import (
// PluginFactoryArgs are passed to all plugin factory functions.
type PluginFactoryArgs struct {
algorithm.PodLister
algorithm.ServiceLister
algorithm.ControllerLister
NodeLister algorithm.NodeLister
NodeInfo predicates.NodeInfo
PVInfo predicates.PersistentVolumeInfo
PVCInfo predicates.PersistentVolumeClaimInfo
PodLister algorithm.PodLister
ServiceLister algorithm.ServiceLister
ControllerLister algorithm.ControllerLister
NodeLister algorithm.NodeLister
NodeInfo predicates.NodeInfo
PVInfo predicates.PersistentVolumeInfo
PVCInfo predicates.PersistentVolumeClaimInfo
}
// A FitPredicateFactory produces a FitPredicate from the given args.