Add events to kubectl (still need search function)

Without context, what I see is a public function that expands shortcuts
into canonical form, but does not handle all shortcuts, and dopes not
explain why not.

Comment?  don't export?

On Tue, Nov 4, 2014 at 3:07 PM, Daniel Smith <notifications@github.com>
wrote:

> In pkg/kubectl/kubectl.go:
>
> > @@ -146,3 +146,19 @@ func makeImageList(manifest api.ContainerManifest) string {
> >  	}
> >  	return strings.Join(images, ",")
> >  }
> > +
> > +// ExpandResourceShortcut will return the expanded version of resource, if it is
> > +// indeed a shortcut. Otherwise, will return resource unmodified.
> > +func ExpandResourceShortcut(resource string) string {
>
> That last one doesn't work anymore after @smarterclayton
> <https://github.com/smarterclayton>'s latest change. This change adds it
> back in.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/2148/files#r19844014>
> .
>