open-nomad/vendor/github.com/hashicorp/nomad/api
Seth Hoenig bb8a5816a0 jobspec: add support for headers in artifact stanza
This PR adds the ability to set HTTP headers when downloading
an artifact from an `http` or `https` resource.

The implementation in `go-getter` is such that a new `HTTPGetter`
must be created for each artifact that sets headers (as opposed
to conveniently setting headers per-request). This PR maintains
the memoization of the default Getter objects, creating new ones
only for artifacts where headers are set.

Closes #9306
2020-11-13 12:03:54 -06:00
..
contexts auto-complete for recommendations CLI, plus OSS components of recommendations prefix search 2020-11-11 11:13:43 +00:00
acl.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
agent.go api: nomad debug new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
allocations.go api: add field filters to /v1/{allocations,nodes} 2020-10-14 10:35:22 -07:00
api.go Add API support for cancelation contexts passed via QueryOptions and WriteOptions (#8836) 2020-09-09 16:22:07 -04:00
constraint.go Update vendored libraries 2020-10-21 15:46:56 -04:00
csi.go Update vendored libraries 2020-10-21 15:46:56 -04:00
deployments.go multiregion CLI: nomad deployment unblock 2020-06-17 11:03:44 -04:00
evaluations.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
event_sink.go make sync to update event stream api (#9274) 2020-11-05 10:06:56 -05:00
event_stream.go re-run make sync from earlier event_stream changes (#9291) 2020-11-06 16:36:15 -05:00
fs.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go.mod Api/event stream payload values (#9277) 2020-11-05 13:04:18 -05:00
go.sum Api/event stream payload values (#9277) 2020-11-05 13:04:18 -05:00
ioutil.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
jobs.go Don't parse the server-set fields of the job struct 2020-10-22 08:18:57 -04:00
namespace.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
nodes.go api: add field filters to /v1/{allocations,nodes} 2020-10-14 10:35:22 -07:00
operator.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_autopilot.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
operator_metrics.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
quota.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
raw.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
recommendations.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
regions.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
resources.go Update vendored libraries 2020-10-21 15:46:56 -04:00
scaling.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
search.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
sentinel.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
services.go Update vendored libraries 2020-10-21 15:46:56 -04:00
status.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
system.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
tasks.go jobspec: add support for headers in artifact stanza 2020-11-13 12:03:54 -06:00
utils.go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00