Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ExecAction
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ExecAction
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ExecAction extends Object
ExecAction describes a \"run in container\" action.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMMAND
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ExecAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1ExecActionaddCommandItem(String commandItem)IoK8sApiCoreV1ExecActioncommand(List<String> command)booleanequals(Object o)List<String>getCommand()Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem.inthashCode()voidsetCommand(List<String> command)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COMMAND
public static final String JSON_PROPERTY_COMMAND
- See Also:
- Constant Field Values
-
-
Method Detail
-
command
public IoK8sApiCoreV1ExecAction command(List<String> command)
-
addCommandItem
public IoK8sApiCoreV1ExecAction addCommandItem(String commandItem)
-
getCommand
@Nullable public List<String> 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
-
-