Files
virtual-kubelet/vendor/github.com/hyperhq/libcompose/project/client_factory.go
2017-12-05 17:53:58 -06:00

12 lines
362 B
Go

package project
import "github.com/docker/engine-api/client"
// ClientFactory is a factory to create docker clients.
type ClientFactory interface {
// Create constructs a Docker client for the given service. The passed in
// config may be nil in which case a generic client for the project should
// be returned.
Create(service Service) client.APIClient
}