api_params.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package docker
  2. type SimpleMessage struct {
  3. Message string
  4. }
  5. type HistoryIn struct {
  6. Name string
  7. }
  8. type HistoryOut struct {
  9. Id string
  10. Created string
  11. CreatedBy string
  12. }
  13. type ImagesIn struct {
  14. NameFilter string
  15. Quiet bool
  16. All bool
  17. }
  18. type ImagesOut struct {
  19. Repository string `json:",omitempty"`
  20. Tag string `json:",omitempty"`
  21. Id string
  22. Created string `json:",omitempty"`
  23. }
  24. type InfoOut struct {
  25. Containers int
  26. Version string
  27. Images int
  28. Debug bool
  29. NFd int `json:",omitempty"`
  30. NGoroutines int `json:",omitempty"`
  31. }
  32. type PsIn struct {
  33. Quiet bool
  34. All bool
  35. Full bool
  36. Last int
  37. }
  38. type PsOut struct {
  39. Id string
  40. Image string `json:",omitempty"`
  41. Command string `json:",omitempty"`
  42. Created string `json:",omitempty"`
  43. Status string `json:",omitempty"`
  44. }
  45. type PullIn struct {
  46. Name string
  47. }
  48. type LogsIn struct {
  49. Name string
  50. }
  51. type LogsOut struct {
  52. Stdout string
  53. Stderr string
  54. }
  55. type VersionOut struct {
  56. Version string
  57. GitCommit string
  58. MemoryLimitDisabled bool
  59. }