Package k8s.io.api.core.v1
Interface Generated.PodExecOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PodExecOptions,Generated.PodExecOptions.Builder
- Enclosing class:
- Generated
public static interface Generated.PodExecOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCommand(int index)Command is the remote command to execute.com.google.protobuf.ByteStringgetCommandBytes(int index)Command is the remote command to execute.intgetCommandCount()Command is the remote command to execute.List<String>getCommandList()Command is the remote command to execute.StringgetContainer()Container in which to execute the command.com.google.protobuf.ByteStringgetContainerBytes()Container in which to execute the command.booleangetStderr()Redirect the standard error stream of the pod for this call.booleangetStdin()Redirect the standard input stream of the pod for this call.booleangetStdout()Redirect the standard output stream of the pod for this call.booleangetTty()TTY if true indicates that a tty will be allocated for the exec call.booleanhasContainer()Container in which to execute the command.booleanhasStderr()Redirect the standard error stream of the pod for this call.booleanhasStdin()Redirect the standard input stream of the pod for this call.booleanhasStdout()Redirect the standard output stream of the pod for this call.booleanhasTty()TTY if true indicates that a tty will be allocated for the exec call.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStdin
boolean hasStdin()
Redirect the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;- Returns:
- Whether the stdin field is set.
-
getStdin
boolean getStdin()
Redirect the standard input stream of the pod for this call. Defaults to false. +optional
optional bool stdin = 1;- Returns:
- The stdin.
-
hasStdout
boolean hasStdout()
Redirect the standard output stream of the pod for this call. +optional
optional bool stdout = 2;- Returns:
- Whether the stdout field is set.
-
getStdout
boolean getStdout()
Redirect the standard output stream of the pod for this call. +optional
optional bool stdout = 2;- Returns:
- The stdout.
-
hasStderr
boolean hasStderr()
Redirect the standard error stream of the pod for this call. +optional
optional bool stderr = 3;- Returns:
- Whether the stderr field is set.
-
getStderr
boolean getStderr()
Redirect the standard error stream of the pod for this call. +optional
optional bool stderr = 3;- Returns:
- The stderr.
-
hasTty
boolean hasTty()
TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. +optional
optional bool tty = 4;- Returns:
- Whether the tty field is set.
-
getTty
boolean getTty()
TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. +optional
optional bool tty = 4;- Returns:
- The tty.
-
hasContainer
boolean hasContainer()
Container in which to execute the command. Defaults to only container if there is only one container in the pod. +optional
optional string container = 5;- Returns:
- Whether the container field is set.
-
getContainer
String getContainer()
Container in which to execute the command. Defaults to only container if there is only one container in the pod. +optional
optional string container = 5;- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()
Container in which to execute the command. Defaults to only container if there is only one container in the pod. +optional
optional string container = 5;- Returns:
- The bytes for container.
-
getCommandList
List<String> getCommandList()
Command is the remote command to execute. argv array. Not executed within a shell. +listType=atomic
repeated string command = 6;- Returns:
- A list containing the command.
-
getCommandCount
int getCommandCount()
Command is the remote command to execute. argv array. Not executed within a shell. +listType=atomic
repeated string command = 6;- Returns:
- The count of command.
-
getCommand
String getCommand(int index)
Command is the remote command to execute. argv array. Not executed within a shell. +listType=atomic
repeated string command = 6;- Parameters:
index- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes(int index)
Command is the remote command to execute. argv array. Not executed within a shell. +listType=atomic
repeated string command = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
-