An HTTPNode is a node that reads a Taskfile from a remote location via HTTP.
| 19 | |
| 20 | // An HTTPNode is a node that reads a Taskfile from a remote location via HTTP. |
| 21 | type HTTPNode struct { |
| 22 | *baseNode |
| 23 | url *url.URL // stores url pointing actual remote file. (e.g. with Taskfile.yml) |
| 24 | client *http.Client // HTTP client with optional TLS configuration |
| 25 | } |
| 26 | |
| 27 | // buildHTTPClient creates an HTTP client with optional TLS configuration. |
| 28 | // If no certificate options are provided, it returns http.DefaultClient. |
nothing calls this directly
no outgoing calls
no test coverage detected