Brandon Philips
1a295f65c7
Merge pull request #123 from c4milo/shared-http-client
...
feat(util/http_client): Adds generic HTTP client
2014-05-22 14:37:32 -07:00
Camilo Aguilar
8ca3c2ed1f
style(httpbackoff -> pkg): Adjusts package name to follow convention
2014-05-22 14:37:19 -04:00
Camilo Aguilar
2cedebb4eb
style(util->httpbackoff): Changes package as per @philips suggestion
2014-05-21 21:12:16 -04:00
Camilo Aguilar
3e00a37ef5
feat(util/http_client): Adds generic HTTP client
...
Supports retries with exponential backoff as well as connection
timeouts and the ability to skip SSL/TLS verification.
This commit also refactors datasource and initialize packages
in order to use the new HTTP client.
2014-05-21 13:31:50 -04:00
Lars Wiegman
513a1eb602
Trim newlines from the cloud-config-url kernel parameter and added a test
...
- In the Fetch function trim whitespace from /proc/cmdline
- New test for Fetch function
- Added Location field to the procCmdline struct for testing
2014-05-21 11:09:39 +02:00
Brian Waldon
3de3d2c050
feat(proc-cmdline): Parse /proc/cmdline for cloud-config-url
...
If the --from-proc-cmdline flag is given to coreos-cloudinit, the local
/proc/cmdline file will be parsed for a cloud-config-url
2014-04-22 16:38:01 -07:00