feat: support different versions of the same box

This commit is contained in:
Anton
2023-12-20 22:43:07 +05:00
parent 162ca55092
commit ade821ff61
7 changed files with 213 additions and 29 deletions

View File

@@ -59,7 +59,8 @@ type Box struct {
Runtime string `json:"runtime"`
Host
Files []string `json:"files"`
Versions []string `json:"versions"`
Files []string `json:"files"`
}
// A Host describes container Host attributes.
@@ -96,6 +97,7 @@ type Command struct {
// A Step describes a single step of a command.
type Step struct {
Box string `json:"box"`
Version string `json:"version"`
User string `json:"user"`
Action string `json:"action"`
Stdin bool `json:"stdin"`