metadata-service: Add new datasource to download metadata

WIP

Thoughts on this approach? I'm recursively requesting all of the metadata endpoints and building a meta_data.json blob to return. In my testing, it took tens of milliseconds to generate. When I used pkg.HttpClient, it took about half a second to generate.
OK, we'll clean it up later


On Mon, Jun 23, 2014 at 11:43 AM, Alex Crawford <notifications@github.com>
wrote:

> In datasource/metadata_service.go:
>
> >  }
> >
> > -func (ms *metadataService) FetchUserdata() ([]byte, error) {
> > +func (self *metadataService) FetchUserdata() ([]byte, error) {
>
> Yeah.... The rest of cloudinit uses self. I wanted to keep it consistent
> (even if it was wrong).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/coreos/coreos-cloudinit/pull/154/files#r14092295>.
>