improve test coverage and add an api-server mock

This commit is contained in:
Simon Aronsson 2019-04-17 21:28:48 +02:00
parent 3a63b5556f
commit e2228f1b0b
9 changed files with 836 additions and 19 deletions

View file

@ -44,7 +44,7 @@ func NewClient(pullImages bool) Client {
}
type dockerClient struct {
api *dockerclient.Client
api dockerclient.CommonAPIClient
pullImages bool
}