code: 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(),
  	}
  }
docs: // NewManager creates a metadataManager for a given DockerTaskEngine settings.