api_params.go 991 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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
  12. }
  13. type ApiInfo struct {
  14. Containers int
  15. Version string
  16. Images int
  17. Debug bool
  18. GoVersion string
  19. NFd int `json:",omitempty"`
  20. NGoroutines int `json:",omitempty"`
  21. }
  22. type ApiContainers struct {
  23. Id string
  24. Image string
  25. Command string
  26. Created int64
  27. Status string
  28. Ports string
  29. }
  30. type ApiSearch struct {
  31. Name string
  32. Description string
  33. }
  34. type ApiId struct {
  35. Id string
  36. }
  37. type ApiRun struct {
  38. Id string
  39. Warnings []string
  40. }
  41. type ApiPort struct {
  42. Port string
  43. }
  44. type ApiVersion struct {
  45. Version string
  46. GitCommit string
  47. MemoryLimit bool
  48. SwapLimit bool
  49. }
  50. type ApiWait struct {
  51. StatusCode int
  52. }
  53. type ApiAuth struct {
  54. Status string
  55. }
  56. type ApiImageConfig struct {
  57. Id string
  58. *Config
  59. }