You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ParserArgs is the struct to pass into parser functions which contains required info for parsing devfile.
58
+
// It accepts devfile path, devfile URL or devfile content in []byte format.
59
+
// Path is a relative or absolute devfile path.
60
+
// URL is the URL address of the specific devfile.
61
+
// Data is the devfile content in []byte format.
62
+
// FlattenedDevfile defines if the returned devfileObj is flattened content (true) or raw content (false), the value is default to be true.
63
+
// RegistryURLs is a list of registry hosts which parser should pull parent devfile from. If registryUrl is defined in devfile, this list will be ignored.
57
64
typeParserArgsstruct {
58
-
pathstring
59
-
urlstring
60
-
data []byte
61
-
flattenedDevfile*bool// default to true
62
-
registryURLs []string
65
+
Pathstring
66
+
URLstring
67
+
Data []byte
68
+
FlattenedDevfile*bool// default to true
69
+
RegistryURLs []string
63
70
}
64
71
65
72
// ParseDevfile func populates the devfile data, parses and validates the devfile integrity.
0 commit comments