Package org.jclouds.docker.options
Class AttachOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.docker.options.AttachOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class AttachOptions extends BaseHttpRequestOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttachOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description AttachOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachOptions
logs(boolean logs)
AttachOptions
stderr(boolean stderr)
AttachOptions
stdin(boolean stdin)
AttachOptions
stdout(boolean stdout)
AttachOptions
stream(boolean stream)
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Method Detail
-
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:
-
-