Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultAPIVersion is the default docker API version set by libcompose
DefaultAPIVersion = "v1.20"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory 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 project.Service) client.APIClient
}
Factory is a factory to create docker clients.
func NewDefaultFactory ¶
NewDefaultFactory creates and returns the default client factory that uses github.com/docker/docker client.
Click to show internal directories.
Click to hide internal directories.