WithTrustedHosts configures the [Executor] with a list of trusted hosts for remote Taskfiles. Hosts in this list will not prompt for user confirmation.
(trustedHosts []string)
| 255 | // WithTrustedHosts configures the [Executor] with a list of trusted hosts for remote |
| 256 | // Taskfiles. Hosts in this list will not prompt for user confirmation. |
| 257 | func WithTrustedHosts(trustedHosts []string) ExecutorOption { |
| 258 | return &trustedHostsOption{trustedHosts} |
| 259 | } |
| 260 | |
| 261 | type trustedHostsOption struct { |
| 262 | trustedHosts []string |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…