github.com/moby/docker@v26.1.3+incompatible/api/types/system/runtime.go (about) 1 package system 2 3 // Runtime describes an OCI runtime 4 type Runtime struct { 5 // "Legacy" runtime configuration for runc-compatible runtimes. 6 7 Path string `json:"path,omitempty"` 8 Args []string `json:"runtimeArgs,omitempty"` 9 10 // Shimv2 runtime configuration. Mutually exclusive with the legacy config above. 11 12 Type string `json:"runtimeType,omitempty"` 13 Options map[string]interface{} `json:"options,omitempty"` 14 } 15 16 // RuntimeWithStatus extends [Runtime] to hold [RuntimeStatus]. 17 type RuntimeWithStatus struct { 18 Runtime 19 Status map[string]string `json:"status,omitempty"` 20 }