github.com/rawahars/moby@v24.0.4+incompatible/testutil/environment/special_images.go (about)

     1  package environment
     2  
     3  // Graph driver image store identifies images by the ID of their config.
     4  const DanglingImageIdGraphDriver = "sha256:0df1207206e5288f4a989a2f13d1f5b3c4e70467702c1d5d21dfc9f002b7bd43"
     5  
     6  // The containerd image store identifies images by the ID of their manifest/manifest list.
     7  const DanglingImageIdSnapshotter = "sha256:16d365089e5c10e1673ee82ab5bba38ade9b763296ad918bd24b42a1156c5456"
     8  
     9  func GetTestDanglingImageId(testEnv *Execution) string {
    10  	if testEnv.UsingSnapshotter() {
    11  		return DanglingImageIdSnapshotter
    12  	}
    13  	return DanglingImageIdGraphDriver
    14  }