func NewManager(client DockerMetadataClient, cfg *config.Config) Manager {
	return &metadataManager{
		client:        client,
		cluster:       cfg.Cluster,
		dataDir:       cfg.DataDir,
		dataDirOnHost: cfg.DataDirOnHost,
		osWrap:        oswrapper.NewOS(),
		ioutilWrap:    ioutilwrapper.NewIOUtil(),
	}
}
func NewManager(client DockerMetadataClient, cfg *config.Config) Manager {
	return &metadataManager{
		client:        client,
		cluster:       cfg.Cluster,
		dataDir:       cfg.DataDir,
		dataDirOnHost: cfg.DataDirOnHost,
		osWrap:        oswrapper.NewOS(),
		ioutilWrap:    ioutilwrapper.NewIOUtil(),
	}
}
func NewManager ( client DockerMetadataClient , cfg * config . Config ) Manager { return & metadataManager { client : client , cluster : cfg . Cluster , dataDir : cfg . DataDir , dataDirOnHost : cfg . DataDirOnHost , osWrap : oswrapper . NewOS ( ) , ioutilWrap : ioutilwrapper . NewIOUtil ( ) , } }
// NewManager creates a metadataManager for a given DockerTaskEngine settings.
NewManager creates a metadataManager for a given DockerTaskEngine settings .