James Bardin
82305bf1c8
configs: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
8925d94387
dag: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
89a8624d8c
instances: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
d22e08bd32
internal/earlyconfig: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
f0c3ddf5a1
internal/getproviders: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
4ad7c41ab4
unused
2020-12-02 13:59:19 -05:00
James Bardin
276dfe634f
internal/providercache: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
1f359bab03
internal/typeexpr: staticcheck
...
diagnostics were appended to diags shadowing the intended value.
2020-12-02 13:59:19 -05:00
James Bardin
e08422511e
lang/funcs: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
a5f013830f
plans: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
fa3e534142
plans/planfile: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
b5e5adda01
plugin/discovery: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
3deeb94aac
registry: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
e347b012df
registry/test: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
c6cea8efc3
states/statefile: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
c2f8b06594
states/statemgr: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
0fb7d19191
states/statemgr: t.Fatal from goroutine
2020-12-02 13:59:19 -05:00
James Bardin
3a6c32cb1c
terraform: staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
41d4dd82d6
format staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
a1d41504f2
e2etest staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
1c58c6ba48
command staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
ccf0d8815f
staticcheck
2020-12-02 13:59:19 -05:00
James Bardin
2016b6bd1c
validate is no longer called from there
2020-12-02 13:59:19 -05:00
James Bardin
8b08ebc4b5
consistent recievers
2020-12-02 13:59:19 -05:00
James Bardin
6f577abc72
unused
2020-12-02 13:59:19 -05:00
James Bardin
f521fcca97
cleanup error handling and some for loops
2020-12-02 13:59:19 -05:00
James Bardin
96436f526a
unused err value and nil context
...
Incorrect err assignment had no effect.
Never use a nil context.
2020-12-02 13:59:19 -05:00
James Bardin
d2c2d58f09
unused
2020-12-02 13:59:19 -05:00
James Bardin
ddb5b9ee53
fix break from switch in loop
2020-12-02 13:59:19 -05:00
James Bardin
44ccb94e2e
remove unused
2020-12-02 13:59:18 -05:00
James Bardin
bdfea50cc8
remove unused
2020-12-02 13:59:18 -05:00
James Bardin
1e8537b8d4
remove unused
2020-12-02 13:59:18 -05:00
James Bardin
1b530b7d9d
remove unused
2020-12-02 13:59:18 -05:00
James Bardin
11e5ab0376
unchecked error
...
We don't need the nil checks if we check the error
2020-12-02 13:59:18 -05:00
James Bardin
810ab0386f
remove unused
2020-12-02 13:59:18 -05:00
James Bardin
729c9b6f10
consistent reciever names
2020-12-02 13:59:18 -05:00
James Bardin
c5299b5745
consistent reciever names
2020-12-02 13:59:18 -05:00
James Bardin
b2d0e20759
Merge pull request #27078 from hashicorp/jbardin/remove-netrpc-plugin
...
Remove netrpc plugin
2020-12-02 13:23:29 -05:00
James Bardin
0c107e502f
Merge pull request #27077 from hashicorp/jbardin/internal-provisioners
...
Internal, in-process provisioners
2020-12-02 13:23:13 -05:00
James Bardin
f2c5aa6d28
Merge pull request #27076 from hashicorp/jbardin/legacy-cleanup
...
Legacy types cleanup
2020-12-02 13:22:41 -05:00
James Bardin
381cc0b5d6
Merge pull request #26961 from hashicorp/jbardin/internal-legacy-packages
...
Move deprecated packages to internal/legacy
2020-12-02 13:19:50 -05:00
James Bardin
df56a5f8ae
remove dead code from tf provider
2020-12-02 13:07:10 -05:00
James Bardin
6aae0a94bd
remove netrpc plugins
...
Provisioner plugins were the last remaining use of the legacy netrpc
plugin interface (even though it was wrapped in shimmed into the grpc
protocol). Now that these types are no longer being used, we can remove
the old code from the plugin package entirely.
2020-12-02 13:07:10 -05:00
James Bardin
85b7027048
File no longer exists to be formatted
...
Were no longer generating the internal plugins list which needs to be
formatted.
2020-12-02 12:45:00 -05:00
James Bardin
1032db4f9d
remove generate-plugins script and test
...
We no longer use internal plugins.
2020-12-02 12:45:00 -05:00
James Bardin
f8ccbcd3bb
Add e2e test for provisioner plugin
...
Ensure we can still execute a 3rd party provisioner binary, using the
legacy plugin discovery location of the configuration root directory.
2020-12-02 12:45:00 -05:00
James Bardin
76cb40005a
add grpcwrap.Provisioner
...
Rename grpcwrap.New() to grpcwrap.Provider()
Add a grpcwrap function to create a test proivisioner plugin.
2020-12-02 12:45:00 -05:00
James Bardin
5e089c2c09
run built-in provisioners in-process
...
Use the new provisioner interfaces, and run the built-in provisioners
in-process.
2020-12-02 12:45:00 -05:00
James Bardin
256a7ec95a
rewrite file as an internal provisioner
2020-12-02 12:45:00 -05:00
James Bardin
1ec8d921d4
rewrite remote-exec as an internal provisioner
2020-12-02 12:45:00 -05:00