1
0
Fork 0

feat: define container volumes as a structure

master
dump_stack() 2023-05-14 21:24:01 +00:00
parent 1a2929a1aa
commit 42be5161d8
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 7 additions and 5 deletions

View File

@ -70,16 +70,18 @@ func ImagePath(sk config.KernelMask) string {
return config.Dir("containers", sk.DistroType.String(), sk.DistroRelease)
}
type Volumes struct {
LibModules string
UsrSrc string
Boot string
}
type Container struct {
name string
timeout time.Duration
Volumes struct {
LibModules string
UsrSrc string
Boot string
}
Volumes Volumes
// Additional arguments
Args []string