1package hcsshim
2
3import "github.com/sirupsen/logrus"
4
5// GetSharedBaseImages will enumerate the images stored in the common central
6// image store and return descriptive info about those images for the purpose
7// of registering them with the graphdriver, graph, and tagstore.
8func GetSharedBaseImages() (imageData string, err error) {
9	title := "hcsshim::GetSharedBaseImages "
10
11	logrus.Debugf("Calling proc")
12	var buffer *uint16
13	err = getBaseImages(&buffer)
14	if err != nil {
15		err = makeError(err, title, "")
16		logrus.Error(err)
17		return
18	}
19	imageData = convertAndFreeCoTaskMemString(buffer)
20	logrus.Debugf(title+" - succeeded output=%s", imageData)
21	return
22}
23