Class KubernetesExecuteAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.kubernetes.actions.KubernetesExecuteAction
- All Implemented Interfaces:
Described,Named,TestAction,TestActorAware
Executes kubernetes command with given kubernetes client implementation. Possible command result is stored within command object.
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAction builder. -
Field Summary
FieldsFields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(TestContext context) Gets the kubernetes command to execute.Gets the expected control command result data.Gets the expected control command result expressions such as JsonPath expressions.Gets the kubernetes client.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Field Details
-
DEFAULT_JSON_MESSAGE_VALIDATOR
- See Also:
-
DEFAULT_JSON_PATH_MESSAGE_VALIDATOR
- See Also:
-
-
Constructor Details
-
KubernetesExecuteAction
Default constructor.
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classAbstractTestAction
-
getCommand
Gets the kubernetes command to execute.- Returns:
-
getKubernetesClient
Gets the kubernetes client.- Returns:
-
getCommandResult
Gets the expected control command result data.- Returns:
-
getCommandResultExpressions
Gets the expected control command result expressions such as JsonPath expressions.- Returns:
-