Commit 70408d2c authored by Hongchao Deng's avatar Hongchao Deng

PluginFactoryArgs: Expose explicit fields

None of the embedded fields are used for inheritance methods. Expose them for better code analysis.
parent 458eb528
...@@ -33,13 +33,13 @@ import ( ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment