types_windows.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package libcontainerd
  2. import "github.com/docker/docker/libcontainerd/windowsoci"
  3. // Spec is the base configuration for the container.
  4. type Spec windowsoci.WindowsSpec
  5. // Process contains information to start a specific application inside the container.
  6. type Process windowsoci.Process
  7. // User specifies user information for the containers main process.
  8. type User windowsoci.User
  9. // Summary container a container summary from containerd
  10. type Summary struct {
  11. Pid uint32
  12. Command string
  13. }
  14. // StateInfo contains description about the new state container has entered.
  15. type StateInfo struct {
  16. CommonStateInfo
  17. // Platform specific StateInfo
  18. UpdatePending bool // Indicates that there are some update operations pending that should be completed by a servicing container.
  19. }
  20. // Stats contains a stats properties from containerd.
  21. type Stats struct{}
  22. // Resources defines updatable container resource values.
  23. type Resources struct{}
  24. // ServicingOption is an empty CreateOption with a no-op application that siginifies
  25. // the container needs to be use for a Windows servicing operation.
  26. type ServicingOption struct {
  27. IsServicing bool
  28. }