process_parameters.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * HCS API
  3. *
  4. * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
  5. *
  6. * API version: 2.1
  7. * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
  8. */
  9. package hcsschema
  10. type ProcessParameters struct {
  11. ApplicationName string `json:"ApplicationName,omitempty"`
  12. CommandLine string `json:"CommandLine,omitempty"`
  13. // optional alternative to CommandLine, currently only supported by Linux GCS
  14. CommandArgs []string `json:"CommandArgs,omitempty"`
  15. User string `json:"User,omitempty"`
  16. WorkingDirectory string `json:"WorkingDirectory,omitempty"`
  17. Environment map[string]string `json:"Environment,omitempty"`
  18. // if set, will run as low-privilege process
  19. RestrictedToken bool `json:"RestrictedToken,omitempty"`
  20. // if set, ignore StdErrPipe
  21. EmulateConsole bool `json:"EmulateConsole,omitempty"`
  22. CreateStdInPipe bool `json:"CreateStdInPipe,omitempty"`
  23. CreateStdOutPipe bool `json:"CreateStdOutPipe,omitempty"`
  24. CreateStdErrPipe bool `json:"CreateStdErrPipe,omitempty"`
  25. // height then width
  26. ConsoleSize []int32 `json:"ConsoleSize,omitempty"`
  27. // if set, find an existing session for the user and create the process in it
  28. UseExistingLogin bool `json:"UseExistingLogin,omitempty"`
  29. // if set, use the legacy console instead of conhost
  30. UseLegacyConsole bool `json:"UseLegacyConsole,omitempty"`
  31. }