properties.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. import (
  11. v1 "github.com/containerd/cgroups/stats/v1"
  12. )
  13. type Properties struct {
  14. Id string `json:"Id,omitempty"`
  15. SystemType string `json:"SystemType,omitempty"`
  16. RuntimeOsType string `json:"RuntimeOsType,omitempty"`
  17. Name string `json:"Name,omitempty"`
  18. Owner string `json:"Owner,omitempty"`
  19. RuntimeId string `json:"RuntimeId,omitempty"`
  20. RuntimeTemplateId string `json:"RuntimeTemplateId,omitempty"`
  21. State string `json:"State,omitempty"`
  22. Stopped bool `json:"Stopped,omitempty"`
  23. ExitType string `json:"ExitType,omitempty"`
  24. Memory *MemoryInformationForVm `json:"Memory,omitempty"`
  25. Statistics *Statistics `json:"Statistics,omitempty"`
  26. ProcessList []ProcessDetails `json:"ProcessList,omitempty"`
  27. TerminateOnLastHandleClosed bool `json:"TerminateOnLastHandleClosed,omitempty"`
  28. HostingSystemId string `json:"HostingSystemId,omitempty"`
  29. SharedMemoryRegionInfo []SharedMemoryRegionInfo `json:"SharedMemoryRegionInfo,omitempty"`
  30. GuestConnectionInfo *GuestConnectionInfo `json:"GuestConnectionInfo,omitempty"`
  31. // Metrics is not part of the API for HCS but this is used for LCOW v2 to
  32. // return the full cgroup metrics from the guest.
  33. Metrics *v1.Metrics `json:"LCOWMetrics,omitempty"`
  34. }