Update provider and cache

Update equivalent class & remove priority

Use controller ref

Directly clear the cache
This commit is contained in:
Harry Zhang
2016-08-15 14:07:27 +08:00
parent 4dc418c5ee
commit 204dbe7fdd
4 changed files with 182 additions and 0 deletions

View File

@@ -61,3 +61,5 @@ func EmptyMetadataProducer(pod *api.Pod) interface{} {
type PredicateFailureReason interface {
GetReason() string
}
type GetEquivalencePodFunc func(pod *api.Pod) interface{}