Class AttachOptions

java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.docker.options.AttachOptions
All Implemented Interfaces:
HttpRequestOptions

public class AttachOptions extends BaseHttpRequestOptions
  • Constructor Details

    • AttachOptions

      public AttachOptions()
  • Method Details

    • stream

      public AttachOptions stream(boolean stream)
      Parameters:
      stream - When TTY is enabled, the stream is the raw data from the process PTY and client's stdin. When TTY is disabled, the stream is multiplexed to separate stdout and stderr.
      Returns:
      AttachOptions
    • logs

      public AttachOptions logs(boolean logs)
      Parameters:
      logs - require logs to be attached. Default false.
      Returns:
      AttachOptions
    • stdin

      public AttachOptions stdin(boolean stdin)
      Parameters:
      stdin - if stream=true, attach to stdin. Default false
      Returns:
      AttachOptions
    • stdout

      public AttachOptions stdout(boolean stdout)
      Parameters:
      stdout - if logs=true, return stdout log, if stream=true, attach to stdout. Default false
      Returns:
    • stderr

      public AttachOptions stderr(boolean stderr)
      Parameters:
      stderr - if logs=true, return stderr log, if stream=true, attach to stderr. Default false
      Returns: