Add Build watch support

Yes, and they're also wrong.  No one has fixed it yet.


> On Oct 30, 2014, at 9:39 AM, Andy Goldstein <notifications@github.com> wrote:
> 
> In pkg/build/registry/build/rest.go:
> 
> > @@ -98,3 +99,15 @@ func (r *REST) Update(ctx kubeapi.Context, obj runtime.Object) (<-chan runtime.O
> >  		return build, nil
> >  	}), nil
> >  }
> > +
> > +// Watch begins watching for new, changed, or deleted Builds.
> > +func (s *REST) Watch(ctx kubeapi.Context, label, field labels.Selector, resourceVersion string) (watch.Interface, error) {
> > +	return s.registry.WatchBuilds(resourceVersion, func(build *api.Build) bool {
> If that's the case, upstream isn't consistent. See e.g. https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/registry/pod/rest.go#L152
> 
> —
> Reply to this email directly or view it on GitHub.