Update some docker provider test

- Split the file into smaller ones (docker, swarm and service tests)
- Use some builder to reduce a little bit the noise for creating containers

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2017-04-15 16:46:44 +02:00
parent 3f293ee25b
commit b04ba36682
7 changed files with 1797 additions and 2565 deletions

View file

@ -41,7 +41,7 @@ const (
var _ provider.Provider = (*Provider)(nil)
// Provider holds configurations of the Provider p.
// Provider holds configurations of the Provider.
type Provider struct {
provider.BaseProvider `mapstructure:",squash"`
Endpoint string `description:"Provider server endpoint. Can be a tcp or a unix socket endpoint"`