Implements ControllerRevision API Object without codec and code

generation

Kubernetes-commit: ba128e6e417a8a2af062de0a81b4171e3a54a6fc
This commit is contained in:
Kenneth Owens
2017-05-10 18:05:50 -07:00
committed by Kubernetes Publisher
parent b1f4aacc70
commit 10e9ca1449
25 changed files with 2230 additions and 170 deletions

View File

@@ -65,6 +65,8 @@ func (f *genericInformer) Lister() cache.GenericLister {
func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource) (GenericInformer, error) {
switch resource {
// Group=Apps, Version=V1beta1
case v1beta1.SchemeGroupVersion.WithResource("controllerrevisions"):
return &genericInformer{resource: resource.GroupResource(), informer: f.Apps().V1beta1().ControllerRevisions().Informer()}, nil
case v1beta1.SchemeGroupVersion.WithResource("deployments"):
return &genericInformer{resource: resource.GroupResource(), informer: f.Apps().V1beta1().Deployments().Informer()}, nil
case v1beta1.SchemeGroupVersion.WithResource("statefulsets"):