options.go 394 B

12345678910111213141516171819
  1. package container
  2. // ResizeOptions holds parameters to resize a TTY.
  3. // It can be used to resize container TTYs and
  4. // exec process TTYs too.
  5. type ResizeOptions struct {
  6. Height uint
  7. Width uint
  8. }
  9. // AttachOptions holds parameters to attach to a container.
  10. type AttachOptions struct {
  11. Stream bool
  12. Stdin bool
  13. Stdout bool
  14. Stderr bool
  15. DetachKeys string
  16. Logs bool
  17. }