Merge pull request #19970 from caesarxuchao/namespaced-cacher

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-01-30 03:44:19 -08:00
24 changed files with 44 additions and 26 deletions

View File

@@ -118,3 +118,9 @@ func objectMetaAndKind(typer runtime.ObjectTyper, obj runtime.Object) (*api.Obje
}
return objectMeta, kind, nil
}
// NamespaceScopedStrategy has a method to tell if the object must be in a namespace.
type NamespaceScopedStrategy interface {
// NamespaceScoped returns if the object must be in a namespace.
NamespaceScoped() bool
}