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. // PluginFactoryArgs are passed to all plugin factory functions.
type PluginFactoryArgs struct { type PluginFactoryArgs struct {
algorithm.PodLister PodLister algorithm.PodLister
algorithm.ServiceLister ServiceLister algorithm.ServiceLister
algorithm.ControllerLister ControllerLister algorithm.ControllerLister
NodeLister algorithm.NodeLister NodeLister algorithm.NodeLister
NodeInfo predicates.NodeInfo NodeInfo predicates.NodeInfo
PVInfo predicates.PersistentVolumeInfo PVInfo predicates.PersistentVolumeInfo
PVCInfo predicates.PersistentVolumeClaimInfo PVCInfo predicates.PersistentVolumeClaimInfo
} }
// A FitPredicateFactory produces a FitPredicate from the given args. // A FitPredicateFactory produces a FitPredicate from the given args.