types_windows.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package libcontainerd
  2. import (
  3. "github.com/Microsoft/hcsshim"
  4. opengcs "github.com/Microsoft/opengcs/client"
  5. "github.com/opencontainers/runtime-spec/specs-go"
  6. )
  7. // Process contains information to start a specific application inside the container.
  8. type Process specs.Process
  9. // Summary contains a ProcessList item from HCS to support `top`
  10. type Summary hcsshim.ProcessListItem
  11. // StateInfo contains description about the new state container has entered.
  12. type StateInfo struct {
  13. CommonStateInfo
  14. // Platform specific StateInfo
  15. UpdatePending bool // Indicates that there are some update operations pending that should be completed by a servicing container.
  16. }
  17. // Stats contains statistics from HCS
  18. type Stats hcsshim.Statistics
  19. // Resources defines updatable container resource values.
  20. type Resources struct{}
  21. // LCOWOption is a CreateOption required for LCOW configuration
  22. type LCOWOption struct {
  23. Config *opengcs.Config
  24. }
  25. // Checkpoint holds the details of a checkpoint (not supported in windows)
  26. type Checkpoint struct {
  27. Name string
  28. }
  29. // Checkpoints contains the details of a checkpoint
  30. type Checkpoints struct {
  31. Checkpoints []*Checkpoint
  32. }