types.go 594 B

1234567891011121314151617181920
  1. package types
  2. // ContainerCreateResponse contains the information returned to a client on the
  3. // creation of a new container.
  4. type ContainerCreateResponse struct {
  5. // ID is the ID of the created container.
  6. ID string `json:"Id"`
  7. // Warnings are any warnings encountered during the creation of the container.
  8. Warnings []string `json:"Warnings"`
  9. }
  10. // POST /containers/{name:.*}/exec
  11. type ContainerExecCreateResponse struct {
  12. // ID is the exec ID.
  13. ID string `json:"Id"`
  14. // Warnings are any warnings encountered during the execution of the command.
  15. Warnings []string `json:"Warnings"`
  16. }