update deployment lister

This commit is contained in:
deads2k
2016-10-04 13:11:07 -04:00
parent 617fa91264
commit 358a57d74a
10 changed files with 244 additions and 180 deletions

View File

@@ -38,6 +38,7 @@ type SharedInformerFactory interface {
PersistentVolumes() PVInformer
DaemonSets() DaemonSetInformer
Deployments() DeploymentInformer
}
type sharedInformerFactory struct {
@@ -102,3 +103,7 @@ func (f *sharedInformerFactory) PersistentVolumes() PVInformer {
func (f *sharedInformerFactory) DaemonSets() DaemonSetInformer {
return &daemonSetInformer{sharedInformerFactory: f}
}
func (f *sharedInformerFactory) Deployments() DeploymentInformer {
return &deploymentInformer{sharedInformerFactory: f}
}