Skip to content

Commit 8d7c70e

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 8d7c70e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/extension/types.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ type Suite struct {
8484
}
8585

8686
type Image struct {
87+
Index int `json:"index"`
88+
Registry string `json:"registry"`
89+
Name string `json:"name"`
90+
Version string `json:"version"`
91+
Mapped MappedImage `json:"mapped,omitempty"`
92+
}
93+
94+
type MappedImage struct {
8795
Index int `json:"index"`
8896
Registry string `json:"registry"`
8997
Name string `json:"name"`

0 commit comments

Comments
 (0)