Integrate images into a providers layer

This commit is contained in:
CrazyMax
2019-12-11 22:30:35 +01:00
parent 06d8974fe6
commit a2bfb6534e
8 changed files with 155 additions and 152 deletions

View File

@@ -1,4 +1,4 @@
package _dev
package docker
import (
"context"
@@ -8,7 +8,7 @@ import (
// Client represents an active docker object
type Client struct {
Cli *client.Client
Api *client.Client
}
// NewEnvClient initializes a new Docker API client based on environment variables
@@ -23,5 +23,5 @@ func NewEnvClient() (*Client, error) {
return nil, err
}
return &Client{Cli: d}, err
return &Client{Api: d}, err
}