public class Attach
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Attach.AttachResult
AttachResult contains the result of an Attach call, it includes streams for stdout stderr and
stdin.
|
| Constructor and Description |
|---|
Attach()
Simple Attach API constructor, uses default configuration
|
Attach(io.kubernetes.client.ApiClient apiClient)
Attach API Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Attach.AttachResult |
attach(java.lang.String namespace,
java.lang.String name,
boolean stdin)
Attach to a running AttachResult in a container.
|
Attach.AttachResult |
attach(java.lang.String namespace,
java.lang.String name,
java.lang.String container,
boolean stdin,
boolean tty)
Attach to a running AttachResult in a container.
|
Attach.AttachResult |
attach(io.kubernetes.client.models.V1Pod pod,
boolean stdin)
Attach to a running AttachResult in a container.
|
Attach.AttachResult |
attach(io.kubernetes.client.models.V1Pod pod,
boolean stdin,
boolean tty)
Attach to a running AttachResult in a container.
|
Attach.AttachResult |
attach(io.kubernetes.client.models.V1Pod pod,
java.lang.String container,
boolean stdin,
boolean tty)
Attach to a running AttachResult in a container.
|
io.kubernetes.client.ApiClient |
getApiClient()
Get the API client for these Attach operations.
|
void |
setApiClient(io.kubernetes.client.ApiClient apiClient)
Set the API client for subsequent Attach operations.
|
public Attach()
public Attach(io.kubernetes.client.ApiClient apiClient)
apiClient - The api client to use.public io.kubernetes.client.ApiClient getApiClient()
public void setApiClient(io.kubernetes.client.ApiClient apiClient)
apiClient - The new API client to use.public Attach.AttachResult attach(java.lang.String namespace, java.lang.String name, boolean stdin) throws io.kubernetes.client.ApiException, java.io.IOException
namespace - The namespace of the Podname - The name of the Podstdin - If true, pass a stdin stream into the containerio.kubernetes.client.ApiExceptionjava.io.IOExceptionpublic Attach.AttachResult attach(io.kubernetes.client.models.V1Pod pod, boolean stdin) throws io.kubernetes.client.ApiException, java.io.IOException
pod - The pod where the command is run.stdin - If true, pass a stdin stream into the containerio.kubernetes.client.ApiExceptionjava.io.IOExceptionpublic Attach.AttachResult attach(io.kubernetes.client.models.V1Pod pod, boolean stdin, boolean tty) throws io.kubernetes.client.ApiException, java.io.IOException
pod - The pod where the command is run.stdin - If true, pass a stdin stream into the containertty - If true, stdin is a tty.io.kubernetes.client.ApiExceptionjava.io.IOExceptionpublic Attach.AttachResult attach(io.kubernetes.client.models.V1Pod pod, java.lang.String container, boolean stdin, boolean tty) throws io.kubernetes.client.ApiException, java.io.IOException
pod - The pod where the command is run.container - The container in the Pod where the command is run.stdin - If true, pass a stdin stream into the container.tty - If true, stdin is a TTY (only applies if stdin is true)io.kubernetes.client.ApiExceptionjava.io.IOExceptionpublic Attach.AttachResult attach(java.lang.String namespace, java.lang.String name, java.lang.String container, boolean stdin, boolean tty) throws io.kubernetes.client.ApiException, java.io.IOException
namespace - The namespace of the Podname - The name of the Podcontainer - The container in the Pod where the command is run.stdin - If true, pass a stdin stream into the container.tty - If true, stdin is a TTY (only applies if stdin is true)io.kubernetes.client.ApiExceptionjava.io.IOExceptionCopyright © 2019. All rights reserved.