Class AbstractListCommand<R extends io.fabric8.kubernetes.api.model.KubernetesResource,T extends KubernetesCommand<R>>
java.lang.Object
org.citrusframework.kubernetes.command.AbstractKubernetesCommand<R,T>
org.citrusframework.kubernetes.command.AbstractClientCommand<io.fabric8.kubernetes.client.dsl.ClientNonNamespaceOperation,R,T>
org.citrusframework.kubernetes.command.AbstractListCommand<R,T>
- All Implemented Interfaces:
KubernetesCommand<R>
- Direct Known Subclasses:
ListEndpoints,ListEvents,ListNamespaces,ListNodes,ListPods,ListReplicationControllers,ListServices
public abstract class AbstractListCommand<R extends io.fabric8.kubernetes.api.model.KubernetesResource,T extends KubernetesCommand<R>>
extends AbstractClientCommand<io.fabric8.kubernetes.client.dsl.ClientNonNamespaceOperation,R,T>
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractListCommand(String name) Default constructor initializing the command name. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(io.fabric8.kubernetes.client.dsl.ClientNonNamespaceOperation operation, TestContext context) Execute the mixed operationMethods inherited from class org.citrusframework.kubernetes.command.AbstractClientCommand
execute, operationMethods inherited from class org.citrusframework.kubernetes.command.AbstractKubernetesCommand
getCommandResult, getLabels, getName, getParameter, getParameters, getResultCallback, getWithoutLabels, hasParameter, label, label, name, namespace, setCommandResult, setParameters, validate, withoutLabel, withoutLabel, withParam
-
Constructor Details
-
AbstractListCommand
Default constructor initializing the command name.- Parameters:
name-
-
-
Method Details
-
execute
public void execute(io.fabric8.kubernetes.client.dsl.ClientNonNamespaceOperation operation, TestContext context) Description copied from class:AbstractClientCommandExecute the mixed operation- Specified by:
executein classAbstractClientCommand<io.fabric8.kubernetes.client.dsl.ClientNonNamespaceOperation,R extends io.fabric8.kubernetes.api.model.KubernetesResource, T extends KubernetesCommand<R>>
-