public class KubernetesActionBuilder.BaseActionBuilder<T extends KubernetesActionBuilder.BaseActionBuilder,R extends io.fabric8.kubernetes.api.model.KubernetesResource> extends AbstractTestActionBuilder<KubernetesExecuteAction>
| Modifier and Type | Field and Description |
|---|---|
protected KubernetesCommand<R> |
command
Kubernetes command
|
protected T |
self
Self reference for fluent API
|
action| Modifier and Type | Method and Description |
|---|---|
protected T |
command(KubernetesCommand<R> command)
Sets command.
|
T |
label(String key)
Sets the label parameter.
|
T |
label(String key,
String value)
Sets the label parameter.
|
T |
result(String result)
Adds expected command result.
|
T |
validate(CommandResultCallback<R> callback)
Adds command result callback.
|
T |
validate(String path,
Object value)
Adds JsonPath command result validation.
|
T |
withoutLabel(String key)
Sets the without label parameter.
|
T |
withoutLabel(String key,
String value)
Sets the without label parameter.
|
actor, build, description, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameprotected final KubernetesCommand<R extends io.fabric8.kubernetes.api.model.KubernetesResource> command
protected T extends KubernetesActionBuilder.BaseActionBuilder self
public T validate(String path, Object value)
path - value - public T validate(CommandResultCallback<R> callback)
callback - public T label(String key, String value)
key - value - public T withoutLabel(String key, String value)
key - value - public T withoutLabel(String key)
key - protected T command(KubernetesCommand<R> command)
command - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.