Class V1ExecAction
java.lang.Object
io.kubernetes.client.openapi.models.V1ExecAction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1ExecAction
extends Object
ExecAction describes a \"run in container\" action.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddCommandItem
(String commandItem) boolean
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.int
hashCode()
void
setCommand
(List<String> command) toString()
-
Field Details
-
SERIALIZED_NAME_COMMAND
- See Also:
-
-
Constructor Details
-
V1ExecAction
public V1ExecAction()
-
-
Method Details
-
command
-
addCommandItem
-
getCommand
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.- Returns:
- command
-
setCommand
-
equals
-
hashCode
public int hashCode() -
toString
-