terraform/internal
Martin Atkins ffba8064ed terminal: StreamsForTesting helper
This is to allow convenient testing of functions that are designed to work
directly with *terminal.Streams or the individual stream objects inside.

Because the InputStream and OutputStream APIs expose directly an *os.File,
this does some extra work to set up OS-level pipes so we can capture the
output into local buffers to make test assertions against. The idea here
is to keep the tricky stuff we need for testing confined to the test
codepaths, so that the "real" codepaths don't end up needing to work
around abstractions that are otherwise unnecessary.
2021-02-10 11:51:56 -08:00
..
copy deprecate helper/copy 2020-10-08 08:42:16 -04:00
depsfile fix file mode on lock file (#27205) 2020-12-18 11:51:59 -05:00
didyoumean didyoumean: move from "helper" to "internal" 2020-10-02 13:35:07 -07:00
earlyconfig internal/earlyconfig: staticcheck 2020-12-02 13:59:19 -05:00
getproviders fix: do not fail when provider symlink is broken. Only print a warning. 2021-01-08 12:51:09 +01:00
grpcwrap add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
helper Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
initwd use a single log writer 2020-10-19 14:29:54 -04:00
legacy Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
logging Grammar nit: "setup" as a verb should be spelled "set up" 2021-01-26 20:39:11 +01:00
modsdir internal/modsdir: Fix Dropped Error (#24600) 2020-06-04 10:26:26 -04:00
provider-simple add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
provider-terraform/main add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
providercache Emit ProviderAlreadyInstalled when provider installed 2021-02-09 11:08:49 -05:00
provisioner-local-exec/main add grpcwrap.Provisioner 2020-12-02 12:45:00 -05:00
replacefile replacefile: don't create the temporary file in TMPDIR 2020-10-20 16:29:59 -07:00
terminal terminal: StreamsForTesting helper 2021-02-10 11:51:56 -08:00
tfplugin5 regenerate plugin proto with correct tooling 2020-12-01 14:06:49 -05:00
typeexpr internal/typeexpr: staticcheck 2020-12-02 13:59:19 -05:00