api_params.go 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. }