Initial framework for external volumes. 

Lays the framework for external volume mounts, preparing for 
persistent disks and other volumes.

Currently, it only supports host directory mounts and empty directories.

Modifies the API to support mounts from Volumes
instead of VolumeMounts.

I thought about suggesting a HasAll(...) method


On Thu, Jul 17, 2014 at 1:46 PM, Daniel Smith <notifications@github.com>
wrote:

> In pkg/api/validation_test.go:
>
> >  	}
> >  	names, errs := validateVolumes(successCase)
> >  	if len(errs) != 0 {
> >  		t.Errorf("expected success: %v", errs)
> >  	}
> > -	if len(names) != 3 || !names.Has("abc") || !names.Has("123") || !names.Has("abc-123") {
> > +	if len(names) != 4 || !names.Has("abc") || !names.Has("123") || !names.Has("abc-123") || !names.Has("empty") {
>
> Extra credit: Write an "Equals" or Intersect method on util.StringSet...
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/452/files#r15082918>
> .
>