Add support for applying set of resources via kubectl

Discussion: https://github.com/GoogleCloudPlatform/kubernetes/issues/1905
Do you see us eventually making create work on singular and plural sets?  If so createall is a good incremental step.


> On Nov 3, 2014, at 10:35 PM, bgrant0607 <notifications@github.com> wrote:
> 
> In pkg/kubectl/cmd/apply.go:
> 
> > +			continue
> > +		}
> > +
> > +		obj, err := mapping.Codec.Decode(in.RawJSON)
> > +		if err != nil {
> > +			itemErrs := errs.ValidationErrorList{}
> > +			itemErrs = append(itemErrs, errs.NewFieldInvalid("decode", err))
> > +			errors = append(errors, itemErrs.PrefixIndex(i).Prefix("item")...)
> > +			continue
> > +		}
> > +		result = append(result, obj)
> > +	}
> > +	return
> > +}
> > +
> > +func NewCmdApply(out io.Writer) *cobra.Command {
> How about we call this createall instead of apply?
> 
> —
> Reply to this email directly or view it on GitHub.