Skip to content

Commit b5777cf

Browse files
committed
Add Mapped field to Image struct
The Mapped key will hold information regarding mapped images that can be used later for openshift-tests images cmd. Signed-off-by: Vu Dinh <[email protected]>
1 parent f7d932f commit b5777cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/extension/types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,7 @@ type Image struct {
8888
Registry string `json:"registry"`
8989
Name string `json:"name"`
9090
Version string `json:"version"`
91+
// Mapped is the image reference that this image is mirrored to by the image mirror tool.
92+
// This field should be populated if the mirrored image reference is predetermined by the test extensions.
93+
Mapped *Image `json:"mapped,omitempty"`
9194
}

0 commit comments

Comments
 (0)