api_params.go 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package docker
  2. type ApiHistory struct {
  3. Id string
  4. Created int64
  5. CreatedBy string
  6. }
  7. type ApiImages struct {
  8. Repository string `json:",omitempty"`
  9. Tag string `json:",omitempty"`
  10. Id string
  11. Created int64 `json:",omitempty"`
  12. }
  13. type ApiInfo struct {
  14. Containers int
  15. Version string
  16. Images int
  17. Debug bool
  18. NFd int `json:",omitempty"`
  19. NGoroutines int `json:",omitempty"`
  20. }
  21. type ApiContainers struct {
  22. Id string
  23. Image string `json:",omitempty"`
  24. Command string `json:",omitempty"`
  25. Created int64 `json:",omitempty"`
  26. Status string `json:",omitempty"`
  27. Ports string `json:",omitempty"`
  28. }
  29. type ApiSearch struct {
  30. Name string
  31. Description string
  32. }
  33. type ApiId struct {
  34. Id string
  35. }
  36. type ApiRun struct {
  37. Id string
  38. Warnings []string
  39. }
  40. type ApiPort struct {
  41. Port string
  42. }
  43. type ApiVersion struct {
  44. Version string
  45. GitCommit string
  46. MemoryLimit bool
  47. SwapLimit bool
  48. }
  49. type ApiWait struct {
  50. StatusCode int
  51. }
  52. type ApiAuth struct {
  53. Status string
  54. }