WithInsecure allows the [Reader] to make insecure connections when reading remote taskfiles. By default, insecure connections are rejected.
(insecure bool)
| 87 | // WithInsecure allows the [Reader] to make insecure connections when reading |
| 88 | // remote taskfiles. By default, insecure connections are rejected. |
| 89 | func WithInsecure(insecure bool) ReaderOption { |
| 90 | return &insecureOption{insecure: insecure} |
| 91 | } |
| 92 | |
| 93 | type insecureOption struct { |
| 94 | insecure bool |
no outgoing calls
no test coverage detected
searching dependent graphs…