Commit graph

14 commits

Author SHA1 Message Date
Manuel Vogel
ad3e56da2b
feat: migrate to terraform-sdk v2 (#102)
* chore: runs v2 upgrade cmd
* chore: moves all files into the internal provider dir
* feat: migrates main and provider
* fix: migrates tests to provider factories
* fix: replace import state passthrough ctx func
* chore: bump tf-sdk to v2.4.4
* fix: acc test by adding stop grace period
* fix: move to validate diag functions
* test: switch from ctx TODO to Background
* feat: add state upgrade for restart_policy and auth

Co-authored-by: Shunsuke Suzuki <suzuki-shunsuke@users.noreply.github.com>
2021-03-18 08:30:54 +01:00
Shunsuke Suzuki
554797dfd9
chore: introduces golangci-lint (#32)
* refactor: fix code with golangci-lint
* ci: configure golangci-lint
* Closes #13
2020-12-20 11:04:51 +01:00
Suzuki Shunsuke
f213e3a348 style: format with gofumpt
https://github.com/mvdan/gofumpt

```
$ gofumpt -l -s -w docker/*
```
2020-12-12 19:26:11 +09:00
Manuel Vogel
8f41054638
fix: label for network and volume after improt 2019-12-17 17:28:25 +01:00
Manuel Vogel
2c8e63b44d
Merge branch 'xf/labels-iface' of git://github.com/xanderflood/terraform-provider-docker into xanderflood-xf/labels-iface 2019-12-17 17:28:09 +01:00
Manuel Vogel
434ca8c64b
feat: adds import for resources (#196)
Closes #99. Adds import for config service volume
2019-11-23 14:42:05 +01:00
Xander Flood
d878091f95 refactor migration code and fix a couple tests 2019-11-14 17:44:58 -05:00
Xander Flood
5babf5fb17 secret and network cleanup 2019-11-12 17:41:59 -05:00
dubo-dubon-duponey
27a9f37c69 Move to standalone plugin SDK (#200)
Closes #197 
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-09 20:25:38 +02:00
Alex Pilon
aab8fac508
provider: Ensured Go 1.11 in TravisCI and README
provider: Run go fix
provider: Run go fmt
provider: Encode go version 1.11.5 to .go-version file
2019-03-11 18:19:29 -04:00
Boris HUISGEN
eca96b960b Add labels to support docker stacks (#92)
* Add network labels and options attachable, ingress and ipv6
* Add volume labels
* Add secret labels
* Updates documentation
2018-10-18 12:39:58 +02:00
Manuel Vogel
5a40076c95
Feat/swarm 2 refactorings (#38)
* Removed id attribute of network resource.
* Extracted common validators. Removed custom hash functions.
2018-01-29 12:01:46 +01:00
Manuel Vogel
656c8a8c2f
Feat/swarm 1 update deps (#37)
* Removed id attribute of the network resource.
* Update dependencies. Mainly `go-dockerclient`
2018-01-24 09:31:23 +01:00
Jake Champlin
e23185d484
Transfer docker provider 2017-06-06 11:50:32 -04:00
Renamed from resource_docker_network.go (Browse further)