runtime.go 434 B

1234567891011121314
  1. package system
  2. // Runtime describes an OCI runtime
  3. type Runtime struct {
  4. // "Legacy" runtime configuration for runc-compatible runtimes.
  5. Path string `json:"path,omitempty"`
  6. Args []string `json:"runtimeArgs,omitempty"`
  7. // Shimv2 runtime configuration. Mutually exclusive with the legacy config above.
  8. Type string `json:"runtimeType,omitempty"`
  9. Options map[string]interface{} `json:"options,omitempty"`
  10. }